summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/mediasdk/intel-mediasdk_19.2.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/mediasdk/intel-mediasdk_19.2.1.bb')
-rw-r--r--recipes-multimedia/mediasdk/intel-mediasdk_19.2.1.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-multimedia/mediasdk/intel-mediasdk_19.2.1.bb b/recipes-multimedia/mediasdk/intel-mediasdk_19.2.1.bb
new file mode 100644
index 0000000..c83bcd6
--- /dev/null
+++ b/recipes-multimedia/mediasdk/intel-mediasdk_19.2.1.bb
@@ -0,0 +1,42 @@
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'
13COMPATIBLE_HOST_x86-x32 = "null"
14
15inherit distro_features_check
16REQUIRED_DISTRO_FEATURES = "opengl"
17
18DEPENDS += "libdrm libva intel-media-driver"
19
20PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "dri3", "", d)} \
21 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)}"
22
23PACKAGECONFIG[dri3] = "-DENABLE_X11_DRI3=ON, -DENABLE_X11_DRI3=OFF"
24PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native"
25
26SRC_URI = " \
27 git://github.com/Intel-Media-SDK/MediaSDK.git;protocol=https;branch=${BPN}-19.2 \
28 "
29
30SRCREV = "885c309f57a7a1cbc60edee6b0d014a36da94562"
31S = "${WORKDIR}/git"
32
33UPSTREAM_CHECK_GITTAGREGEX = "^intel-mediasdk-(?P<pver>(\d+(\.\d+)+))$"
34
35inherit cmake pkgconfig
36
37EXTRA_OECMAKE += "-DMFX_INCLUDE=${S}/api/include -DBUILD_SAMPLES=OFF"
38
39FILES_${PN} += " \
40 ${libdir}/mfx \
41 ${datadir}/mfx/plugins.cfg \
42 "