summaryrefslogtreecommitdiff
path: root/media-sound/aacplusenc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/aacplusenc
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/aacplusenc')
-rw-r--r--media-sound/aacplusenc/Manifest7
-rw-r--r--media-sound/aacplusenc/aacplusenc-0.17.5.ebuild54
-rw-r--r--media-sound/aacplusenc/files/aacplusenc-0.17.5-asneeded.patch20
-rw-r--r--media-sound/aacplusenc/files/aacplusenc-0.17.5-libm.patch13
-rw-r--r--media-sound/aacplusenc/metadata.xml11
5 files changed, 105 insertions, 0 deletions
diff --git a/media-sound/aacplusenc/Manifest b/media-sound/aacplusenc/Manifest
new file mode 100644
index 000000000000..0caf281ce56d
--- /dev/null
+++ b/media-sound/aacplusenc/Manifest
@@ -0,0 +1,7 @@
+AUX aacplusenc-0.17.5-asneeded.patch 547 SHA256 55d5d7d4d76763b5e87c1eeab3694ffdaa78df0dffe7ab050ca76ad38fae2d43 SHA512 c12af07b88c012ad9d0f2c162a3b9fef74ebea3985253831b369db20a637c317ce3592b0f2a521ba8923332d3a019cc04586241bb1a03cbc9e551fc2ac395633 WHIRLPOOL 16dbd9ae857cd405316b1d13cac401475585e5c07e96178c648117e9a361fe4d5b339686f986fb210df888bf5c5fe4ad17662d7454f13650726b242846657c35
+AUX aacplusenc-0.17.5-libm.patch 468 SHA256 3e0cd0dcc4c007aa3ead32d4739c4537e354818361bdaa0b8198de20ae28835a SHA512 b0e0093c6dbee03b7e9ec1100713d8329b558010b473fb1e036196f9acedd738a41e7247ee671042f319df05823e80b4e99b33e052b092eadab154259dffc4db WHIRLPOOL dfbcade318cb74994786fbb6884a4bced8290c7aed947ff9fc5df34a4016785f7c8552c92bc72f248e450fdcb00b7af714c02bd3df5155cd1c3dab6f28b3f478
+DIST aacplusenc_0.17.5.tar.gz 547953 SHA256 318df58a86ac0647d6bfbcd8766fe301ad2ed08ffb4ef4e016e088f4dceb1669 SHA512 75dadadfcddc551217ad71f021d6f4a190271428dc32603ec64429024ad7747884f5080f0cbb43a79895db527e9802cf3693b0dbf90f8b4b7023ea7e9bb43873 WHIRLPOOL fd9ed148d65ed3cfaeecea23b659be9f67bac16ad5527ecf6eeb50f59620cdb5903b7947c10016134cbcbeee2aa7912d19596eb8a4ae1a6e46a035eb22973649
+EBUILD aacplusenc-0.17.5.ebuild 1081 SHA256 809412d8eb21f8569aa346fc38973e7c348c7e95b41bd88ea91a95f851324147 SHA512 4e11282d3df995e476ac29f78d60710e429b9197c458e9ca9f0ab9fafae506eb84319ebf1c36afc9b53f8332b905fa93a68f6d5b0f852dd2c479212260b2eb81 WHIRLPOOL 7b2f792c6dc458a59b001ee49f9f6139c78300b6f690a0ff463d5b209c69f7c5a984bfa838c1a2ce14629f58b81d2655fd39e07737e6d4404438c00c0a6a61b5
+MISC ChangeLog 3137 SHA256 a19053a8d5d87990875f4b6022a2c0de25caaeb56eaf29dc671f5c92b67bfcd6 SHA512 6d6028b30b17fa46c2b60879c2700df509d70b2770b005c9abb7b13fec304068bb9f97e1bcd317a299824024a2942ba18b90ebe74509b11e6438dc789c42ca29 WHIRLPOOL aa4191b7e511a6f0dd4ed2eaaca416ee8a9ffafc6f78f7b90b9dfd185808a1434062ddbf9070eb5c1062b6eba364d5ae188f49cfcb8509c9ecd7b3922cf2ebed
+MISC ChangeLog-2015 1061 SHA256 38fe3e9b822a385d7894ded5664cc4615d185c0176bc66ec6634dd27084ebc88 SHA512 9fc9f86e9677214472432a68223d0da8ca4ee4354cd20215bdae9e167ff612cc3a6399216be633f84cf79ca00921992dfb6bab6e270fab2a69d14b3ac99f6a41 WHIRLPOOL 2297f839cd042d0bbd6976843bec1fbff877bd53125dae4fea74b96b34ab267df0503647c474f98fa7b0847a93b681e0d52940bf50a8c1295f6ac284fca6d613
+MISC metadata.xml 332 SHA256 bb62ec03f78a5f5ebac64da2309046f84bea1169b704054682c3ff41b1a30a87 SHA512 7a53a8170246254eb1415336165c578504c45e8e26469870b87271fccc4db0c0a887e24830dfcae05898cac688c67bc30cbcaa0f4bae5febf79eb1aace5c20a4 WHIRLPOOL 3b480a951cc70185492e3250c38b00d52dfab65613d775636f09ab91bb8424e53487977f1331e4a40505a121a8ddb01c1b6f6cedf996ad6e9a2293faa0b9f321
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..122f74131ecb
--- /dev/null
+++ b/media-sound/aacplusenc/aacplusenc-0.17.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="High-Efficiency AAC (AAC+) Encoder"
+HOMEPAGE="http://teknoraver.net/software/mp4tools/"
+SRC_URI="https://launchpad.net/~teknoraver/+archive/ubuntu/ppa/+files/${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"
+
+PATCHES=(
+ "${FILESDIR}/${P}-asneeded.patch"
+ "${FILESDIR}/${P}-libm.patch"
+)
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ default
+ 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>
+
diff --git a/media-sound/aacplusenc/files/aacplusenc-0.17.5-libm.patch b/media-sound/aacplusenc/files/aacplusenc-0.17.5-libm.patch
new file mode 100644
index 000000000000..37a3f904fea3
--- /dev/null
+++ b/media-sound/aacplusenc/files/aacplusenc-0.17.5-libm.patch
@@ -0,0 +1,13 @@
+--- aacplusenc/Makefile.orig
++++ aacplusenc/Makefile
+@@ -5,9 +5,8 @@
+ LIBS=libaacenc/libaacenc.a libbitbuf/libbitbuf.a libfr/libfr.a libsbrenc/libsbrenc.a libresamp/libresamp.a
+ TARGET=aacplusenc
+
+-LDFLAGS=-lm
+ LDFLAGS+=-L$(TOPDIR)/libaacenc -L$(TOPDIR)/libbitbuf -L$(TOPDIR)/libfr -L$(TOPDIR)/libsbrenc -L$(TOPDIR)/libresamp
+-LDFLAGS+=-laacenc -lbitbuf -lfr -lsbrenc -lresamp
++LDFLAGS+=-laacenc -lbitbuf -lfr -lsbrenc -lresamp -lm
+
+ ifdef FFTW3
+ LDFLAGS+=-lfftw3f
diff --git a/media-sound/aacplusenc/metadata.xml b/media-sound/aacplusenc/metadata.xml
new file mode 100644
index 000000000000..9c160a7a0b31
--- /dev/null
+++ b/media-sound/aacplusenc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">~teknoraver</remote-id>
+ </upstream>
+</pkgmetadata>