33 lines
994 B
Bash
33 lines
994 B
Bash
# Template file for 'intel-media-driver'
|
|
pkgname=intel-media-driver
|
|
version=22.5.3
|
|
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="Stefano Ragni <st3r4g@protonmail.com>"
|
|
license="MIT, BSD-3-Clause"
|
|
homepage="https://github.com/intel/media-driver"
|
|
distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz"
|
|
checksum=65652b365d48be3c9f0b3c561502952b92ee5fcc587520b88d0d752cf2a6a3b5
|
|
|
|
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"
|
|
}
|
|
}
|