summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-06-14 23:43:05 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-06-14 23:43:05 +0000
commit7cf57b38e2a61770dbf48a0f6f126f0e4463c0b0 (patch)
tree3db4f68eb8dcba339f075a1cbc79e13d89eb6665 /media-libs/faad2/faad2-2.0-r2.ebuild
parentAdded to ~ppc (diff)
downloadhistorical-7cf57b38e2a61770dbf48a0f6f126f0e4463c0b0.tar.gz
historical-7cf57b38e2a61770dbf48a0f6f126f0e4463c0b0.tar.bz2
historical-7cf57b38e2a61770dbf48a0f6f126f0e4463c0b0.zip
Revbumping so people get the fixed patch.
Diffstat (limited to 'media-libs/faad2/faad2-2.0-r2.ebuild')
-rw-r--r--media-libs/faad2/faad2-2.0-r2.ebuild75
1 files changed, 75 insertions, 0 deletions
diff --git a/media-libs/faad2/faad2-2.0-r2.ebuild b/media-libs/faad2/faad2-2.0-r2.ebuild
new file mode 100644
index 000000000000..4904b8dde1c4
--- /dev/null
+++ b/media-libs/faad2/faad2-2.0-r2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2004 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-r2.ebuild,v 1.1 2004/06/14 23:43:05 eradicator Exp $
+
+inherit eutils libtool flag-o-matic
+
+DESCRIPTION="The fastest ISO AAC audio decoder available, correctly decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC files"
+HOMEPAGE="http://faac.sourceforge.net/"
+SRC_URI="mirror://sourceforge/faac/${PN}-${PV/_/-}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc amd64 ~alpha ~ia64 ~hppa ~mips"
+IUSE="xmms"
+
+RDEPEND="xmms? ( >=media-sound/xmms-1.2.7
+ media-libs/id3lib )"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4.0.7
+ sys-devel/automake
+ sys-devel/autoconf"
+
+S=${WORKDIR}/${PN}
+
+DOCS="AUTHORS ChangeLog INSTALL NEWS README README.linux TODO"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-makefile-space.patch
+ epatch ${FILESDIR}/${P}-configure-mpeg4ip.patch
+
+ epatch ${FILESDIR}/${P}-gcc34.patch
+
+ cd ${S}/common/mp4v2
+ epatch ${FILESDIR}/mp4atom-sliver.patch
+
+ cd ${S}/plugins/xmms/src
+ epatch ${FILESDIR}/${P}-noext.patch
+
+ # Get the xmms plugin to behave
+ cd ${S}
+ elibtoolize
+}
+
+src_compile() {
+ # see #34392
+ filter-flags -mfpmath=sse
+
+ WANT_AUTOCONF=2.5 WANT_AUTOMAKE=1.7 sh ./bootstrap
+
+ # mp4v2 needed for rhythmbox
+ # drm needed for nothing but doesn't hurt
+
+ econf \
+ --with-mp4v2 \
+ --with-drm \
+ `use_with xmms` \
+ || die
+
+ # emake causes xmms plugin building to fail
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc ${DOCS}
+
+ # unneeded include, breaks building of apps
+ # <foser@gentoo.org>
+ dosed "s:#include <systems.h>::" /usr/include/mpeg4ip.h
+}