# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=libva-intel-driver pkgver=2.3.0 pkgrel=0 pkgdesc="VA-API implementation for Intel GMA chipsets and Intel HD Graphics" url="https://freedesktop.org/wiki/Software/vaapi" arch="x86 x86_64" license="MIT" makedepends="libdrm-dev libva-dev wayland-dev meson" install_if="libva xf86-video-intel" source="${pkgname}-${pkgver}.tar.gz::https://github.com/intel/intel-vaapi-driver/archive/${pkgver}.tar.gz" builddir="$srcdir"/intel-vaapi-driver-$pkgver build() { cd "$builddir" meson builddir \ --prefix=/usr \ -Dwith_wayland=yes \ -Dwith_x11=yes ninja -C builddir } check() { cd "$builddir" ninja -C builddir test } package() { cd "$builddir" DESTDIR="$pkgdir" ninja -C builddir install } sha512sums="98cb6e6bdc22eefa0c7f245d3a2f1fc586d5066e9273c9031e76c30d96fc5902859119ddd4ef2ba39cd044aff57edae3a90ab2e5478c47e118132f8b2c28f1dc libva-intel-driver-2.3.0.tar.gz"