# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=libva-intel-driver pkgver=2.1.0 pkgrel=0 pkgdesc="VA-API implementation for Intel GMA chipsets and Intel HD Graphics" url="http://freedesktop.org/wiki/Software/vaapi" arch="x86 x86_64" license="MIT" depends="" makedepends="libdrm-dev libva-dev autoconf automake libtool" install="" subpackages="" install_if="libva xf86-video-intel" source="${pkgname}-${pkgver}.tar.bz2::https://github.com/01org/intel-vaapi-driver/releases/download/${pkgver}/intel-vaapi-driver-${pkgver}.tar.bz2" builddir="$srcdir"/intel-vaapi-driver-$pkgver prepare() { cd "$builddir" default_prepare # we need to regen the configure script which will unconditionally # depend on wayland scanner otherwise libtoolize --force && aclocal -I m4 && autoconf \ && automake --add-missing } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-x11 \ --disable-wayland \ --disable-static \ --enable-shared make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="44869d042248468aed7b7be7f98bb3e1042ec38a90c926d3dac0a75b2d07782007587407c44441873a1bdedeae2155d32c362700454abc7e0217c6210cc83bb8 libva-intel-driver-2.1.0.tar.bz2"