void-packages/srcpkgs/libva-intel-driver/template

28 lines
935 B
Bash

# Template file for 'libva-intel-driver'
pkgname=libva-intel-driver
version=2.3.0
revision=2
wrksrc="intel-vaapi-driver-${version}"
build_style=meson
configure_args="-Dwith_wayland=yes -Dwith_x11=yes"
hostmakedepends="pkg-config"
makedepends="libX11-devel libva-glx-devel libdrm-devel wayland-devel MesaLib-devel"
short_desc="Video Acceleration (VA) API - Intel Graphics backend"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://01.org/linuxmedia"
changelog="https://raw.githubusercontent.com/intel/intel-vaapi-driver/master/NEWS"
distfiles="https://github.com/intel/intel-vaapi-driver/archive/${version}.tar.gz"
checksum=fcc3f09291e58fd316fd015d4e1329e7e03c38cffa4651bda725d500a66aa74e
archs="i686* x86_64*"
pre_configure() {
# Only relevant if intel-gpu-tools is installed,
# since then the shaders will be recompiled
sed -i '1s/python$/&2/' src/shaders/gpp.py
}
post_install() {
vlicense COPYING
}