From d3325211fa37ef61ad008d62ccc01d356fa16f84 Mon Sep 17 00:00:00 2001
From: Samuli Suominen <ssuominen@gentoo.org>
Date: Fri, 21 Aug 2009 16:03:38 +0000
Subject: old Package-Manager: portage-2.2_rc38/cvs/Linux x86_64

---
 media-sound/vbrfixc/Manifest                          |  3 +--
 media-sound/vbrfixc/files/vbrfixc-0.24-bigendian.diff | 11 -----------
 media-sound/vbrfixc/vbrfixc-0.24.ebuild               | 15 ++++++---------
 3 files changed, 7 insertions(+), 22 deletions(-)
 delete mode 100644 media-sound/vbrfixc/files/vbrfixc-0.24-bigendian.diff

(limited to 'media-sound/vbrfixc')

diff --git a/media-sound/vbrfixc/Manifest b/media-sound/vbrfixc/Manifest
index 961053d15bdf..f891fdb34726 100644
--- a/media-sound/vbrfixc/Manifest
+++ b/media-sound/vbrfixc/Manifest
@@ -1,6 +1,5 @@
-AUX vbrfixc-0.24-bigendian.diff 383 RMD160 2bf768a4bc2dd67df1c59868292ed007a0b9d0be SHA1 8a7032c2d80a5c32cc1088b07dd858b24c24145f SHA256 5fcc79cf877c98414dbde8cecbf9b003b91418f64440a6afbde777025ad50239
 AUX vbrfixc-0.24-gcc43.patch 489 RMD160 183211d4d60573219e3232209babdd49b47e282d SHA1 d680330f9c949f78398db9d15b2fcd6aa2720d0e SHA256 7907b35008574fba7d7a794df796fecd934b728932e8454834a172b4b2dfc5c9
 DIST vbrfixc-0.24.tar.gz 656877 RMD160 f3c13c38d9abbfe03894875199a50063836d94b4 SHA1 9aec6cf13ce3718c52b04b8fa123690997837d23 SHA256 02d6363949407ac0e4b39ed76c60e49de0c286dbdce4f15363f771320430b364
-EBUILD vbrfixc-0.24.ebuild 793 RMD160 f0207a925128a304caac8dde427693c8b8e7f15b SHA1 edbf01965b83c2cc65f8ba3e89c7237b77d2f13b SHA256 19fbd5cb03881da497a8c15aacdd9d18ff47a722be9a6897b969e41c4b6570c5
+EBUILD vbrfixc-0.24.ebuild 761 RMD160 cd67b67ab9bfcd68de8196c2df3c0c7136e37b06 SHA1 5f099542b61e8a6a91b08aeec33acfe1f909fe13 SHA256 fa960cc644085f8b4f2dd948f4b5bebc0048da409aaad5d400113b52dae05071
 MISC ChangeLog 876 RMD160 e90fee16b809ff3034b2643d5b7d747a5ecb9eeb SHA1 07939d576aa1e396544556b7cd446c2caf8258fc SHA256 bd722408b262ead6bc180a0a6a605693bc53dd38727002f2291e109abcae3235
 MISC metadata.xml 531 RMD160 669ed8063a513bdbc2e05519e328840d5643a08b SHA1 a960102b8da0ded22a54b4583b5908a51168baae SHA256 1cbed1c474eca95960e55ade37cae4956e18caaa12d1f2b16357cef1cce1bad7
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
 }
-- 
cgit v1.2.3-65-gdbad