summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/vdpauinfo/PKGBUILD38
-rw-r--r--abs/core/vdpauinfo/vdpauinfo.changelog5
2 files changed, 26 insertions, 17 deletions
diff --git a/abs/core/vdpauinfo/PKGBUILD b/abs/core/vdpauinfo/PKGBUILD
index 35e8419..d5d0807 100644
--- a/abs/core/vdpauinfo/PKGBUILD
+++ b/abs/core/vdpauinfo/PKGBUILD
@@ -1,24 +1,28 @@
-# Contributor: Nathan Harris
+# Maintainer: Bart Verhoeven <nepherte at gmail dot com>
pkgname=vdpauinfo
pkgver=0.0.6
-pkgrel=5
-pkgdesc="NVIDIA VDPAU capability query utility"
+pkgrel=6
+pkgdesc="Command line utility for querying the capabilities of a VDPAU device."
arch=('i686' 'x86_64')
-url="url=http://cgit.freedesktop.org/~aplattner/vdpauinfo"
+url="http://cgit.freedesktop.org/~aplattner/vdpauinfo"
license=('custom')
-depends=('libvdpau' 'xorg-server')
-makedepends=('gcc' 'autoconf' 'make')
-optdepends=(nvidia-utils)
-install=()
-source=(http://cgit.freedesktop.org/~aplattner/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz)
-#md5sums=('d5aff9786b44ac5c70b5dd6faea37a67')
+changelog=$pkgname.changelog
+depends=('libvdpau' 'libxfixes')
+source=('http://cgit.freedesktop.org/~aplattner/vdpauinfo/snapshot/vdpauinfo-0.0.6.tar.bz2')
+sha256sums=('9a81a13780cbf668ac7d6d6449a4f12857891775cc945ffa9ff27f8ffd102b25')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- autoreconf -i || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -D -m644 $srcdir/$pkgname-$pkgver/LICENSE $pkgdir/usr/share/licenses/$pkgname/license || return 1
+ cd $srcdir/$pkgname-$pkgver
+
+ autoreconf -i
+
+ ./configure --prefix=/usr VDPAU_CFLAGS=-I/usr/include \
+ VDPAU_LIBS=-lvdpau LIBS=-lX11
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -D -m644 $srcdir/$pkgname-$pkgver/LICENSE $pkgdir/usr/share/licenses/$pkgname/license
}
-md5sums=('9f9d387ab981b7a7e4460c70e7bab402')
diff --git a/abs/core/vdpauinfo/vdpauinfo.changelog b/abs/core/vdpauinfo/vdpauinfo.changelog
new file mode 100644
index 0000000..804c565
--- /dev/null
+++ b/abs/core/vdpauinfo/vdpauinfo.changelog
@@ -0,0 +1,5 @@
+vdpauinfo 0.0.6-6:
+- Fix compilation (include libxfixes)
+- split into build() and package()
+-
+