diff options
Diffstat (limited to 'recipes-multimedia/onevpl/onevpl_2021.2.2.bb')
-rw-r--r-- | recipes-multimedia/onevpl/onevpl_2021.2.2.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-multimedia/onevpl/onevpl_2021.2.2.bb b/recipes-multimedia/onevpl/onevpl_2021.2.2.bb new file mode 100644 index 00000000..fe5599ca --- /dev/null +++ b/recipes-multimedia/onevpl/onevpl_2021.2.2.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "oneAPI Video Processing Library" | ||
2 | DESCRIPTION = "The oneAPI Video Processing Library (oneVPL) 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/oneapi-src/oneVPL" | ||
7 | LICENSE = "MIT" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c18ea6bb4786a26bf4eee88a7424a408 \ | ||
9 | file://third-party-programs.txt;md5=0a071a05786c453d52f8b3e511ed39c4" | ||
10 | |||
11 | SRC_URI = "git://github.com/oneapi-src/oneVPL.git;protocol=https \ | ||
12 | file://0001-cmake-Allow-build-env-to-set-variables.patch \ | ||
13 | " | ||
14 | SRCREV = "17968d8d2299352f5a9e09388d24e81064c81c87" | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit cmake | ||
18 | DEPENDS = "libva" | ||
19 | |||
20 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
21 | |||
22 | PACKAGES =+ "${PN}-examples" | ||
23 | |||
24 | EXTRA_OECMAKE += " \ | ||
25 | -DVPL_UTIL_PATH=${S}/examples/util \ | ||
26 | -DCMAKE_INSTALL_ENVDIR=${datadir}/vpl/env \ | ||
27 | -DCMAKE_INSTALL_MODDIR=${datadir}/vpl/modulefiles \ | ||
28 | -DCMAKE_INSTALL_EXAMPLEDIR=${datadir}/vpl/examples \ | ||
29 | -DCMAKE_INSTALL_LICENSEDIR=${datadir}/vpl/licensing \ | ||
30 | " | ||
31 | do_install_append () { | ||
32 | # delete examples source files | ||
33 | find "${D}${datadir}/vpl/examples/" -type d \! -name 'examples' \! -name 'content' -exec rm -rf {} + | ||
34 | } | ||
35 | |||
36 | |||
37 | FILES_${PN}-examples = "${bindir}/dpcpp-blur \ | ||
38 | ${bindir}/hello-* \ | ||
39 | ${datadir}/vpl/examples \ | ||
40 | " | ||
41 | FILES_${PN} += "${datadir}" | ||