summaryrefslogtreecommitdiffstats
path: root/abs/core/vdpauinfo/PKGBUILD
blob: d5d0807d9c1be5de500e2654434d836d83ca607f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Bart Verhoeven <nepherte at gmail dot com>
pkgname=vdpauinfo
pkgver=0.0.6
pkgrel=6
pkgdesc="Command line utility for querying the capabilities of a VDPAU device."
arch=('i686' 'x86_64')
url="http://cgit.freedesktop.org/~aplattner/vdpauinfo"
license=('custom')
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 

  ./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
}