diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/faac | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core/faac')
-rw-r--r-- | abs/core/faac/PKGBUILD | 28 | ||||
-rw-r--r-- | abs/core/faac/libmp4v2.patch | 11 | ||||
-rw-r--r-- | abs/core/faac/pipe-output.patch | 18 |
3 files changed, 57 insertions, 0 deletions
diff --git a/abs/core/faac/PKGBUILD b/abs/core/faac/PKGBUILD new file mode 100644 index 0000000..3d7ce11 --- /dev/null +++ b/abs/core/faac/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Alexander Baldeck <alexander@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) +url="http://www.audiocoding.com/" +license=('GPL' 'custom') +depends=('libmp4v2' 'glibc') +makedepends=('automake' 'autoconf' 'libtool') +options=('!libtool') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) + +build() { + cd ${startdir}/src/${pkgname} + 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 + + install -D -m644 ${startdir}/src/${pkgname}/libfaac/kiss_fft/COPYING \ + ${startdir}/pkg/usr/share/licenses/faac/COPYING.kiss_fft +} +md5sums=('1d7c019bd2dbb4f3101b8937ebc59cf6') diff --git a/abs/core/faac/libmp4v2.patch b/abs/core/faac/libmp4v2.patch new file mode 100644 index 0000000..b2c0165 --- /dev/null +++ b/abs/core/faac/libmp4v2.patch @@ -0,0 +1,11 @@ +--- faac/configure.in 2006-08-13 14:17:26.000000000 +0000 ++++ faac-patched/configure.in 2007-01-29 19:18:45.000000000 +0000 +@@ -35,6 +35,8 @@ +
+ if test x$external_mp4v2 = xyes; then
+ AC_MSG_NOTICE([*** Building with external mp4v2 ***])
++ MY_DEFINE(HAVE_LIBMP4V2)
++ LIBS="-lmp4v2 $LIBS"
+ else
+ if test x$WITHMP4V2 = xyes; then
+ AC_MSG_NOTICE([*** Building with internal mp4v2 ***])
diff --git a/abs/core/faac/pipe-output.patch b/abs/core/faac/pipe-output.patch new file mode 100644 index 0000000..a8581f3 --- /dev/null +++ b/abs/core/faac/pipe-output.patch @@ -0,0 +1,18 @@ +--- faac/frontend/main.c 2004-12-08 11:07:17.000000000 +0000 ++++ faac-patched/frontend/main.c 2007-01-29 19:17:26.000000000 +0000 +@@ -918,7 +918,14 @@ + {
+ #endif
+ /* open the aac output file */
+- outfile = fopen(aacFileName, "wb");
++ if (aacFileName[0] == '-')
++ {
++ outfile = stdout;
++ }
++ else
++ {
++ outfile = fopen(aacFileName, "wb");
++ }
+ if (!outfile)
+ {
+ fprintf(stderr, "Couldn't create output file %s\n", aacFileName);
|