summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-10 17:59:57 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-10 17:59:57 +0000
commitf449d31718d1663b3d805449ba6d02f72a7153d4 (patch)
treebd53c654e3aa434eeceaead58a29d5fb391fa3b1 /media-sound
parentBump, flash plugin partially works now (diff)
downloadgentoo-2-f449d31718d1663b3d805449ba6d02f72a7153d4.tar.gz
gentoo-2-f449d31718d1663b3d805449ba6d02f72a7153d4.tar.bz2
gentoo-2-f449d31718d1663b3d805449ba6d02f72a7153d4.zip
Version bump and patch to build with glibc 2.10+ wrt #275817.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/aacgain/ChangeLog10
-rw-r--r--media-sound/aacgain/aacgain-1.7.ebuild10
-rw-r--r--media-sound/aacgain/aacgain-1.8.ebuild37
-rw-r--r--media-sound/aacgain/files/aacgain-1.8+glibc-2.10.patch19
4 files changed, 69 insertions, 7 deletions
diff --git a/media-sound/aacgain/ChangeLog b/media-sound/aacgain/ChangeLog
index 0a8ea26404c0..6b9bb6bb8621 100644
--- a/media-sound/aacgain/ChangeLog
+++ b/media-sound/aacgain/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/aacgain
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/aacgain/ChangeLog,v 1.4 2007/10/05 19:12:10 sbriesen Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aacgain/ChangeLog,v 1.5 2009/07/10 17:59:56 ssuominen Exp $
+
+*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.
diff --git a/media-sound/aacgain/aacgain-1.7.ebuild b/media-sound/aacgain/aacgain-1.7.ebuild
index 160e049b9cc8..3cb33dfa2d33 100644
--- a/media-sound/aacgain/aacgain-1.7.ebuild
+++ b/media-sound/aacgain/aacgain-1.7.ebuild
@@ -1,8 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.7.ebuild,v 1.1 2007/05/16 07:41:42 sbriesen Exp $
-
-inherit eutils
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aacgain/aacgain-1.7.ebuild,v 1.2 2009/07/10 17:59:56 ssuominen Exp $
DESCRIPTION="AACGain normalizes the volume of digital music files using the Replay Gain algorithm."
HOMEPAGE="http://altosdesign.com/aacgain/"
@@ -12,10 +10,12 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
+
+RDEPEND=""
DEPEND=""
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc aacgain/README README.first
}
diff --git a/media-sound/aacgain/aacgain-1.8.ebuild b/media-sound/aacgain/aacgain-1.8.ebuild
new file mode 100644
index 000000000000..ec0d457e2b76
--- /dev/null
+++ b/media-sound/aacgain/aacgain-1.8.ebuild
@@ -0,0 +1,37 @@
+# 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.1 2009/07/10 17:59:56 ssuominen 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=""
+
+src_prepare() {
+ if has_version ">=sys-libs/glibc-2.10"; then
+ epatch "${FILESDIR}"/${P}+glibc-2.10.patch
+ fi
+}
+
+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