summaryrefslogtreecommitdiff
path: root/extra/a52dec/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/a52dec/PKGBUILD')
-rw-r--r--extra/a52dec/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/a52dec/PKGBUILD b/extra/a52dec/PKGBUILD
index 2c9483fc3..4995e372c 100644
--- a/extra/a52dec/PKGBUILD
+++ b/extra/a52dec/PKGBUILD
@@ -5,23 +5,28 @@
pkgname=a52dec
pkgver=0.7.4
-pkgrel=6
+pkgrel=6.2
pkgdesc="A free library for decoding ATSC A/52 streams"
url="http://liba52.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('glibc')
options=(!libtool)
source=("http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz"
- 'a52dec-0.7.4-build.patch')
+ 'a52dec-0.7.4-build.patch'
+ 'configure.patch')
md5sums=('caa9f5bc44232dc8aeea773fea56be80'
- 'fa16f224a7dceb7613824380abef0052')
+ 'fa16f224a7dceb7613824380abef0052'
+ 'ccaa978e70cc74b364486bd72fd38d1d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ mv configure.in configure.ac
+ patch -p0 -i "$srcdir/configure.patch"
patch -Np1 -i "${srcdir}/a52dec-0.7.4-build.patch"
./bootstrap
- ./configure --prefix=/usr --enable-shared
+ ./configure --prefix=/usr --enable-shared \
+ --build=$CHOST --host=$CHOST
make
}