summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-03-17 17:19:09 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-03-17 17:19:09 (GMT)
commitf3dc167e69299c96c759c86c96a8af44e05e2ff1 (patch)
tree6de46210998ae0f0cd00ad8ddba7d9986918492e /abs
parentc92b80f37680a17f20bbf2b73d16a99efa1b8aeb (diff)
downloadlinhes_pkgbuild-f3dc167e69299c96c759c86c96a8af44e05e2ff1.zip
linhes_pkgbuild-f3dc167e69299c96c759c86c96a8af44e05e2ff1.tar.gz
linhes_pkgbuild-f3dc167e69299c96c759c86c96a8af44e05e2ff1.tar.bz2
libva-intel-driver: initial inclusion. closes #992
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/libva-intel-driver/PKGBUILD35
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
+}