New package: intel-media-driver-19.3.1

This commit is contained in:
Stefano Ragni 2019-12-10 16:03:36 +01:00
parent d9d9ef77b1
commit 5821e31bd0
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1 @@
intel-media-driver

View File

@ -0,0 +1,35 @@
# Template file for 'intel-media-driver'
pkgname=intel-media-driver
version=19.3.1
revision=1
archs="i686* x86_64*"
wrksrc=media-driver-intel-media-${version}
build_style=cmake
configure_args="-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=637471705567cc20d88aab0fdb552f62c9b3c530512765436642a1ec9f36134c
lib32disabled=yes
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"
}
}