meta-intel/recipes-multimedia/vpl/libvpl_2.14.0.bb
Yogesh Tyagi fbaf7a7dbf
recipes: Update to match S/UNPACKDIR changes
Update to match the recent changes in OE-Core where the unpack layout changed.
[https://patchwork.yoctoproject.org/project/oe-core/patch/20250616095000.2918921-1-alex.kanavin@gmail.com/]

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-07-04 17:49:37 +08:00

44 lines
1.3 KiB
BlitzBasic

SUMMARY = "Intel Video Processing Library"
DESCRIPTION = "Intel Video Processing Library (VPL) provides \
a single video processing API for encode, decode, and video processing \
that works across a wide range of accelerators."
HOMEPAGE = "https://github.com/intel/libvpl"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c18ea6bb4786a26bf4eee88a7424a408 \
file://third-party-programs.txt;md5=ddf05049184e74942f45b0ca4cc69b8a"
SRC_URI = "git://github.com/intel/libvpl.git;protocol=https;branch=main \
file://0001-vpl.pc.in-dont-pass-pcfiledir-to-cflags.patch \
"
SRCREV = "025d43d086a3e663184cb49febe86152bf05409f"
inherit cmake
DEPENDS += "libva pkgconfig-native"
PACKAGECONFIG ??= "tools"
PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON, -DBUILD_TOOLS=OFF, wayland wayland-native wayland-protocols"
EXTRA_OECMAKE = "-DBUILD_EXAMPLES=ON"
do_install:append() {
mkdir -p ${D}${datadir}/VPL/samples
mv ${D}${bindir}/hello-* ${D}${datadir}/VPL/samples
}
COMPATIBLE_HOST = '(x86_64).*-linux'
PACKAGES =+ "${PN}-examples"
RREPLACES:${PN} = "onevpl"
RCONFLICTS:${PN} = "onevpl"
FILES:${PN}-examples = "${datadir}/vpl \
"
FILES_SOLIBSDEV = ""
FILES:${PN}-dev += "${libdir}/libvpl.so"
FILES:${PN} += " ${datadir}/VPL/samples \
"