1 # Maintainer: trya <tryagainprod@gmail.com>
6 pkgdesc="VA API library, providing an interface for hardware video decoding and encoding"
9 url="http://www.freedesktop.org/wiki/Software/vaapi"
10 makedepends=('git' 'mesa')
11 depends=('libdrm' 'libgl' 'libxfixes')
12 optdepends=('vdpau-video: vdpau back-end for nvidia'
13 'libva-driver-intel: back-end for intel cards')
14 provides=('libva=1.0.15')
15 conflicts=('libva' 'libva-sds')
20 _gitroot="git://anongit.freedesktop.org/vaapi/libva"
26 msg "Connecting to git.freedesktop.org GIT server..."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
38 rm -rf $_gitname-build
39 cp -r $_gitname $_gitname-build
43 ./configure --prefix=/usr
48 cd "$srcdir/$_gitname-build"
49 make DESTDIR="$pkgdir" install
50 install -m644 -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"