aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-31 11:46:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-31 16:02:15 +0000
commit55052c8cf676da8e68d11f0d8a82a5adcc2ddd4d (patch)
treea4d1e957fefe1d04550a396a318706225bfc577e
parent3f044c2fce409f125cb7cdb65eb883c06e1ee48f (diff)
downloadaports-55052c8cf676da8e68d11f0d8a82a5adcc2ddd4d.tar.bz2
aports-55052c8cf676da8e68d11f0d8a82a5adcc2ddd4d.tar.xz
main/faac: build fix for automake-1.13
-rw-r--r--main/faac/APKBUILD13
-rw-r--r--main/faac/automake.patch11
2 files changed, 21 insertions, 3 deletions
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD
index 11dc6ab21e..d33097469e 100644
--- a/main/faac/APKBUILD
+++ b/main/faac/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=faac
pkgver=1.28
-pkgrel=7
+pkgrel=8
pkgdesc="FAAC is an AAC audio encoder."
url="http://www.audiocoding.com/"
arch="all"
@@ -10,10 +10,16 @@ subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="autoconf automake libtool"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+ automake.patch
"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
#taken from http://bugs.sourcemage.org/show_bug.cgi?id=15263
if [ "$ALPINE_LIBC" = "eglibc" ]; then
sed -i \
@@ -24,7 +30,7 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./bootstrap
+ ./bootstrap || return 1
./configure --prefix=/usr
make || return 1
}
@@ -36,4 +42,5 @@ package() {
install -D -m644 "$srcdir"/$pkgname-$pkgver/libfaac/kiss_fft/COPYING \
"$pkgdir"/usr/share/licenses/faac/COPYING.kiss_fft
}
-md5sums="80763728d392c7d789cde25614c878f6 faac-1.28.tar.gz"
+md5sums="80763728d392c7d789cde25614c878f6 faac-1.28.tar.gz
+5a52db11e04cce0a7a32bc8565a7aa60 automake.patch"
diff --git a/main/faac/automake.patch b/main/faac/automake.patch
new file mode 100644
index 0000000000..7aa026b6fa
--- /dev/null
+++ b/main/faac/automake.patch
@@ -0,0 +1,11 @@
+--- ./configure.in.orig 2012-12-31 11:43:05.395168229 +0000
++++ ./configure.in 2012-12-31 11:43:20.171958905 +0000
+@@ -3,7 +3,7 @@
+ AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE
+
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADER(config.h)
+
+ AC_ARG_WITH( mp4v2, [ --with-mp4v2 compile libmp4v2],WITHMP4V2=$withval, WITHMP4V2=yes)
+ AC_ARG_ENABLE( drm, [ --enable-drm Digital Radio Mondiale support], enable_drm=$enableval, enable_drm=no)