summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Mehnert <hannes@gentoo.org>2003-04-11 14:58:39 +0000
committerHannes Mehnert <hannes@gentoo.org>2003-04-11 14:58:39 +0000
commitf56f9e3fb1e3aa52360c91ceb102de06fdaae7fc (patch)
tree704ecaf101b6bd27d66ab0da8f8b633c9989cc45
parentLots of updates. Check the ChangeLog. (diff)
downloadgentoo-2-f56f9e3fb1e3aa52360c91ceb102de06fdaae7fc.tar.gz
gentoo-2-f56f9e3fb1e3aa52360c91ceb102de06fdaae7fc.tar.bz2
gentoo-2-f56f9e3fb1e3aa52360c91ceb102de06fdaae7fc.zip
initial import, faad provides mp4 audio for mplayer and other apps.
-rw-r--r--media-libs/faad2/faad2-1.1.ebuild37
-rw-r--r--media-libs/faad2/files/digest-faad2-1.11
-rw-r--r--media-libs/faad2/files/faad2-1.1-gentoo.diff18
3 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/faad2/faad2-1.1.ebuild b/media-libs/faad2/faad2-1.1.ebuild
new file mode 100644
index 000000000000..b3e4058d7d0e
--- /dev/null
+++ b/media-libs/faad2/faad2-1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/faad2-1.1.ebuild,v 1.1 2003/04/11 14:58:39 hannes Exp $
+
+inherit eutils
+
+HOMEPAGE="http://faac.sourceforge.net/"
+SRC_URI="http://faac.sourceforge.net/files/${P}.tar.gz"
+LICENSE="GPL-2"
+DESCRIPTION="FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC files."
+S="${WORKDIR}/${PN}"
+IUSE=""
+KEYWORDS="~x86"
+DEPEND=">=media-libs/libsndfile-1.0.1
+ sys-devel/automake
+ sys-devel/autoconf"
+SLOT="0"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+ ./bootstrap
+ econf
+ cd frontend
+ cp Makefile Makefile.orig
+ sed -e "s:CCLD = \$(CC):CCLD = \$(CXX):" Makefile.orig > Makefile
+ cd ${S}
+ emake
+}
+
+src_install() {
+ einstall
+ dodoc AUTHORS ChangeLOG INSTALL NEWS README README.linux TODO
+}
diff --git a/media-libs/faad2/files/digest-faad2-1.1 b/media-libs/faad2/files/digest-faad2-1.1
new file mode 100644
index 000000000000..a78dc455dc9b
--- /dev/null
+++ b/media-libs/faad2/files/digest-faad2-1.1
@@ -0,0 +1 @@
+MD5 5a20a6268484dea0e080df47f64b9075 faad2-1.1.tar.gz 1015577
diff --git a/media-libs/faad2/files/faad2-1.1-gentoo.diff b/media-libs/faad2/files/faad2-1.1-gentoo.diff
new file mode 100644
index 000000000000..018e72df9f0b
--- /dev/null
+++ b/media-libs/faad2/files/faad2-1.1-gentoo.diff
@@ -0,0 +1,18 @@
+--- faad2/frontend/audio.c 2002-07-25 14:42:54.000000000 +0200
++++ faad2/frontend/audio.c 2003-01-23 17:48:01.000000000 +0100
+@@ -52,7 +52,7 @@
+ break;
+ }
+ aufile->sfinfo.channels = channels;
+- aufile->sfinfo.samples = 0;
++ aufile->sfinfo.frames = 0;
+ #ifdef _WIN32
+ if(infile[0] == '-')
+ {
+@@ -90,4 +90,4 @@
+ sf_close(aufile->sndfile);
+
+ if (aufile) free(aufile);
+-}
+\ No newline at end of file
++}