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

27 lines
931 B
Bash

# Template file for 'libva-intel-driver'
pkgname=libva-intel-driver
version=2.4.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="Juan RP <xtraeme@gmail.com>"
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=58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76
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
}