From 91cf94d4d4bc2cb74beb80342edd4b3b07f694c8 Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_zero@gentoo.org>
Date: Thu, 2 Oct 2003 03:11:03 +0000
Subject: New version, should solve the endianess problem

---
 media-libs/faad2/ChangeLog                  |  7 +++-
 media-libs/faad2/Manifest                   |  4 +-
 media-libs/faad2/faad2-2.0_rc1.ebuild       | 57 +++++++++++++++++++++++++++++
 media-libs/faad2/files/digest-faad2-2.0_rc1 |  1 +
 4 files changed, 66 insertions(+), 3 deletions(-)
 create mode 100644 media-libs/faad2/faad2-2.0_rc1.ebuild
 create mode 100644 media-libs/faad2/files/digest-faad2-2.0_rc1

(limited to 'media-libs/faad2')

diff --git a/media-libs/faad2/ChangeLog b/media-libs/faad2/ChangeLog
index ccdbda1b8282..361eec2498c1 100644
--- a/media-libs/faad2/ChangeLog
+++ b/media-libs/faad2/ChangeLog
@@ -1,7 +1,12 @@
 # ChangeLog for media-libs/faad2
 # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.7 2003/09/29 12:14:50 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.8 2003/10/02 03:10:53 lu_zero Exp $
 
+*faad2-2.0_rc1 (02 Oct 2003)
+
+  02 Oct 2003;  <lu_zero@gentoo.org> faad2-2.0_rc1.ebuild:
+  Release candidate, should solve the endianess problems
+  
   29 Sep 2003;  <lu_zero@gentoo.org> faad2-1.1.ebuild:
   Marked stable for ppc.
   
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
-- 
cgit v1.2.3-65-gdbad