From f3dc167e69299c96c759c86c96a8af44e05e2ff1 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 17 Mar 2015 17:19:09 +0000 Subject: libva-intel-driver: initial inclusion. closes #992 --- abs/extra/libva-intel-driver/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 abs/extra/libva-intel-driver/PKGBUILD 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 +# Maintainer: Bartłomiej Piotrowski + +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 +} -- cgit v0.12