diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2008-10-11 23:28:06 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2008-10-11 23:28:06 +0000 |
commit | 99d450ad8513d9acaff0d90810f225ee20841aeb (patch) | |
tree | 990a19210a87c961fd4b9354259bab4c6b059dd5 /media-sound | |
parent | imlib2 is required even with USE=-X. (diff) | |
download | historical-99d450ad8513d9acaff0d90810f225ee20841aeb.tar.gz historical-99d450ad8513d9acaff0d90810f225ee20841aeb.tar.bz2 historical-99d450ad8513d9acaff0d90810f225ee20841aeb.zip |
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@gentoo.org>.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-rc8-dirty x86_64
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mp3gain/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/mp3gain/Manifest | 13 | ||||
-rw-r--r-- | media-sound/mp3gain/mp3gain-1.4.6-r2.ebuild | 39 |
3 files changed, 59 insertions, 2 deletions
diff --git a/media-sound/mp3gain/ChangeLog b/media-sound/mp3gain/ChangeLog index 4cb5992dccff..4b4ccad89276 100644 --- a/media-sound/mp3gain/ChangeLog +++ b/media-sound/mp3gain/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/mp3gain # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.26 2008/09/10 14:48:42 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.27 2008/10/11 23:28:06 chainsaw Exp $ + +*mp3gain-1.4.6-r2 (11 Oct 2008) + + 11 Oct 2008; <chainsaw@gentoo.org> +mp3gain-1.4.6-r2.ebuild: + 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@gentoo.org>. 10 Sep 2008; Peter Alfredsen <loki_val@gentoo.org> mp3gain-1.4.6-r1.ebuild: diff --git a/media-sound/mp3gain/Manifest b/media-sound/mp3gain/Manifest index 8ea77af1b52f..90e9eb1d34aa 100644 --- a/media-sound/mp3gain/Manifest +++ b/media-sound/mp3gain/Manifest @@ -1,5 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 1.4.6-option-parser.patch 12346 RMD160 a5c73d857a1b5100cce8beeb5f9c5fed9b4f4bd6 SHA1 673145a4ddf4dd6b16a3bcee695374844829d6cf SHA256 ec572a32847901aae3804b32ae46fe5d0dc25505a9294a3945b96960ff56af97 DIST mp3gain-1_4_6-src.zip 111408 RMD160 e9e340afee84706f434b24be2299c11e641666e3 SHA1 733ec64172087181c749c7434d774b804ce2e448 SHA256 e1ad9aeb18403cf9ea54af830e1371523d6d5373bfef01a8964e3735deaf7d4f EBUILD mp3gain-1.4.6-r1.ebuild 929 RMD160 da372b2107344032335d93e8801956520e95bdf7 SHA1 40d010fc439ac523bf1bacce7aca3e2b3fa20752 SHA256 77e6f5e709dc4e19e01ede784d584c5fde4af675fdc96644a734ed543c6324c2 -MISC ChangeLog 3262 RMD160 881942ff9f949383db0d59443969ce4b7131ee61 SHA1 fbe61ba4560915a2ae653dc63cf3b8d1c55b261a SHA256 6c3385da43057fd8390c7b2b4adbda572979aa52681c573014b20efbfa5045f0 +EBUILD mp3gain-1.4.6-r2.ebuild 1071 RMD160 0a184813d231c2fcf33abb1561e1620b55bb3712 SHA1 7c1e324ec8db47ceaada207f3fa745408430c5ed SHA256 9c59e019569c6bf7116140c6025023e3683613e1987585b252449a1a259a95b7 +MISC ChangeLog 3585 RMD160 4a8957c2dad26ff5b3508aa4d40936ded2430808 SHA1 3ae150abc42f56ca65ebac30273ab23124aa7a7f SHA256 64f83e9a808c8bcfc427c179398356201b6bbf796a62e7c8e8964671c8f74f78 MISC metadata.xml 248 RMD160 f9de13e16a150195633b055ebe61bb4cea95160d SHA1 4ea80510c4e90c385ac851b4f82c36b4f91d9402 SHA256 6a8ca116bded5cdd92cb700f92acd22b01ae159ef1b69c60a03fc9859bb9b3d6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkjxNmgACgkQp5vW4rUFj5p6xQCgu1J5rB+5ye7JG0Wl+d+g1kZX +BGwAn2pdnJ0+Q/7LOBDQh7kUutwIsmnr +=YGsn +-----END PGP SIGNATURE----- diff --git a/media-sound/mp3gain/mp3gain-1.4.6-r2.ebuild b/media-sound/mp3gain/mp3gain-1.4.6-r2.ebuild new file mode 100644 index 000000000000..62aae6389169 --- /dev/null +++ b/media-sound/mp3gain/mp3gain-1.4.6-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +inherit eutils flag-o-matic toolchain-funcs + +IUSE="" + +MY_P=${P//./_} +S=${WORKDIR} + +DESCRIPTION="MP3Gain automatically adjusts mp3s so that they all have the same volume" +HOMEPAGE="http://mp3gain.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.zip" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +DEPEND="app-arch/unzip" + +src_unpack() { + unpack ${A} + cd "${S}" + + filter-flags -O* + sed -i -e "s:CC=.*:CC=$(tc-getCC):" "${S}"/Makefile || die "Unable to override compiler selection" + sed -i -e "s:CFLAGS= -Wall -O3 -DHAVE_MEMCPY:CFLAGS+= -Wall -DHAVE_MEMCPY:" "${S}"/Makefile || + die "Unable to convince build system to respect CFLAGS" + epatch "${FILESDIR}"/${PV}-option-parser.patch +} + +src_compile() { + emake CC="$(tc-getCC)" || die "Compile failed" +} + +src_install () { + dobin mp3gain +} |