summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/faad2/Manifest4
-rw-r--r--media-libs/faad2/faad2-2.0_rc1.ebuild57
-rw-r--r--media-libs/faad2/files/digest-faad2-2.0_rc11
3 files changed, 60 insertions, 2 deletions
diff --git a/media-libs/faad2/Manifest b/media-libs/faad2/Manifest
index bf988aba02ff..427438d614d2 100644
--- a/media-libs/faad2/Manifest
+++ b/media-libs/faad2/Manifest
@@ -1,6 +1,6 @@
-MD5 966b3a4019e4e654e658dc6e260327f5 ChangeLog 1132
+MD5 b7a61e6bb8d471108ff77ab9d34ded87 ChangeLog 1132
MD5 d5df42406696a09383f846ff67283b3c faad2-1.1.ebuild 1008
-MD5 633f4d940d79526cda81df64c0178dcd faad2-2.0_rc1.ebuild 1567
+MD5 3e29901430f33a894bcfdbcb9e053d11 faad2-2.0_rc1.ebuild 1570
MD5 10465da781f67413a312a590160497b8 files/digest-faad2-1.1 62
MD5 ae1e030d365422623250d1fa71e2fe72 files/faad2-1.1-gentoo.diff 440
MD5 2603753c0def47977fce3b5d494b8f65 files/digest-faad2-2.0_rc1 65
diff --git a/media-libs/faad2/faad2-2.0_rc1.ebuild b/media-libs/faad2/faad2-2.0_rc1.ebuild
new file mode 100644
index 000000000000..921d92212336
--- /dev/null
+++ b/media-libs/faad2/faad2-2.0_rc1.ebuild
@@ -0,0 +1,57 @@
+# 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-2.0_rc1.ebuild,v 1.1 2003/10/02 03:10:53 lu_zero Exp $
+
+inherit eutils libtool
+
+HOMEPAGE="http://faac.sourceforge.net/"
+SRC_URI="mirror://sourceforge/faac/${PN}_${PV}.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}"
+IUSE="xmms"
+KEYWORDS="~x86 ~ppc ~sparc amd64"
+DEPEND=">=media-libs/libsndfile-1.0.1
+ >=libtool-1.4.1-r10
+ sys-devel/automake
+ sys-devel/autoconf"
+SLOT="0"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+src_compile() {
+ sh ./bootstrap
+ elibtoolize
+ econf
+ if [ "`use xmms`" ]
+ then
+ cd ${S}/plugins/xmms
+ elibtoolize
+ econf
+ sed -e "s:CFLAGS =:CFLAGS = -I ../../../include:" \
+ -e "s:libdir = \`xmms-config --input-plugin-dir\`:libdir = ${D}/\`xmms-config --input-plugin-dir\`:" \
+ ${S}/plugins/xmms/src/Makefile > Makefile.new
+ mv Makefile.new ${S}/plugins/xmms/src/Makefile
+ else
+ sed -e "s:plugins::g" Makefile > Makefile.new
+ mv Makefile.new Makefile
+ fi
+ cd ${S}/frontend
+ cp Makefile Makefile.orig
+ sed -e "s:CCLD = \$(CC):CCLD = \$(CXX):" Makefile.orig > Makefile
+ cd ${S}
+
+ emake || die
+}
+
+src_install() {
+ cd ${S}/plugins/xmms/src/
+ sed -e "s:@inst_prefix_dir@:-L${D}/usr/lib:" libaac.la > libaac.la.new
+ mv libaac.la.new libaac.la
+ cd ${S}
+ einstall
+ dodoc AUTHORS ChangeLog INSTALL NEWS README README.linux TODO
+}
diff --git a/media-libs/faad2/files/digest-faad2-2.0_rc1 b/media-libs/faad2/files/digest-faad2-2.0_rc1
new file mode 100644
index 000000000000..4809ee087f33
--- /dev/null
+++ b/media-libs/faad2/files/digest-faad2-2.0_rc1
@@ -0,0 +1 @@
+MD5 102be2681834f9f0351a885eb7eb5c99 faad2_2.0_rc1.tar.gz 662359