diff options
author | 2009-10-09 21:21:47 +0000 | |
---|---|---|
committer | 2009-10-09 21:21:47 +0000 | |
commit | f9a50f09a1692520cf3afd58b88d79adca15dd20 (patch) | |
tree | 0db806487b877473c1c2d2523bf9ba7a551cbfdd /media-sound | |
parent | arm stable, bug #282290 (diff) | |
download | gentoo-2-f9a50f09a1692520cf3afd58b88d79adca15dd20.tar.gz gentoo-2-f9a50f09a1692520cf3afd58b88d79adca15dd20.tar.bz2 gentoo-2-f9a50f09a1692520cf3afd58b88d79adca15dd20.zip |
re-import of aacgain-1.8 after fixing compile-errors.
(Portage version: 2.2_rc44/cvs/Linux i686)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/aacgain/ChangeLog | 37 | ||||
-rw-r--r-- | media-sound/aacgain/aacgain-1.8.ebuild | 40 | ||||
-rw-r--r-- | media-sound/aacgain/files/aacgain-1.8+glibc-2.10.patch | 19 | ||||
-rw-r--r-- | media-sound/aacgain/metadata.xml | 19 |
4 files changed, 115 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/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> |