From: Tony Vroon Date: Tue, 17 Apr 2007 19:13:31 +0000 (+0000) Subject: Taking maintainership, discussed with beandog on IRC. Patch out duff includes that... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d783ab34c6d0baf8213dd2f9ddc4846ff38ec600;p=gentoo.git Taking maintainership, discussed with beandog on IRC. Patch out duff includes that do not exist on PowerPC. Properly die if the compilation fails. Add ~ppc64 keyword, tested on 64UL, GCC 4.1.2 Package-Manager: portage-2.1.2.3 --- diff --git a/media-sound/wavegain/ChangeLog b/media-sound/wavegain/ChangeLog index 0331731fea6d..5b892d4a4efd 100644 --- a/media-sound/wavegain/ChangeLog +++ b/media-sound/wavegain/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-sound/wavegain # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/wavegain/ChangeLog,v 1.1 2007/03/09 14:53:05 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/wavegain/ChangeLog,v 1.2 2007/04/17 19:13:31 chainsaw Exp $ + +*wavegain-1.2.6-r1 (17 Apr 2007) + + 17 Apr 2007; Tony Vroon + +files/1.2.6-faulty-includes.patch, metadata.xml, + +wavegain-1.2.6-r1.ebuild: + Taking maintainership, discussed with beandog on IRC. Patch out duff + includes that do not exist on PowerPC. Properly die if the compilation + fails. Add ~ppc64 keyword, tested on 64UL, GCC 4.1.2 *wavegain-1.2.6 (09 Mar 2007) diff --git a/media-sound/wavegain/Manifest b/media-sound/wavegain/Manifest index cce7183eab50..423ddb39a743 100644 --- a/media-sound/wavegain/Manifest +++ b/media-sound/wavegain/Manifest @@ -1,16 +1,37 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 1.2.6-faulty-includes.patch 840 RMD160 390de6e20f944c384e008746a3aeaad1e3de6b52 SHA1 ae5aa94cd0ca6a434fb1519c757a1f4529a18e46 SHA256 fb7c1e82914793d8889472db50d1bc3b6e12cd2d663f4500a24edbf13be0c6c7 +MD5 b45831e4ae826a845d0472d929b362ca files/1.2.6-faulty-includes.patch 840 +RMD160 390de6e20f944c384e008746a3aeaad1e3de6b52 files/1.2.6-faulty-includes.patch 840 +SHA256 fb7c1e82914793d8889472db50d1bc3b6e12cd2d663f4500a24edbf13be0c6c7 files/1.2.6-faulty-includes.patch 840 DIST wavegain-1.2.6srcs.zip 160859 RMD160 f3cd0ebcfd588d3f5c03cf9a57b17a290fd92c60 SHA1 1427140c788b8a217275692f61c2bc42bd134f6c SHA256 32f3ea5252094c8443a54440ed5e815b044b9feeb82e6494eabbe84f95e6fc08 +EBUILD wavegain-1.2.6-r1.ebuild 829 RMD160 cd23f5cf3f52cf3e4194d99f9c9255a610fab174 SHA1 c6debe13b5d6d60f7bf63bbd2475992f0afd1c32 SHA256 0c04e4c382d2205655913892e01e46bbda14be7f8c2f5857a6533477ebb4aecf +MD5 fc91847e74720222ec4b0d3825723ce8 wavegain-1.2.6-r1.ebuild 829 +RMD160 cd23f5cf3f52cf3e4194d99f9c9255a610fab174 wavegain-1.2.6-r1.ebuild 829 +SHA256 0c04e4c382d2205655913892e01e46bbda14be7f8c2f5857a6533477ebb4aecf wavegain-1.2.6-r1.ebuild 829 EBUILD wavegain-1.2.6.ebuild 696 RMD160 132c5f269893add1c1b9c1814b9dcf4ad14270a5 SHA1 0d40f1034505a646261973b49aa7684482354ed8 SHA256 54f782412ef53099274857c0a05cd6902c66ff2836a3becb149e017d78125401 MD5 c8cf57ed9d0b66d2bc9ca4b9226737eb wavegain-1.2.6.ebuild 696 RMD160 132c5f269893add1c1b9c1814b9dcf4ad14270a5 wavegain-1.2.6.ebuild 696 SHA256 54f782412ef53099274857c0a05cd6902c66ff2836a3becb149e017d78125401 wavegain-1.2.6.ebuild 696 -MISC ChangeLog 386 RMD160 a0c4d4c60d909182fca29892e851f772b4a32664 SHA1 4e539dd8b11a597ef5d7b67084465640f641ad6b SHA256 70d9512abbc4d611877f32f5c4a211ba0d993f350111790b2461d395a3455a9d -MD5 8c59647d206afb338e9f721f44a5af87 ChangeLog 386 -RMD160 a0c4d4c60d909182fca29892e851f772b4a32664 ChangeLog 386 -SHA256 70d9512abbc4d611877f32f5c4a211ba0d993f350111790b2461d395a3455a9d ChangeLog 386 -MISC metadata.xml 413 RMD160 77d874b1a420659cd482ffc633dbf14413469b8e SHA1 3f7f33fc19b5d41299ed420b0d8821b17e42343a SHA256 978f05da44aa372d74c393744566a11a10fa4688a8812dec5ea138eddbec5126 -MD5 7340700747dce3e5720694a9b0107bc2 metadata.xml 413 -RMD160 77d874b1a420659cd482ffc633dbf14413469b8e metadata.xml 413 -SHA256 978f05da44aa372d74c393744566a11a10fa4688a8812dec5ea138eddbec5126 metadata.xml 413 +MISC ChangeLog 750 RMD160 747a1506b3e7c2b044292d06ac44c022c9265276 SHA1 fc645929c262cd15dd207d474ec783b52b2834a7 SHA256 0a5f0625638d27c7281414646ed4b7c959fda354c20c493fe51c4168a696cb04 +MD5 b6c4e40d5289ae78fe9898dfe4e49022 ChangeLog 750 +RMD160 747a1506b3e7c2b044292d06ac44c022c9265276 ChangeLog 750 +SHA256 0a5f0625638d27c7281414646ed4b7c959fda354c20c493fe51c4168a696cb04 ChangeLog 750 +MISC metadata.xml 244 RMD160 4cedeb3c2e1da41154d1f27fd859f7199879f876 SHA1 0e4fff9eaeed906bcda71e215ef565351d662a50 SHA256 4ed2cab70012146e3aff4186425f785a9f19c3052453708679f3783e225db197 +MD5 81a841fa9baacf1b614d6e44b62d8df7 metadata.xml 244 +RMD160 4cedeb3c2e1da41154d1f27fd859f7199879f876 metadata.xml 244 +SHA256 4ed2cab70012146e3aff4186425f785a9f19c3052453708679f3783e225db197 metadata.xml 244 MD5 d9c436fea54c91a432be3eb26c07c5bb files/digest-wavegain-1.2.6 247 RMD160 5f285f44c4ce752812ca1619583cb63b3e66e4d2 files/digest-wavegain-1.2.6 247 SHA256 ba8d66be0ad30e73b5915e988aa76d63d407243e3445f5cc2159b74105d80b68 files/digest-wavegain-1.2.6 247 +MD5 d9c436fea54c91a432be3eb26c07c5bb files/digest-wavegain-1.2.6-r1 247 +RMD160 5f285f44c4ce752812ca1619583cb63b3e66e4d2 files/digest-wavegain-1.2.6-r1 247 +SHA256 ba8d66be0ad30e73b5915e988aa76d63d407243e3445f5cc2159b74105d80b68 files/digest-wavegain-1.2.6-r1 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGJRvlp5vW4rUFj5oRAq2+AJ9PhPUEX4pisuxIfS1GtRrik5g6CACgjs5G +JR/cUNMjVvV+VAMtK/tFHMw= +=pQke +-----END PGP SIGNATURE----- diff --git a/media-sound/wavegain/files/1.2.6-faulty-includes.patch b/media-sound/wavegain/files/1.2.6-faulty-includes.patch new file mode 100644 index 000000000000..039710fbf267 --- /dev/null +++ b/media-sound/wavegain/files/1.2.6-faulty-includes.patch @@ -0,0 +1,36 @@ +diff -uNr WaveGain-1.2.6.ORIG/audio.c WaveGain-1.2.6/audio.c +--- WaveGain-1.2.6.ORIG/audio.c 2007-04-17 19:31:34.000000000 +0100 ++++ WaveGain-1.2.6/audio.c 2007-04-17 19:33:01.000000000 +0100 +@@ -31,14 +31,6 @@ + #include + #include + +-#ifdef _WIN32 +-#include +-#else +-# ifndef __MACOSX__ +-# include +-# endif +-#endif +- + #include + + #ifndef __MACOSX__ +diff -uNr WaveGain-1.2.6.ORIG/wavegain.c WaveGain-1.2.6/wavegain.c +--- WaveGain-1.2.6.ORIG/wavegain.c 2007-04-17 19:31:34.000000000 +0100 ++++ WaveGain-1.2.6/wavegain.c 2007-04-17 19:33:15.000000000 +0100 +@@ -19,14 +19,6 @@ + #include + #include + +-#ifdef _WIN32 +-#include +-#else +-# ifndef __MACOSX__ +-# include +-# endif +-#endif +- + #include + + #ifndef __MACOSX__ diff --git a/media-sound/wavegain/files/digest-wavegain-1.2.6-r1 b/media-sound/wavegain/files/digest-wavegain-1.2.6-r1 new file mode 100644 index 000000000000..b470d847761f --- /dev/null +++ b/media-sound/wavegain/files/digest-wavegain-1.2.6-r1 @@ -0,0 +1,3 @@ +MD5 37facb462a3ec4f9831cd00f597ee85e wavegain-1.2.6srcs.zip 160859 +RMD160 f3cd0ebcfd588d3f5c03cf9a57b17a290fd92c60 wavegain-1.2.6srcs.zip 160859 +SHA256 32f3ea5252094c8443a54440ed5e815b044b9feeb82e6494eabbe84f95e6fc08 wavegain-1.2.6srcs.zip 160859 diff --git a/media-sound/wavegain/metadata.xml b/media-sound/wavegain/metadata.xml index 631a93180916..7c0c6d0af74d 100644 --- a/media-sound/wavegain/metadata.xml +++ b/media-sound/wavegain/metadata.xml @@ -1,16 +1,9 @@ - +sound -beandog@gentoo.org -Steve Dibb -Proxy maintainer +chainsaw@gentoo.org +Tony Vroon - -ben@berkano.net -Ben de Groot - - - diff --git a/media-sound/wavegain/wavegain-1.2.6-r1.ebuild b/media-sound/wavegain/wavegain-1.2.6-r1.ebuild new file mode 100644 index 000000000000..d97f37b1a8a8 --- /dev/null +++ b/media-sound/wavegain/wavegain-1.2.6-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/wavegain/wavegain-1.2.6-r1.ebuild,v 1.1 2007/04/17 19:13:31 chainsaw Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="ReplayGain for WAVE audio files" +HOMEPAGE="http://www.rarewares.org/files/others" +SRC_URI="http://www.rarewares.org/files/others/${P}srcs.zip" +MY_P="${P/wavegain/WaveGain}" +S="${WORKDIR}/${MY_P}" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc64" +IUSE="" +RDEPEND="media-libs/libsndfile" +DEPEND="app-arch/unzip" + +src_unpack(){ + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-faulty-includes.patch +} + +src_compile(){ + $(tc-getCC) ${CFLAGS} *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile || die "Compilation failed" +} + +src_install(){ + dobin wavegain +}