summaryrefslogtreecommitdiff
path: root/community/libvdpau-va-gl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libvdpau-va-gl/PKGBUILD')
-rw-r--r--community/libvdpau-va-gl/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/libvdpau-va-gl/PKGBUILD b/community/libvdpau-va-gl/PKGBUILD
new file mode 100644
index 000000000..b5f7deb53
--- /dev/null
+++ b/community/libvdpau-va-gl/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 101594 2013-11-28 16:02:19Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: Behem0th <grantipak@gmail.com>
+
+pkgname=libvdpau-va-gl
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='VDPAU driver with OpenGL/VAAPI backend'
+arch=('i686' 'x86_64')
+url='https://github.com/i-rinat/libvdpau-va-gl'
+license=('LGPL3')
+depends=('libvdpau' 'libva' 'libgl' 'ffmpeg' 'glu')
+makedepends=('cmake')
+source=('https://github.com/i-rinat/${pkgname}/archive/v'${pkgver}'.zip')
+md5sums=('bb14c2ec9763c025b1abde96df845512')
+
+build() {
+ cd $pkgname-$pkgver
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}