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

27 lines
896 B
Bash

# Template file for 'libva-intel-driver'
pkgname=libva-intel-driver
version=2.4.1
revision=1
archs="i686* x86_64*"
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=03cd7e16acc94f828b6e7f3087863d8ca06e99ffa3385588005b1984bdd56157
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
}