44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
# Template file for 'oneVPL'
|
|
pkgname=oneVPL
|
|
version=2023.3.1
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="libva-devel libX11-devel"
|
|
hostmakedepends="pkg-config"
|
|
short_desc="Intel oneAPI Video Processing Library"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/oneapi-src/oneVPL"
|
|
changelog="https://github.com/oneapi-src/oneVPL/blob/master/CHANGELOG.md"
|
|
distfiles="https://github.com/oneapi-src/oneVPL/archive/refs/tags/v$version.tar.gz"
|
|
checksum=4411543519486a2450f6f5af06a077596e7888a551768594e9dfa2a46b23b6f5
|
|
|
|
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
|
|
}
|
|
}
|