libvpl: rename and upgrade 2023.4.0 -> 2.10.2

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Lim Siew Hoon 2024-05-07 13:13:08 +08:00 committed by Anuj Mittal
parent f77e45d588
commit 3d77cd745a
2 changed files with 10 additions and 7 deletions

View File

@ -1,14 +1,14 @@
SUMMARY = "oneAPI Video Processing Library" SUMMARY = "Intel Video Processing Library"
DESCRIPTION = "The oneAPI Video Processing Library (oneVPL) provides \ DESCRIPTION = "Intel Video Processing Library (VPL) provides \
a single video processing API for encode, decode, and video processing \ a single video processing API for encode, decode, and video processing \
that works across a wide range of accelerators." that works across a wide range of accelerators."
HOMEPAGE = "https://github.com/oneapi-src/oneVPL" HOMEPAGE = "https://github.com/intel/libvpl"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c18ea6bb4786a26bf4eee88a7424a408 \ LIC_FILES_CHKSUM = "file://LICENSE;md5=c18ea6bb4786a26bf4eee88a7424a408 \
file://third-party-programs.txt;md5=0e35a23482445dd089b4eabe19103a06" file://third-party-programs.txt;md5=0e35a23482445dd089b4eabe19103a06"
SRC_URI = "git://github.com/oneapi-src/oneVPL.git;protocol=https;branch=master \ SRC_URI = "git://github.com/intel/libvpl.git;protocol=https;branch=master \
file://0001-vpl.pc.in-dont-pass-pcfiledir-to-cflags.patch \ file://0001-vpl.pc.in-dont-pass-pcfiledir-to-cflags.patch \
" "
SRCREV = "2274efcd3672b43297ef774f332e1fed6781381c" SRCREV = "2274efcd3672b43297ef774f332e1fed6781381c"
@ -21,20 +21,23 @@ PACKAGECONFIG ??= "tools"
PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON, -DBUILD_TOOLS=OFF, wayland wayland-native wayland-protocols" PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON, -DBUILD_TOOLS=OFF, wayland wayland-native wayland-protocols"
do_install:append() { do_install:append() {
mkdir -p ${D}${datadir}/oneVPL/samples mkdir -p ${D}${datadir}/VPL/samples
mv ${D}${bindir}/sample_* ${D}${datadir}/oneVPL/samples mv ${D}${bindir}/sample_* ${D}${datadir}/VPL/samples
} }
COMPATIBLE_HOST = '(x86_64).*-linux' COMPATIBLE_HOST = '(x86_64).*-linux'
PACKAGES =+ "${PN}-examples" PACKAGES =+ "${PN}-examples"
RREPLACES:${PN} = "onevpl"
RCONFLICTS:${PN} = "onevpl"
FILES:${PN}-examples = "${datadir}/vpl \ FILES:${PN}-examples = "${datadir}/vpl \
" "
FILES_SOLIBSDEV = "" FILES_SOLIBSDEV = ""
FILES:${PN}-dev += "${libdir}/libvpl.so" FILES:${PN}-dev += "${libdir}/libvpl.so"
FILES:${PN} += " ${datadir}/oneVPL/samples \ FILES:${PN} += " ${datadir}/VPL/samples \
${libdir}/vpl/libvpl_wayland.so \ ${libdir}/vpl/libvpl_wayland.so \
" "