mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-04 16:10:06 +00:00
1. Include libvpl_wayland.so in standard package instead of -dev package 2. Fix CMake install path of libvpl_wayland.so to $LIBDIR Signed-off-by: Yew, Chang Ching <chang.ching.yew@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
56 lines
2.2 KiB
BlitzBasic
56 lines
2.2 KiB
BlitzBasic
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 \
|
|
file://0001-Corrected-the-install-path.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_SOLIBSDEV = ""
|
|
FILES_${PN}-dev += "${libdir}/libvpl.so"
|
|
|
|
FILES_${PN} += "${datadir} \
|
|
${libdir}/libvpl_wayland.so \
|
|
"
|