diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-01 23:28:19 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-01 23:28:19 (GMT) |
commit | a0688f55ca6dfa1b941a0f57072fd749a7be6662 (patch) | |
tree | c2d5bca79a2f5476a57baaf6cfc1c39dd0382c9f /abs/core/vdpauinfo/PKGBUILD | |
parent | 49502ff1230226c4c2ff5ba318b4fff066515623 (diff) | |
download | linhes_pkgbuild-a0688f55ca6dfa1b941a0f57072fd749a7be6662.zip linhes_pkgbuild-a0688f55ca6dfa1b941a0f57072fd749a7be6662.tar.gz linhes_pkgbuild-a0688f55ca6dfa1b941a0f57072fd749a7be6662.tar.bz2 |
vdpauinfo: upgrade to latest
Diffstat (limited to 'abs/core/vdpauinfo/PKGBUILD')
-rw-r--r-- | abs/core/vdpauinfo/PKGBUILD | 38 |
1 files changed, 21 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') |