diff options
Diffstat (limited to 'recipes-multimedia/vpl/libvpl_2.14.0.bb')
-rw-r--r-- | recipes-multimedia/vpl/libvpl_2.14.0.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-multimedia/vpl/libvpl_2.14.0.bb b/recipes-multimedia/vpl/libvpl_2.14.0.bb new file mode 100644 index 00000000..3c35a892 --- /dev/null +++ b/recipes-multimedia/vpl/libvpl_2.14.0.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | SUMMARY = "Intel Video Processing Library" | ||
2 | DESCRIPTION = "Intel Video Processing Library (VPL) provides \ | ||
3 | a single video processing API for encode, decode, and video processing \ | ||
4 | that works across a wide range of accelerators." | ||
5 | |||
6 | HOMEPAGE = "https://github.com/intel/libvpl" | ||
7 | LICENSE = "MIT" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c18ea6bb4786a26bf4eee88a7424a408 \ | ||
9 | file://third-party-programs.txt;md5=ddf05049184e74942f45b0ca4cc69b8a" | ||
10 | |||
11 | SRC_URI = "git://github.com/intel/libvpl.git;protocol=https;branch=main \ | ||
12 | file://0001-vpl.pc.in-dont-pass-pcfiledir-to-cflags.patch \ | ||
13 | " | ||
14 | SRCREV = "025d43d086a3e663184cb49febe86152bf05409f" | ||
15 | |||
16 | inherit cmake | ||
17 | DEPENDS += "libva pkgconfig-native" | ||
18 | |||
19 | PACKAGECONFIG ??= "tools" | ||
20 | PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON, -DBUILD_TOOLS=OFF, wayland wayland-native wayland-protocols" | ||
21 | |||
22 | EXTRA_OECMAKE = "-DBUILD_EXAMPLES=ON" | ||
23 | |||
24 | do_install:append() { | ||
25 | mkdir -p ${D}${datadir}/VPL/samples | ||
26 | mv ${D}${bindir}/hello-* ${D}${datadir}/VPL/samples | ||
27 | } | ||
28 | |||
29 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
30 | |||
31 | PACKAGES =+ "${PN}-examples" | ||
32 | |||
33 | RREPLACES:${PN} = "onevpl" | ||
34 | RCONFLICTS:${PN} = "onevpl" | ||
35 | |||
36 | FILES:${PN}-examples = "${datadir}/vpl \ | ||
37 | " | ||
38 | |||
39 | FILES_SOLIBSDEV = "" | ||
40 | FILES:${PN}-dev += "${libdir}/libvpl.so" | ||
41 | |||
42 | FILES:${PN} += " ${datadir}/VPL/samples \ | ||
43 | " | ||