diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/libva-intel-driver/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/libva-intel-driver/PKGBUILD b/abs/extra/libva-intel-driver/PKGBUILD new file mode 100644 index 0000000..3e6e18a --- /dev/null +++ b/abs/extra/libva-intel-driver/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> + +pkgname=libva-intel-driver +pkgver=1.5.0 +pkgrel=1 +pkgdesc='VA-API implementation for Intel G45 and HD Graphics family' +arch=('i686' 'x86_64') +url='http://freedesktop.org/wiki/Software/vaapi' +license=('MIT') +depends=('libva') +replaces=('libva-driver-intel') +source=(http://freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('16752f1584398265072129553b7907ce') + +prepare() { + cd $pkgname-$pkgver + + # Only relevant if intel-gpu-tools is installed, + # since then the shaders will be recompiled + sed -i '1s/python$/&2/' src/shaders/gpp.py +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} |