diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-21 16:03:38 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-21 16:03:38 +0000 |
commit | 035ee459cf8f95f3533431a8a2385160aa7d1214 (patch) | |
tree | e37abddfa2f9be6456db2e04e573aba824ed8e7c | |
parent | old (diff) | |
download | gentoo-2-035ee459cf8f95f3533431a8a2385160aa7d1214.tar.gz gentoo-2-035ee459cf8f95f3533431a8a2385160aa7d1214.tar.bz2 gentoo-2-035ee459cf8f95f3533431a8a2385160aa7d1214.zip |
old
(Portage version: 2.2_rc38/cvs/Linux x86_64)
-rw-r--r-- | media-sound/vbrfixc/files/vbrfixc-0.24-bigendian.diff | 11 | ||||
-rw-r--r-- | media-sound/vbrfixc/vbrfixc-0.24.ebuild | 15 |
2 files changed, 6 insertions, 20 deletions
diff --git a/media-sound/vbrfixc/files/vbrfixc-0.24-bigendian.diff b/media-sound/vbrfixc/files/vbrfixc-0.24-bigendian.diff deleted file mode 100644 index 69453b32926c..000000000000 --- a/media-sound/vbrfixc/files/vbrfixc-0.24-bigendian.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- vbrfixc/vbrfix.cpp.orig 2003-07-17 19:58:21.000000000 +0200 -+++ vbrfixc/vbrfix.cpp 2006-03-17 12:32:41.948814339 +0100 -@@ -348,7 +348,7 @@ - unsigned char *fred; - fred=(unsigned char*)&n; - unsigned char t[4]; -- t[0]=fred[3];t[1]=fred[2];t[2]=fred[1];t[3]=fred[0]; -+ t[0]=fred[0];t[1]=fred[1];t[2]=fred[2];t[3]=fred[3]; - outmp3.fWrite(t,4); - //fwrite(t,4,1,outmp3); - } diff --git a/media-sound/vbrfixc/vbrfixc-0.24.ebuild b/media-sound/vbrfixc/vbrfixc-0.24.ebuild index 1a64f8e7d92d..7232ba571984 100644 --- a/media-sound/vbrfixc/vbrfixc-0.24.ebuild +++ b/media-sound/vbrfixc/vbrfixc-0.24.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 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/vbrfixc/vbrfixc-0.24.ebuild,v 1.4 2008/06/29 10:15:48 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/vbrfixc/vbrfixc-0.24.ebuild,v 1.5 2009/08/21 16:03:38 ssuominen Exp $ +EAPI=2 inherit eutils DESCRIPTION="Vbrfix fixes MP3s and re-constructs VBR headers" @@ -10,22 +11,18 @@ SRC_URI="http://www.willwap.co.uk/Downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" +# bin endian ones need vbrfixc-0.24-bigendian.diff from gentoo-x86 cvs Attic KEYWORDS="amd64 x86" IUSE="" DEPEND="" -src_unpack() { - unpack ${A} - cd "${S}" - - # every bigendian arch needs this patch - #use ppc && epatch "${FILESDIR}/${P}-bigendian.diff" +src_prepare() { epatch "${FILESDIR}"/${P}-gcc43.patch } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS README TODO dohtml vbrfixc/docs/en/*.html } |