1 #Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
6 pkgver=${_mainver}.${_subver}
8 pkgdesc="AMDs XvBA sdk"
10 url="http://developer.amd.com/zones/opensource/pages/default.aspx"
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)
17 cd "${srcdir}/xvbat-${_mainver}-${_subver}"
19 patch -p1 -i ../ffmpeg-deprecated-removed-symbols.patch
22 ./configure --prefix=/usr
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')