Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mp3gain: ChangeLog mp3gain-1.4.6-r2.ebuild
Date: Sat, 11 Oct 2008 23:28:09
Message-Id: E1KonsU-0006wZ-2Y@stork.gentoo.org
1 chainsaw 08/10/11 23:28:06
2
3 Modified: ChangeLog
4 Added: mp3gain-1.4.6-r2.ebuild
5 Log:
6 Do not set CFLAGS in stone during src_unpack stage to avoid triggering the mass CFLAGS bug filing framework. Use toolchain-funcs eclass to set CC. Closes bug #240808 by Diego "Flameeyes" Pettenò <flameeyes@g.o>.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc8-dirty x86_64)
8
9 Revision Changes Path
10 1.27 media-sound/mp3gain/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 10 Sep 2008 14:48:42 -0000 1.26
23 +++ ChangeLog 11 Oct 2008 23:28:06 -0000 1.27
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-sound/mp3gain
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.26 2008/09/10 14:48:42 loki_val Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.27 2008/10/11 23:28:06 chainsaw Exp $
29 +
30 +*mp3gain-1.4.6-r2 (11 Oct 2008)
31 +
32 + 11 Oct 2008; <chainsaw@g.o> +mp3gain-1.4.6-r2.ebuild:
33 + Do not set CFLAGS in stone during src_unpack stage to avoid triggering the
34 + mass CFLAGS bug filing framework. Use toolchain-funcs eclass to set CC.
35 + Closes bug #240808 by Diego "Flameeyes" Pettenò <flameeyes@g.o>.
36
37 10 Sep 2008; Peter Alfredsen <loki_val@g.o>
38 mp3gain-1.4.6-r1.ebuild:
39
40
41
42 1.1 media-sound/mp3gain/mp3gain-1.4.6-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/mp3gain-1.4.6-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/mp3gain-1.4.6-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mp3gain-1.4.6-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/mp3gain-1.4.6-r2.ebuild,v 1.1 2008/10/11 23:28:06 chainsaw Exp $
52
53 inherit eutils flag-o-matic toolchain-funcs
54
55 IUSE=""
56
57 MY_P=${P//./_}
58 S=${WORKDIR}
59
60 DESCRIPTION="MP3Gain automatically adjusts mp3s so that they all have the same volume"
61 HOMEPAGE="http://mp3gain.sourceforge.net"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.zip"
63
64 SLOT="0"
65 LICENSE="LGPL-2.1"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
67
68 DEPEND="app-arch/unzip"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73
74 filter-flags -O*
75 sed -i -e "s:CC=.*:CC=$(tc-getCC):" "${S}"/Makefile || die "Unable to override compiler selection"
76 sed -i -e "s:CFLAGS= -Wall -O3 -DHAVE_MEMCPY:CFLAGS+= -Wall -DHAVE_MEMCPY:" "${S}"/Makefile ||
77 die "Unable to convince build system to respect CFLAGS"
78 epatch "${FILESDIR}"/${PV}-option-parser.patch
79 }
80
81 src_compile() {
82 emake CC="$(tc-getCC)" || die "Compile failed"
83 }
84
85 src_install () {
86 dobin mp3gain
87 }