summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-20 08:21:12 +0000
committerMike Frysinger <vapier@gentoo.org>2009-07-20 08:21:12 +0000
commitffde4f8c8d3a2c5eb77f4b0140d011ebb41603ef (patch)
tree21472958063e16151e3afbf6c36846571c1a5799 /media-libs/faad2
parentversion bump (now with glsa-check support) (diff)
downloadgentoo-2-ffde4f8c8d3a2c5eb77f4b0140d011ebb41603ef.tar.gz
gentoo-2-ffde4f8c8d3a2c5eb77f4b0140d011ebb41603ef.tar.bz2
gentoo-2-ffde4f8c8d3a2c5eb77f4b0140d011ebb41603ef.zip
Restore mp4ff shared library with Debian patch.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/faad2')
-rw-r--r--media-libs/faad2/ChangeLog10
-rw-r--r--media-libs/faad2/faad2-2.7-r1.ebuild35
-rw-r--r--media-libs/faad2/files/faad2-2.7-libmp4ff-shared-lib.patch29
3 files changed, 72 insertions, 2 deletions
diff --git a/media-libs/faad2/ChangeLog b/media-libs/faad2/ChangeLog
index fc915f61d904..81164709eff7 100644
--- a/media-libs/faad2/ChangeLog
+++ b/media-libs/faad2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/faad2
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.118 2009/02/19 23:08:41 aballier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.119 2009/07/20 08:21:12 vapier Exp $
+
+*faad2-2.7-r1 (20 Jul 2009)
+
+ 20 Jul 2009; Mike Frysinger <vapier@gentoo.org> +faad2-2.7-r1.ebuild,
+ +files/faad2-2.7-libmp4ff-shared-lib.patch:
+ Restore mp4ff shared library with Debian patch.
*faad2-2.7 (19 Feb 2009)
diff --git a/media-libs/faad2/faad2-2.7-r1.ebuild b/media-libs/faad2/faad2-2.7-r1.ebuild
new file mode 100644
index 000000000000..d1e9fd6042dd
--- /dev/null
+++ b/media-libs/faad2/faad2-2.7-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/faad2-2.7-r1.ebuild,v 1.1 2009/07/20 08:21:12 vapier Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="AAC audio decoding library"
+HOMEPAGE="http://www.audiocoding.com/faad2.html"
+SRC_URI="mirror://sourceforge/faac/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="digitalradio"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-libmp4ff-shared-lib.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_with digitalradio drm) \
+ --without-xmms
+
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS README README.linux TODO
+}
diff --git a/media-libs/faad2/files/faad2-2.7-libmp4ff-shared-lib.patch b/media-libs/faad2/files/faad2-2.7-libmp4ff-shared-lib.patch
new file mode 100644
index 000000000000..56a131192969
--- /dev/null
+++ b/media-libs/faad2/files/faad2-2.7-libmp4ff-shared-lib.patch
@@ -0,0 +1,29 @@
+Ripped from Debian
+
+Patch to create a shared lib for libmp4ff.
+
+--- a/common/mp4ff/Makefile.am
++++ b/common/mp4ff/Makefile.am
+@@ -1,7 +1,8 @@
+-lib_LIBRARIES = libmp4ff.a
++lib_LTLIBRARIES = libmp4ff.la
+ include_HEADERS = mp4ff.h mp4ffint.h
+
+-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
++AM_CFLAGS = -DUSE_TAGGING=1
+
+-libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
++libmp4ff_la_LDFLAGS = -version-info 0:0:0
++libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
+ mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h
+--- a/frontend/Makefile.am
++++ b/frontend/Makefile.am
+@@ -5,7 +5,7 @@
+ -I$(top_srcdir)/common/mp4ff
+
+ faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
+- $(top_builddir)/common/mp4ff/libmp4ff.a
++ $(top_builddir)/common/mp4ff/libmp4ff.la
+
+ faad_SOURCES = main.c \
+ audio.c audio.h \