summaryrefslogtreecommitdiff
path: root/extra/a52dec
diff options
context:
space:
mode:
Diffstat (limited to 'extra/a52dec')
-rw-r--r--extra/a52dec/PKGBUILD8
-rw-r--r--extra/a52dec/configure.patch18
2 files changed, 23 insertions, 3 deletions
diff --git a/extra/a52dec/PKGBUILD b/extra/a52dec/PKGBUILD
index 7d4a34153..40c9e7366 100644
--- a/extra/a52dec/PKGBUILD
+++ b/extra/a52dec/PKGBUILD
@@ -8,14 +8,16 @@ pkgver=0.7.4
pkgrel=7
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')
prepare() {
cd "${pkgname}-${pkgver}"
diff --git a/extra/a52dec/configure.patch b/extra/a52dec/configure.patch
new file mode 100644
index 000000000..6f109d824
--- /dev/null
+++ b/extra/a52dec/configure.patch
@@ -0,0 +1,18 @@
+--- configure.in 2002-07-28 05:50:20.000000000 +0200
++++ configure.ac 2013-02-20 10:38:15.263223716 +0100
+@@ -1,12 +1,12 @@
+ dnl Process this file with autoconf to produce a configure script.
+ AC_PREREQ(2.52)
+-AC_INIT
++AC_INIT([a52dec],[0.7.4])
+ AC_CONFIG_SRCDIR([src/a52dec.c])
+ AC_CONFIG_AUX_DIR(autotools)
+ AC_CONFIG_FILES([Makefile autotools/Makefile include/Makefile test/Makefile
+ doc/Makefile src/Makefile liba52/Makefile libao/Makefile vc++/Makefile])
+-AM_INIT_AUTOMAKE([a52dec],[0.7.4])
+-AM_CONFIG_HEADER(include/config.h)
++AM_INIT_AUTOMAKE
++AC_CONFIG_HEADERS(include/config.h)
+ AM_MAINTAINER_MODE
+ AC_CANONICAL_HOST
+