summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/faad2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/faad2/PKGBUILD')
-rw-r--r--abs/core-testing/faad2/PKGBUILD41
1 files changed, 11 insertions, 30 deletions
diff --git a/abs/core-testing/faad2/PKGBUILD b/abs/core-testing/faad2/PKGBUILD
index 227cc3b..729d69b 100644
--- a/abs/core-testing/faad2/PKGBUILD
+++ b/abs/core-testing/faad2/PKGBUILD
@@ -1,45 +1,26 @@
-# $Id: PKGBUILD 5668 2008-07-20 05:06:05Z eric $
+# $Id: PKGBUILD 27494 2009-02-22 04:26:47Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
pkgname=faad2
-pkgver=2.6.1
+pkgver=2.7
pkgrel=1
pkgdesc="ISO AAC audio decoder"
arch=('i686' 'x86_64')
url="http://www.audiocoding.com/"
license=('custom:GPL')
depends=('glibc')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.gz
- faad2-2.6.1-libtool22.patch
- faad2-2.6.1-broken-pipe.patch
- faad2-2.6.1-implicitdeclar.patch
- faad2-2.6.1-abi_has_changed.patch
- LICENSE)
-md5sums=('74e92df40c270f216a8305fc87603c8a' 'ca9515b6617d7fd060d0d172616eb192'\
- 'bb6a345dd2e6c4df6609e6a374134066' 'bc43fd3f8cd582a8bc092b9b5e611865'\
- '06e83633c609d20436794b62a382b3dc' 'b6a1c72534807b8a038b71e784f57e32')
-sha1sums=('b4ad33d3c4dfa6dbf3011a3da34c631926cabfad'
- 'ca4ee04aa1757b8f9deeef52b5bf35dc823da844'
- '0b03728f40d00e552f738900e2f6215177af5417'
- 'd4ab5d38c9b75ed6417529c4d1a7ca204293c224'
- 'f7e9d89fc551e0b61a7b7555749ed7a3129a4ce8'
- '6225fd997671206f5222c4a86d9e092359552c43')
+options=('!libtool' '!makeflags')
+source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.bz2 LICENSE)
+md5sums=('4c332fa23febc0e4648064685a3d4332' 'ec95f38142e14fb46c849503897a37a0')
+sha1sums=('b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5' '00edd9b30d8d5098b5e91c03c595d96a3bbe56fd')
build() {
- cd ${srcdir}/${pkgname}
- patch -p1 < ../faad2-2.6.1-libtool22.patch || return 1
- patch -p1 < ../faad2-2.6.1-broken-pipe.patch || return 1
- patch -p1 < ../faad2-2.6.1-implicitdeclar.patch || return 1
- patch -p1 < ../faad2-2.6.1-abi_has_changed.patch || return 1
-
- autoreconf -vif || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- install -m644 ${srcdir}/${pkgname}/common/mp4ff/mp4ff.h ${pkgdir}/usr/include/ || return 1
- install -m644 ${srcdir}/${pkgname}/common/mp4ff/mp4ff_int_types.h ${pkgdir}/usr/include/ || return 1
- install -m644 ${srcdir}/${pkgname}/common/mp4ff/.libs/*.a ${pkgdir}/usr/lib/ || return 1
+ make CFLAGS="${CFLAGS} -fPIC" || return 1
+ make DESTDIR=${pkgdir} manmdir=/usr/share/man/man1 install || return 1
+ install -m644 common/mp4ff/mp4ff_int_types.h ${pkgdir}/usr/include/mp4ff_int_types.h || return 1
install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
+ mv ${pkgdir}/usr/share/man/man1/faad.man ${pkgdir}/usr/share/man/man1/faad.1
}