summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2018-11-15 05:53:11 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2018-11-28 03:29:39 (GMT)
commit901a714e52e47d60c78044423243d33abd692ad1 (patch)
tree14a351d38a087e315bf6701842ac9630a9775787
parentb90dc177252a8d63ae47567f49452486b49bdca5 (diff)
downloadmeta-intel-901a714e52e47d60c78044423243d33abd692ad1.tar.gz
intel-mediasdk: add recipe
Intel(R) Media SDK provides an API to access hardware-accelerated video decode, encode and filtering on IntelĀ® platforms with integrated graphics. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--conf/include/maintainers.inc1
-rw-r--r--recipes-multimedia/mediasdk/intel-mediasdk_18.3.1.bb36
2 files changed, 37 insertions, 0 deletions
diff --git a/conf/include/maintainers.inc b/conf/include/maintainers.inc
index 55df19d..d501d5f 100644
--- a/conf/include/maintainers.inc
+++ b/conf/include/maintainers.inc
@@ -6,6 +6,7 @@ RECIPE_MAINTAINER_pn-gma500-gfx-check = "Anuj Mittal <anuj.mittal@intel.com>"
6RECIPE_MAINTAINER_pn-gmmlib = "Anuj Mittal <anuj.mittal@intel.com>" 6RECIPE_MAINTAINER_pn-gmmlib = "Anuj Mittal <anuj.mittal@intel.com>"
7RECIPE_MAINTAINER_pn-intel-gpu-tools = "Anuj Mittal <anuj.mittal@intel.com>" 7RECIPE_MAINTAINER_pn-intel-gpu-tools = "Anuj Mittal <anuj.mittal@intel.com>"
8RECIPE_MAINTAINER_pn-intel-media-driver = "Anuj Mittal <anuj.mittal@intel.com>" 8RECIPE_MAINTAINER_pn-intel-media-driver = "Anuj Mittal <anuj.mittal@intel.com>"
9RECIPE_MAINTAINER_pn-intel-mediasdk = "Anuj Mittal <anuj.mittal@intel.com>"
9RECIPE_MAINTAINER_pn-intel-microcode = "Anuj Mittal <anuj.mittal@intel.com>" 10RECIPE_MAINTAINER_pn-intel-microcode = "Anuj Mittal <anuj.mittal@intel.com>"
10RECIPE_MAINTAINER_pn-core-image-minimal-initramfs = "Anuj Mittal <anuj.mittal@intel.com>" 11RECIPE_MAINTAINER_pn-core-image-minimal-initramfs = "Anuj Mittal <anuj.mittal@intel.com>"
11RECIPE_MAINTAINER_pn-iucode-tool = "Anuj Mittal <anuj.mittal@intel.com>" 12RECIPE_MAINTAINER_pn-iucode-tool = "Anuj Mittal <anuj.mittal@intel.com>"
diff --git a/recipes-multimedia/mediasdk/intel-mediasdk_18.3.1.bb b/recipes-multimedia/mediasdk/intel-mediasdk_18.3.1.bb
new file mode 100644
index 0000000..fe57b64
--- /dev/null
+++ b/recipes-multimedia/mediasdk/intel-mediasdk_18.3.1.bb
@@ -0,0 +1,36 @@
1SUMMARY = "Intel(R) Media SDK for hardware accelerated media processing"
2DESCRIPTION = "Intel(R) Media SDK provides an API to access hardware-accelerated \
3video decode, encode and filtering on IntelĀ® platforms with integrated graphics."
4
5HOMEPAGE = "https://github.com/Intel-Media-SDK/MediaSDK"
6BUGTRACKER = "https://github.com/Intel-Media-SDK/MediaSDK/issues"
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=3cb331af679cd8f968bf799a9c55b46e"
10
11# Only for 64 bit until media-driver issues aren't fixed
12COMPATIBLE_HOST = '(x86_64).*-linux'
13
14DEPENDS += "libdrm libva intel-media-driver"
15
16PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "dri3", "", d)} \
17 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)}"
18
19PACKAGECONFIG[dri3] = "-DENABLE_X11_DRI3=ON, -DENABLE_X11_DRI3=OFF"
20PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native"
21
22SRC_URI = " \
23 git://github.com/Intel-Media-SDK/MediaSDK.git;protocol=https;branch=${BPN}-18.3 \
24 "
25
26SRCREV = "2e946771649c47525fcbbea057e2a2c1072e173e"
27S = "${WORKDIR}/git"
28
29inherit cmake pkgconfig
30
31EXTRA_OECMAKE += "-DMFX_INCLUDE=${S}/api/include -DBUILD_SAMPLES=OFF"
32
33FILES_${PN} += " \
34 ${libdir}/mfx \
35 ${datadir}/mfx/plugins.cfg \
36 "