blob: 6812ccfa657e77147cef6ed243d2547828779487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
SUMMARY = "oneAPI Video Processing Library"
DESCRIPTION = "The oneAPI Video Processing Library (oneVPL) provides \
a single video processing API for encode, decode, and video processing \
that works across a wide range of accelerators."
HOMEPAGE = "https://github.com/oneapi-src/oneVPL"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c18ea6bb4786a26bf4eee88a7424a408 \
file://third-party-programs.txt;md5=0a071a05786c453d52f8b3e511ed39c4"
SRC_URI = "git://github.com/oneapi-src/oneVPL.git;protocol=https \
file://0001-cmake-Allow-build-env-to-set-variables.patch \
file://0001-Add-X11-support-to-legacy-tools.patch \
file://0001-Adding-Wayland-support-to-legacy-tools.patch \
file://0001-Update-headers-to-oneAPI-spec-v2.3-e170992.patch \
file://0001-Remove-duplicate-MFXVideoDECODE_VPP-from-samples.patch \
file://0001-Add-SMT-and-media_sdk_compatibility_headers.patch \
file://0001-Fix-NV12-input-format-in-legacy-samples.patch \
file://0001-Fix-sample_vpp-sample_encode-alignment-issue.patch \
file://0001-Fix-sample_encode-i010-input.patch \
"
SRCREV = "17968d8d2299352f5a9e09388d24e81064c81c87"
S = "${WORKDIR}/git"
inherit cmake
DEPENDS = "libva"
COMPATIBLE_HOST = '(x86_64).*-linux'
PACKAGES =+ "${PN}-examples"
EXTRA_OECMAKE += " \
-DVPL_UTIL_PATH=${S}/examples/util \
-DCMAKE_INSTALL_ENVDIR=${datadir}/vpl/env \
-DCMAKE_INSTALL_MODDIR=${datadir}/vpl/modulefiles \
-DCMAKE_INSTALL_EXAMPLEDIR=${datadir}/vpl/examples \
-DCMAKE_INSTALL_LICENSEDIR=${datadir}/vpl/licensing \
"
do_install_append () {
# delete examples source files
find "${D}${datadir}/vpl/examples/" -type d \! -name 'examples' \! -name 'content' -exec rm -rf {} +
}
FILES_${PN}-examples = "${bindir}/dpcpp-blur \
${bindir}/hello-* \
${datadir}/vpl/examples \
"
FILES_${PN} += "${datadir}"
|