summaryrefslogtreecommitdiffstats
path: root/abs/core/faac/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:37:24 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:37:24 (GMT)
commit17348889bcc3220c44374a7d8bb49916a0c11ab2 (patch)
treef00a58040b3cd994ac589b68f6f75906a22abf2f /abs/core/faac/PKGBUILD
parentaba5da82a8602c523e2dd2cfac177321361861e2 (diff)
downloadlinhes_pkgbuild-17348889bcc3220c44374a7d8bb49916a0c11ab2.zip
linhes_pkgbuild-17348889bcc3220c44374a7d8bb49916a0c11ab2.tar.gz
linhes_pkgbuild-17348889bcc3220c44374a7d8bb49916a0c11ab2.tar.bz2
faac: upgrade
Diffstat (limited to 'abs/core/faac/PKGBUILD')
-rw-r--r--abs/core/faac/PKGBUILD34
1 files changed, 21 insertions, 13 deletions
diff --git a/abs/core/faac/PKGBUILD b/abs/core/faac/PKGBUILD
index 3d7ce11..7b6b3a7 100644
--- a/abs/core/faac/PKGBUILD
+++ b/abs/core/faac/PKGBUILD
@@ -1,28 +1,36 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+# $Id: PKGBUILD 71335 2010-03-06 18:43:34Z andrea $
+# Maintainer: Hugo Doria <hugo@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
+
pkgname=faac
-pkgver=1.26
-pkgrel=1
-pkgdesc="FAAC is an AAC audio encoder."
-arch=(i686 x86_64)
+pkgver=1.28
+pkgrel=2
+pkgdesc="FAAC is an AAC audio encoder"
+arch=('i686' 'x86_64')
url="http://www.audiocoding.com/"
license=('GPL' 'custom')
-depends=('libmp4v2' 'glibc')
+depends=('libmp4v2>=1.9.1' 'glibc')
makedepends=('automake' 'autoconf' 'libtool')
options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'mp4v2-1.9.patch')
+md5sums=('80763728d392c7d789cde25614c878f6'
+ '9d52a17e68fa15ca94e88e1457b94b74')
build() {
- cd ${startdir}/src/${pkgname}
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/mp4v2-1.9.patch || return 1
find . -type f -print0 | xargs -0 sed -i 's/\r//g'
./bootstrap
./configure --prefix=/usr --with-mp4v2
make || return 1
- make DESTDIR=${startdir}/pkg install
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
- install -D -m644 ${startdir}/src/${pkgname}/libfaac/kiss_fft/COPYING \
- ${startdir}/pkg/usr/share/licenses/faac/COPYING.kiss_fft
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/libfaac/kiss_fft/COPYING \
+ ${pkgdir}/usr/share/licenses/faac/LICENSE
}
-md5sums=('1d7c019bd2dbb4f3101b8937ebc59cf6')