diff options
Diffstat (limited to 'recipes-multimedia/mediasdk/intel-mediasdk_20.1.1.bb')
-rw-r--r-- | recipes-multimedia/mediasdk/intel-mediasdk_20.1.1.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-multimedia/mediasdk/intel-mediasdk_20.1.1.bb b/recipes-multimedia/mediasdk/intel-mediasdk_20.1.1.bb new file mode 100644 index 00000000..106f6ea9 --- /dev/null +++ b/recipes-multimedia/mediasdk/intel-mediasdk_20.1.1.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "Intel(R) Media SDK for hardware accelerated media processing" | ||
2 | DESCRIPTION = "Intel(R) Media SDK provides an API to access hardware-accelerated \ | ||
3 | video decode, encode and filtering on IntelĀ® platforms with integrated graphics." | ||
4 | |||
5 | HOMEPAGE = "https://github.com/Intel-Media-SDK/MediaSDK" | ||
6 | BUGTRACKER = "https://github.com/Intel-Media-SDK/MediaSDK/issues" | ||
7 | |||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3cb331af679cd8f968bf799a9c55b46e" | ||
10 | |||
11 | CVE_DETAILS = "intel:media_sdk" | ||
12 | |||
13 | # Only for 64 bit until media-driver issues aren't fixed | ||
14 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
15 | COMPATIBLE_HOST_x86-x32 = "null" | ||
16 | |||
17 | inherit ${COMPAT_DISTRO_FEATURE_CHECK} | ||
18 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
19 | |||
20 | DEPENDS += "libdrm libva intel-media-driver" | ||
21 | |||
22 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "dri3", "", d)} \ | ||
23 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)}" | ||
24 | |||
25 | PACKAGECONFIG[dri3] = "-DENABLE_X11_DRI3=ON, -DENABLE_X11_DRI3=OFF" | ||
26 | PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native" | ||
27 | |||
28 | SRC_URI = "git://github.com/Intel-Media-SDK/MediaSDK.git;protocol=https;branch=${BPN}-20.1;lfs=0" | ||
29 | SRCREV = "abb56fafd3669cbcb47730ad2906703db1a7d706" | ||
30 | S = "${WORKDIR}/git" | ||
31 | |||
32 | UPSTREAM_CHECK_GITTAGREGEX = "^intel-mediasdk-(?P<pver>(\d+(\.\d+)+))$" | ||
33 | |||
34 | inherit cmake pkgconfig | ||
35 | |||
36 | EXTRA_OECMAKE += "-DMFX_INCLUDE=${S}/api/include -DBUILD_SAMPLES=OFF" | ||
37 | |||
38 | FILES_${PN} += " \ | ||
39 | ${libdir}/mfx \ | ||
40 | ${datadir}/mfx/plugins.cfg \ | ||
41 | " | ||