summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-multimedia/mediasdk/intel-mediasdk_20.2.1.bb59
1 files changed, 0 insertions, 59 deletions
diff --git a/recipes-multimedia/mediasdk/intel-mediasdk_20.2.1.bb b/recipes-multimedia/mediasdk/intel-mediasdk_20.2.1.bb
deleted file mode 100644
index f2d6551..0000000
--- a/recipes-multimedia/mediasdk/intel-mediasdk_20.2.1.bb
+++ /dev/null
@@ -1,59 +0,0 @@
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
11CVE_DETAILS = "intel:media_sdk"
12
13# Only for 64 bit until media-driver issues aren't fixed
14COMPATIBLE_HOST = '(x86_64).*-linux'
15COMPATIBLE_HOST_x86-x32 = "null"
16
17inherit features_check
18REQUIRED_DISTRO_FEATURES = "opengl"
19
20DEPENDS += "libdrm libva intel-media-driver"
21
22PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "dri3", "", d)} \
23 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)} \
24 samples \
25 "
26
27PACKAGECONFIG[dri3] = "-DENABLE_X11_DRI3=ON, -DENABLE_X11_DRI3=OFF"
28PACKAGECONFIG[itt] = "-DENABLE_ITT=ON, -DENABLE_ITT=OFF, itt"
29PACKAGECONFIG[opencl] = "-DENABLE_OPENCL=ON, -DENABLE_OPENCL=OFF, ocl-icd opencl-clhpp opencl-headers"
30PACKAGECONFIG[samples] = "-DBUILD_SAMPLES=ON, -DBUILD_SAMPLES=OFF"
31PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native"
32
33SRC_URI = "git://github.com/Intel-Media-SDK/MediaSDK.git;protocol=https;branch=${BPN}-20.2;lfs=0 \
34 file://0001-FindOpenCL.cmake-don-t-look-for-driver-at-build-time.patch \
35 file://0001-FindITT.cmake-fix-detection-of-header-library.patch \
36 "
37SRCREV = "f7ae8497b3e58a0ef8ad4ac94256f04928c20456"
38S = "${WORKDIR}/git"
39
40UPSTREAM_CHECK_GITTAGREGEX = "^intel-mediasdk-(?P<pver>(\d+(\.\d+)+))$"
41
42inherit cmake pkgconfig
43
44EXTRA_OECMAKE += "-DMFX_INCLUDE=${S}/api/include"
45
46do_install_append() {
47 mv ${D}${datadir}/mfx/samples ${D}${libdir}/mfx/samples
48}
49
50PACKAGE_BEFORE_PN = " ${PN}-samples"
51
52FILES_${PN} += " \
53 ${libdir}/mfx \
54 ${datadir}/mfx/plugins.cfg \
55 "
56
57FILES_${PN}-samples = "${libdir}/mfx/samples"
58
59INSANE_SKIP_${PN}-samples += "staticdev"