summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/aacgain')
-rw-r--r--media-sound/aacgain/ChangeLog37
-rw-r--r--media-sound/aacgain/Manifest5
-rw-r--r--media-sound/aacgain/aacgain-1.8.ebuild40
-rw-r--r--media-sound/aacgain/files/aacgain-1.8+glibc-2.10.patch19
-rw-r--r--media-sound/aacgain/metadata.xml19
5 files changed, 120 insertions, 0 deletions
diff --git a/media-sound/aacgain/ChangeLog b/media-sound/aacgain/ChangeLog
new file mode 100644
index 000000000000..00a337b287cb
--- /dev/null
+++ b/media-sound/aacgain/ChangeLog
@@ -0,0 +1,37 @@
+# ChangeLog for media-sound/aacgain
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aacgain/ChangeLog,v 1.9 2009/10/09 21:21:46 sbriesen Exp $
+
+ 09 Oct 2009; Stefan Briesenick <sbriesen@gentoo.org> +aacgain-1.8.ebuild,
+ +files/aacgain-1.8+glibc-2.10.patch, +metadata.xml:
+ re-import of aacgain-1.8 after fixing compile-errors.
+
+ 15 Jul 2009; Christian Faulhammer <fauli@gentoo.org> aacgain-1.7.ebuild:
+ stable x86, bug 256041
+
+ 11 Jul 2009; <chainsaw@gentoo.org> aacgain-1.7.ebuild:
+ Marked stable on AMD64 for bug #256041; tested on a dual Opteron 2354.
+
+*aacgain-1.8 (10 Jul 2009)
+
+ 10 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> +aacgain-1.8.ebuild,
+ +files/aacgain-1.8+glibc-2.10.patch:
+ Version bump and patch to build with glibc 2.10+ wrt #275817.
+
+ 05 Oct 2007; Stefan Briesenick <sbriesen@gentoo.org> -aacgain-1.5.ebuild:
+ removed old version.
+
+*aacgain-1.7 (16 May 2007)
+
+ 16 May 2007; Stefan Briesenick <sbriesen@gentoo.org> +aacgain-1.7.ebuild:
+ version bump.
+
+ 11 Jun 2006; Stefan Briesenick <sbriesen@gentoo.org> aacgain-1.5.ebuild:
+ added BIG FAT WARNING (see bug #136170)
+
+*aacgain-1.5 (19 Mar 2006)
+
+ 19 Mar 2006; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml,
+ +aacgain-1.5.ebuild:
+ initial commit.
+
diff --git a/media-sound/aacgain/Manifest b/media-sound/aacgain/Manifest
new file mode 100644
index 000000000000..e8f35c175653
--- /dev/null
+++ b/media-sound/aacgain/Manifest
@@ -0,0 +1,5 @@
+AUX aacgain-1.8+glibc-2.10.patch 463 RMD160 d2b268f714c70ced7881591df78ecee413178d17 SHA1 af9fc26f8781cf977cf673e715607c9561353432 SHA256 3751fec46c0593e4cf7541996c7ef1ee536c67364b43299f0c99a88c3d90d93f
+DIST aacgain-1.8.tar.bz2 1188680 RMD160 8f97121f3797cde45f71839dbe14251b74365ccd SHA1 331039c4231e4d85ae878795ce3095dd96dcbfdb SHA256 2bb8e27aa8f8434a4861fdbc70adb9cb4b47e1dfe472910d62d6042cb80a2ee1
+EBUILD aacgain-1.8.ebuild 1122 RMD160 5d33a95a94c8c39e3e2f6ff6987211f26aae630b SHA1 b53fae3cbb88324bef1bb8e89a11925e689e426e SHA256 3f4fae28ac527ed61aeea654259cecb5b1553ab07a90fd4d9920e94e9b96c16b
+MISC ChangeLog 1318 RMD160 d4dc6853c1036bd6e473baf434db05b6db95f01f SHA1 660899252db418db3441b0c722513a687fafecb0 SHA256 20d7e1dd08482e926db6c3adcaeac248e3a991c26e7598701bc6244be35e1f6e
+MISC metadata.xml 896 RMD160 bacdff326c08b0d545dc70632fa93b9c6c93b789 SHA1 4f9a27cdb399f9a5ba4a41e23a85140106b9825b SHA256 b1adad519010b9a66248068be92d6d39a47b95006dbee4368a7b15be3a02dea3
diff --git a/media-sound/aacgain/aacgain-1.8.ebuild b/media-sound/aacgain/aacgain-1.8.ebuild
new file mode 100644
index 000000000000..3566c5b218be
--- /dev/null
+++ b/media-sound/aacgain/aacgain-1.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aacgain/aacgain-1.8.ebuild,v 1.3 2009/10/09 21:21:46 sbriesen Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="AACGain normalizes the volume of digital music files using the Replay Gain algorithm."
+HOMEPAGE="http://altosdesign.com/aacgain/"
+SRC_URI="http://altosdesign.com/aacgain/alvarez/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="sys-apps/sed"
+
+src_prepare() {
+ if has_version ">=sys-libs/glibc-2.10"; then
+ epatch "${FILESDIR}"/${P}+glibc-2.10.patch
+ fi
+
+ # rename internal lrintf function of faad2 (conflicts with glibc)
+ sed -i -e "s:lrintf:_lrintf:g" faad2/libfaad/{common.h,lt_predict.c,output.c}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc aacgain/README README.first
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "BACK UP YOUR MUSIC FILES BEFORE USING AACGAIN!"
+ ewarn "THIS IS EXPERIMENTAL SOFTWARE. THERE HAVE BEEN"
+ ewarn "BUGS IN PAST RELEASES THAT CORRUPTED MUSIC FILES."
+ ewarn
+}
diff --git a/media-sound/aacgain/files/aacgain-1.8+glibc-2.10.patch b/media-sound/aacgain/files/aacgain-1.8+glibc-2.10.patch
new file mode 100644
index 000000000000..df48cfdae25d
--- /dev/null
+++ b/media-sound/aacgain/files/aacgain-1.8+glibc-2.10.patch
@@ -0,0 +1,19 @@
+diff -ur aacgain-1.8.orig/mpeg4ip/include/mpeg4ip.h aacgain-1.8/mpeg4ip/include/mpeg4ip.h
+--- aacgain-1.8.orig/mpeg4ip/include/mpeg4ip.h 2008-11-08 16:39:36.000000000 +0200
++++ aacgain-1.8/mpeg4ip/include/mpeg4ip.h 2009-07-10 20:59:51.000000000 +0300
+@@ -120,6 +120,7 @@
+ #endif
+ #include <sys/param.h>
+
++/*
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+@@ -127,6 +128,7 @@
+ #ifdef __cplusplus
+ }
+ #endif
++*/
+
+ #define OPEN_RDWR O_RDWR
+ #define OPEN_CREAT O_CREAT
diff --git a/media-sound/aacgain/metadata.xml b/media-sound/aacgain/metadata.xml
new file mode 100644
index 000000000000..77ca42c2a4f2
--- /dev/null
+++ b/media-sound/aacgain/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sbriesen@gentoo.org</email>
+ <name>Stefan Briesenick</name>
+ </maintainer>
+ <longdescription lang="en">
+ AACGain is a modification to Glen Sawyer's excellent mp3gain program.
+ It supports AAC (mp4/m4a/QuickTime) audio files in addtion to mp3 files.
+ If you are not familiar with mp3gain, stop reading this, and go to
+ http://mp3gain.sourceforge.net. AACGain normalizes the volume of digital
+ music files using the ReplayGain algorithm. It works by modifying the
+ global_gain fields in the mp4 samples. Free-form metadata tags are added
+ to the file to save undo information, making the normalization process
+ reversable. AACGain uses the same command-line user interface as mp3gain.
+ </longdescription>
+</pkgmetadata>