summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-12 00:06:44 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-12 00:06:44 +0000
commitf3a61d6f571df9f8e6060cd2703b48ed213e347c (patch)
tree89328f95548ba9a1efa3c47f62073960d60ae798 /media-sound
parentMarked ppc/ppc64 stable for bug #256599. (diff)
downloadgentoo-2-f3a61d6f571df9f8e6060cd2703b48ed213e347c.tar.gz
gentoo-2-f3a61d6f571df9f8e6060cd2703b48ed213e347c.tar.bz2
gentoo-2-f3a61d6f571df9f8e6060cd2703b48ed213e347c.zip
Initial commit.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/aacplusenc/ChangeLog10
-rw-r--r--media-sound/aacplusenc/aacplusenc-0.17.1.ebuild48
-rw-r--r--media-sound/aacplusenc/metadata.xml5
3 files changed, 63 insertions, 0 deletions
diff --git a/media-sound/aacplusenc/ChangeLog b/media-sound/aacplusenc/ChangeLog
new file mode 100644
index 000000000000..821bab40f728
--- /dev/null
+++ b/media-sound/aacplusenc/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2009/07/12 00:06:44 ssuominen Exp $
+
+*aacplusenc-0.17.1 (12 Jul 2009)
+
+ 12 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +aacplusenc-0.17.1.ebuild:
+ Initial commit.
+
diff --git a/media-sound/aacplusenc/aacplusenc-0.17.1.ebuild b/media-sound/aacplusenc/aacplusenc-0.17.1.ebuild
new file mode 100644
index 000000000000..50650d2dd46e
--- /dev/null
+++ b/media-sound/aacplusenc/aacplusenc-0.17.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aacplusenc/aacplusenc-0.17.1.ebuild,v 1.1 2009/07/12 00:06:44 ssuominen Exp $
+
+EAPI=2
+inherit toolchain-funcs
+
+DESCRIPTION="High-Efficency AAC (AAC+) Encoder"
+HOMEPAGE="http://teknoraver.net/software/mp4tools/"
+SRC_URI="http://teknoraver.net/software/mp4tools/${P}.tar.bz2"
+
+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"
+
+src_prepare() {
+ sed \
+ -e 's:LDFLAGS:LIBRARIES:g' \
+ -e 's:gcc:${CC}: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}" || die "emake failed"
+}
+
+src_install() {
+ emake INSTDIR="${D}/usr" install || die "emake install failed"
+ doman ${PN}.1
+ dodoc CHANGELOG
+}
diff --git a/media-sound/aacplusenc/metadata.xml b/media-sound/aacplusenc/metadata.xml
new file mode 100644
index 000000000000..ae573a60407f
--- /dev/null
+++ b/media-sound/aacplusenc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+</pkgmetadata>