diff options
author | Lim Siew Hoon <siew.hoon.lim@intel.com> | 2020-10-06 14:57:13 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-10-07 23:13:57 +0800 |
commit | b9c01736e77443352f876c584808de3093d4a3f3 (patch) | |
tree | 22f94f91860b6a82dab596a18c24348a0b0cb937 /recipes-multimedia/mediasdk | |
parent | def5c495ea4f55769a548971c36a2b2686edbe8a (diff) | |
download | meta-intel-b9c01736e77443352f876c584808de3093d4a3f3.tar.gz |
intel-mediasdk: upgrade 20.2.1 -> 20.3.0
Release notes:
https://github.com/Intel-Media-SDK/MediaSDK/releases/tag/intel-mediasdk-20.3.0
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-multimedia/mediasdk')
-rw-r--r-- | recipes-multimedia/mediasdk/intel-mediasdk_20.3.0.bb | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/recipes-multimedia/mediasdk/intel-mediasdk_20.3.0.bb b/recipes-multimedia/mediasdk/intel-mediasdk_20.3.0.bb new file mode 100644 index 00000000..62cc2a5c --- /dev/null +++ b/recipes-multimedia/mediasdk/intel-mediasdk_20.3.0.bb | |||
@@ -0,0 +1,60 @@ | |||
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 features_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 | samples \ | ||
25 | itt \ | ||
26 | " | ||
27 | |||
28 | PACKAGECONFIG[dri3] = "-DENABLE_X11_DRI3=ON, -DENABLE_X11_DRI3=OFF" | ||
29 | PACKAGECONFIG[itt] = "-DENABLE_ITT=ON, -DENABLE_ITT=OFF, itt" | ||
30 | PACKAGECONFIG[opencl] = "-DENABLE_OPENCL=ON, -DENABLE_OPENCL=OFF, ocl-icd opencl-clhpp opencl-headers" | ||
31 | PACKAGECONFIG[samples] = "-DBUILD_SAMPLES=ON, -DBUILD_SAMPLES=OFF" | ||
32 | PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native" | ||
33 | |||
34 | SRC_URI = "git://github.com/Intel-Media-SDK/MediaSDK.git;protocol=https;branch=${BPN}-20.3;lfs=0 \ | ||
35 | file://0001-FindOpenCL.cmake-don-t-look-for-driver-at-build-time.patch \ | ||
36 | file://0001-FindITT.cmake-fix-detection-of-header-library.patch \ | ||
37 | " | ||
38 | SRCREV = "34c7cbbb3775bd547a16ea37576297b290b603a4" | ||
39 | S = "${WORKDIR}/git" | ||
40 | |||
41 | UPSTREAM_CHECK_GITTAGREGEX = "^intel-mediasdk-(?P<pver>(\d+(\.\d+)+))$" | ||
42 | |||
43 | inherit cmake pkgconfig | ||
44 | |||
45 | EXTRA_OECMAKE += "-DMFX_INCLUDE=${S}/api/include" | ||
46 | |||
47 | do_install_append() { | ||
48 | mv ${D}${datadir}/mfx/samples ${D}${libdir}/mfx/samples | ||
49 | } | ||
50 | |||
51 | PACKAGE_BEFORE_PN = " ${PN}-samples" | ||
52 | |||
53 | FILES_${PN} += " \ | ||
54 | ${libdir}/mfx \ | ||
55 | ${datadir}/mfx/plugins.cfg \ | ||
56 | " | ||
57 | |||
58 | FILES_${PN}-samples = "${libdir}/mfx/samples" | ||
59 | |||
60 | INSANE_SKIP_${PN}-samples += "staticdev" | ||