# Template file for 'vpl-gpu-rt'
pkgname=vpl-gpu-rt
version=26.3.1
revision=1
archs="x86_64*"
build_style=cmake
configure_args="-Wno-dev -DCMAKE_BUILD_TYPE=Release"
hostmakedepends="cmake pkg-config"
makedepends="libdrm-devel libva-devel libvpl-devel"
short_desc="Runtime implementation of libvpl API for Intel GPUs"
maintainer="zlice <zlice555@gmail.com>"
license="MIT"
homepage="https://github.com/intel/vpl-gpu-rt/"
changelog="https://github.com/intel/vpl-gpu-rt/blob/main/CHANGELOG.md"
distfiles="https://github.com/intel/vpl-gpu-rt/archive/refs/tags/intel-onevpl-${version}.tar.gz"
checksum=56f4494b5cd408ec245aee6107c3bb93565218c24fe466940d1d1a89c4045053

post_install() {
	vlicense LICENSE
}

vpl-gpu-rt-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
