updated on Tue Jan 10 16:09:17 UTC 2012
[aur-mirror.git] / xvbat / PKGBUILD
blob05f13ee78b3495e827b9538c55c7463d9e9f14a5
1 #Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
3 pkgname=xvbat
4 _mainver=0.9
5 _subver=404001
6 pkgver=${_mainver}.${_subver}
7 pkgrel=1
8 pkgdesc="AMDs XvBA sdk"
9 arch=('i686' 'x86_64')
10 url="http://developer.amd.com/zones/opensource/pages/default.aspx"
11 license=('custom')
12 depends=('gtk2' 'ffmpeg' 'catalyst-utils' 'framewave' 'libxvmc' 'mesa')
13 source=(http://sourceforge.net/projects/xvbat/files/xvbat-${_mainver}-${_subver}.tar.gz
14         ffmpeg-deprecated-removed-symbols.patch)
16 build() {
17   cd "${srcdir}/xvbat-${_mainver}-${_subver}"
19   patch -p1 -i ../ffmpeg-deprecated-removed-symbols.patch
21   LDFLAGS=""
22   ./configure --prefix=/usr
23   make
26 package() {
27   cd "${srcdir}/xvbat-${_mainver}-${_subver}"
29   mkdir -p                              "${pkgdir}"/usr/{bin,lib,share/licenses/xvbat}
31   cp -r *.so*                           "${pkgdir}/usr/lib/"
32   cp -r include                         "${pkgdir}/usr/"
33   cp -r xvba{info,play,trace.sh}        "${pkgdir}/usr/bin/"
34   cp -r LICENSE                         "${pkgdir}/usr/share/licenses/xvbat/"
36 md5sums=('9f928900b3f5ee2d7eb9ae33e09b9ca7'
37          '6447142ba7964b38c3585910dcca8ac2')