oneVPL: add devel subpackage, fix cross
This commit is contained in:
parent
d73b0d6547
commit
c0c487b557
|
@ -0,0 +1 @@
|
|||
oneVPL
|
|
@ -0,0 +1,12 @@
|
|||
--- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
|
||||
+++ - 2023-11-14 10:16:46.665168740 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
-prefix=@pc_rel_prefix@
|
||||
-libdir=@pc_rel_libdir@
|
||||
-includedir=@pc_rel_incdir@
|
||||
+prefix=@CMAKE_INSTALL_PREFIX@
|
||||
+libdir=${prefix}/lib
|
||||
+includedir=${prefix}/include
|
||||
|
||||
# oneAPI Video Processing Library (oneVPL)
|
||||
Name: oneVPL
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'oneVPL'
|
||||
pkgname=oneVPL
|
||||
version=2023.3.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
hostmakedepends="libva-devel libX11-devel"
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -17,10 +17,27 @@ post_install() {
|
|||
vlicense LICENSE
|
||||
}
|
||||
|
||||
oneVPL-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove etc/vpl/vars.sh
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/cmake
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
oneVPL-examples_package() {
|
||||
short_desc+=" - examples"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/sample_decode
|
||||
vmove usr/bin/sample_encode
|
||||
vmove usr/bin/sample_multi_transcode
|
||||
vmove usr/bin/sample_vpp
|
||||
vmove usr/bin/vpl-inspect
|
||||
vmove usr/share/vpl/examples
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue