summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-06-27 16:21:43 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-06-27 16:21:43 +0000
commita125396d5a63334fcfe9b23e521381f479ac738b (patch)
tree63fd988abf2453fe64843174dd45e4ce281b8917 /media-libs/faac
parentbump; generally fix broken phases, add py3.3 support and there it is to stay,... (diff)
downloadgentoo-2-a125396d5a63334fcfe9b23e521381f479ac738b.tar.gz
gentoo-2-a125396d5a63334fcfe9b23e521381f479ac738b.tar.bz2
gentoo-2-a125396d5a63334fcfe9b23e521381f479ac738b.zip
go multilib
(Portage version: 2.2.0_alpha185/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'media-libs/faac')
-rw-r--r--media-libs/faac/ChangeLog7
-rw-r--r--media-libs/faac/faac-1.28-r4.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/media-libs/faac/ChangeLog b/media-libs/faac/ChangeLog
index 8d66d0165e48..69c3951b5de2 100644
--- a/media-libs/faac/ChangeLog
+++ b/media-libs/faac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/faac
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/ChangeLog,v 1.98 2013/04/26 10:26:32 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/ChangeLog,v 1.99 2013/06/27 16:21:43 aballier Exp $
+
+*faac-1.28-r4 (27 Jun 2013)
+
+ 27 Jun 2013; Alexis Ballier <aballier@gentoo.org> +faac-1.28-r4.ebuild:
+ go multilib
26 Apr 2013; Samuli Suominen <ssuominen@gentoo.org> faac-1.28-r3.ebuild:
Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER for automake-1.13
diff --git a/media-libs/faac/faac-1.28-r4.ebuild b/media-libs/faac/faac-1.28-r4.ebuild
new file mode 100644
index 000000000000..a1e33796e2a1
--- /dev/null
+++ b/media-libs/faac/faac-1.28-r4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/faac-1.28-r4.ebuild,v 1.1 2013/06/27 16:21:43 aballier Exp $
+
+EAPI=5
+inherit autotools eutils multilib-minimal
+
+DESCRIPTION="Free MPEG-4 audio codecs by AudioCoding.com"
+HOMEPAGE="http://www.audiocoding.com"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 MPEG-4"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND="media-libs/libmp4v2:0=
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r1
+ !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}"
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-external-libmp4v2.patch \
+ "${FILESDIR}"/${P}-altivec.patch \
+ "${FILESDIR}"/${P}-libmp4v2_r479_compat.patch \
+ "${FILESDIR}"/${P}-inttypes.patch
+
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die #466984
+
+ eautoreconf
+ epunt_cxx
+}
+
+multilib_src_configure() {
+ local myconf
+ # only used for the fronted we need only for the default ABI.
+ [ "${ABI}" != "${DEFAULT_ABI}" ] && myconf+=" --without-mp4v2"
+
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ ${myconf}
+
+ # do not build the frontend for non default abis
+ if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then
+ sed -i -e 's/frontend//' Makefile || die
+ fi
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ prune_libtool_files
+}
+
+multilib_src_install_all() {
+ dohtml docs/*.html
+ insinto /usr/share/doc/${PF}/pdf
+ doins docs/libfaac.pdf
+}