diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2007-04-17 19:13:31 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2007-04-17 19:13:31 +0000 |
commit | 55ab443e8dd2861ec6638bb8ddf22acb924540f3 (patch) | |
tree | facbc3bb865fb21557bffdfcbf4ab6bba174ce9d /media-sound/wavegain | |
parent | Stable on sparc (diff) | |
download | gentoo-2-55ab443e8dd2861ec6638bb8ddf22acb924540f3.tar.gz gentoo-2-55ab443e8dd2861ec6638bb8ddf22acb924540f3.tar.bz2 gentoo-2-55ab443e8dd2861ec6638bb8ddf22acb924540f3.zip |
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
(Portage version: 2.1.2.3)
Diffstat (limited to 'media-sound/wavegain')
-rw-r--r-- | media-sound/wavegain/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/wavegain/files/1.2.6-faulty-includes.patch | 36 | ||||
-rw-r--r-- | media-sound/wavegain/files/digest-wavegain-1.2.6-r1 | 3 | ||||
-rw-r--r-- | media-sound/wavegain/metadata.xml | 13 | ||||
-rw-r--r-- | media-sound/wavegain/wavegain-1.2.6-r1.ebuild | 31 |
5 files changed, 83 insertions, 11 deletions
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 <chainsaw@gentoo.org> + +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/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 <string.h>
+ #include <sys/types.h>
+
+-#ifdef _WIN32
+-#include <io.h>
+-#else
+-# ifndef __MACOSX__
+-# include <sys/io.h>
+-# endif
+-#endif
+-
+ #include <fcntl.h>
+
+ #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 <string.h>
+ #include <ctype.h>
+
+-#ifdef _WIN32
+-#include <io.h>
+-#else
+-# ifndef __MACOSX__
+-# include <sys/io.h>
+-# endif
+-#endif
+-
+ #include <fcntl.h>
+
+ #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 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd></herd> +<herd>sound</herd> <maintainer> -<email>beandog@gentoo.org</email> -<name>Steve Dibb</name> -<description>Proxy maintainer</description> +<email>chainsaw@gentoo.org</email> +<name>Tony Vroon</name> </maintainer> -<maintainer> -<email>ben@berkano.net</email> -<name>Ben de Groot</name> -</maintainer> -<longdescription lang="en"> -</longdescription> </pkgmetadata> 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 +} |