34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# Template file for 'intel-media-driver'
|
|
pkgname=intel-media-driver
|
|
version=24.3.4
|
|
revision=1
|
|
archs="x86_64*"
|
|
build_style=cmake
|
|
configure_args="-Wno-dev -DENABLE_NONFREE_KERNELS=$(vopt_if nonfree ON OFF)"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libva-devel libX11-devel intel-gmmlib-devel libpciaccess-devel"
|
|
short_desc="Intel Media Driver for VAAPI (Broadwell+)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT, BSD-3-Clause"
|
|
homepage="https://github.com/intel/media-driver"
|
|
changelog="https://github.com/intel/media-driver/releases"
|
|
distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz"
|
|
checksum=58978f9ee4981532e60be2f2768673b1f3825db09971ebb98fbd7e8819cab6eb
|
|
|
|
build_options="nonfree"
|
|
desc_option_nonfree="Enable nonfree kernels"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
}
|
|
|
|
intel-media-driver-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|