summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-06-27 06:50:29 +0000
committerTim Harder <radhermit@gentoo.org>2011-06-27 06:50:29 +0000
commit0f5b67fe95793980e0d52d86693dd6b50a924fe4 (patch)
tree5f487993015fa1a5be1b47919626a46cf76c6791 /media-sound/aacplusenc
parentFix compilation with introspection on Darwin, bug #372953, patch by Naohiro Aota (diff)
downloadgentoo-2-0f5b67fe95793980e0d52d86693dd6b50a924fe4.tar.gz
gentoo-2-0f5b67fe95793980e0d52d86693dd6b50a924fe4.tar.bz2
gentoo-2-0f5b67fe95793980e0d52d86693dd6b50a924fe4.zip
Version bump (bug #370665 by Paolo Pedroni).
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/aacplusenc')
-rw-r--r--media-sound/aacplusenc/ChangeLog10
-rw-r--r--media-sound/aacplusenc/aacplusenc-0.17.5.ebuild50
-rw-r--r--media-sound/aacplusenc/files/aacplusenc-0.17.5-asneeded.patch20
3 files changed, 78 insertions, 2 deletions
diff --git a/media-sound/aacplusenc/ChangeLog b/media-sound/aacplusenc/ChangeLog
index 77c2eee89ed7..0c7908691d3f 100644
--- a/media-sound/aacplusenc/ChangeLog
+++ b/media-sound/aacplusenc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/aacplusenc
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/aacplusenc/ChangeLog,v 1.2 2009/07/22 19:54:56 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aacplusenc/ChangeLog,v 1.3 2011/06/27 06:50:29 radhermit Exp $
+
+*aacplusenc-0.17.5 (27 Jun 2011)
+
+ 27 Jun 2011; Tim Harder <radhermit@gentoo.org> +aacplusenc-0.17.5.ebuild,
+ +files/aacplusenc-0.17.5-asneeded.patch:
+ Version bump (bug #370665 by Paolo Pedroni).
22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
aacplusenc-0.17.1.ebuild, +files/aacplusenc-0.17.1-asneeded.patch:
diff --git a/media-sound/aacplusenc/aacplusenc-0.17.5.ebuild b/media-sound/aacplusenc/aacplusenc-0.17.5.ebuild
new file mode 100644
index 000000000000..76bbe2e8adac
--- /dev/null
+++ b/media-sound/aacplusenc/aacplusenc-0.17.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aacplusenc/aacplusenc-0.17.5.ebuild,v 1.1 2011/06/27 06:50:29 radhermit Exp $
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="High-Efficiency AAC (AAC+) Encoder"
+HOMEPAGE="http://teknoraver.net/software/mp4tools/"
+SRC_URI="http://ppa.launchpad.net/teknoraver/ppa/ubuntu/pool/main/a/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sci-libs/fftw:3.0"
+DEPEND="${RDEPEND}
+ sys-apps/sed"
+
+# 3GPP patenting issues
+RESTRICT="mirror test"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ sed \
+ -e 's:LDFLAGS:LIBRARIES:g' \
+ -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' \
+ -e 's:ar r:$(AR) r:g' \
+ -e 's:strip:true:' \
+ -e 's:-O3 -ftree-vectorize::' \
+ -i configure Makefile lib*/Makefile || die "sed failed"
+}
+
+src_configure() {
+ tc-export AR CC
+ ./configure || die "./configure failed"
+}
+
+src_compile() {
+ emake EXTRACFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake INSTDIR="${D}/usr" install
+ doman ${PN}.1
+ dodoc debian/changelog
+}
diff --git a/media-sound/aacplusenc/files/aacplusenc-0.17.5-asneeded.patch b/media-sound/aacplusenc/files/aacplusenc-0.17.5-asneeded.patch
new file mode 100644
index 000000000000..53b7d7c62f88
--- /dev/null
+++ b/media-sound/aacplusenc/files/aacplusenc-0.17.5-asneeded.patch
@@ -0,0 +1,20 @@
+--- aacplusenc/configure.orig
++++ aacplusenc/configure
+@@ -8,7 +8,7 @@
+
+ echo -n 'Checking for libfftw3f...'
+
+-gcc -o test-fft -Wall -x c -lfftw3f -I/usr/local/include -L/usr/local/lib - <<'EOF'
++${CC} ${LDFLAGS} ${CFLAGS} -o test-fft -Wall -x c -lfftw3f -I/usr/local/include -L/usr/local/lib - <<'EOF'
+ #include <fftw3.h>
+
+ #define N 128
+@@ -38,7 +38,7 @@
+
+ echo -n 'Detecting endianness...'
+
+-gcc -o test-endian -Wall -x c - <<'EOF'
++${CC} ${LDFLAGS} ${CFLAGS} -o test-endian -Wall -x c - <<'EOF'
+ #include <stdint.h>
+ #include <stdio.h>
+