summaryrefslogtreecommitdiff
path: root/testing/libva/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libva/PKGBUILD')
-rw-r--r--testing/libva/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/libva/PKGBUILD b/testing/libva/PKGBUILD
new file mode 100644
index 000000000..0e9740e73
--- /dev/null
+++ b/testing/libva/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 160974 2012-06-07 19:25:27Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+
+pkgname=libva
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Video Acceleration (VA) API for Linux"
+arch=('i686' 'x86_64')
+url="http://freedesktop.org/wiki/Software/vaapi"
+license=('MIT')
+depends=('libegl' 'libgl' 'libdrm' 'libxfixes')
+makedepends=('mesa')
+optdepends=('vdpau-video: vdpau back-end for nvidia'
+ 'libva-driver-intel: back-end for intel cards')
+options=('!libtool')
+install=libva.install
+source=(http://cgit.freedesktop.org/libva/snapshot/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('b22179bd44137e91d5c77a43a0cb8063')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -m644 -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et: