Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mp3splt: mp3splt-2.1.ebuild
Date: Mon, 01 Jun 2009 15:03:41
Message-Id: E1MB934-0000tk-Vb@stork.gentoo.org
1 ssuominen 09/06/01 15:03:38
2
3 Modified: mp3splt-2.1.ebuild
4 Log:
5 Fix repoman warning
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.12 media-sound/mp3splt/mp3splt-2.1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3splt/mp3splt-2.1.ebuild?rev=1.12&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3splt/mp3splt-2.1.ebuild?rev=1.12&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3splt/mp3splt-2.1.ebuild?r1=1.11&r2=1.12
14
15 Index: mp3splt-2.1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/mp3splt/mp3splt-2.1.ebuild,v
18 retrieving revision 1.11
19 retrieving revision 1.12
20 diff -u -r1.11 -r1.12
21 --- mp3splt-2.1.ebuild 11 Jan 2007 16:44:11 -0000 1.11
22 +++ mp3splt-2.1.ebuild 1 Jun 2009 15:03:38 -0000 1.12
23 @@ -1,7 +1,8 @@
24 -# Copyright 1999-2007 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3splt/mp3splt-2.1.ebuild,v 1.11 2007/01/11 16:44:11 corsair Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3splt/mp3splt-2.1.ebuild,v 1.12 2009/06/01 15:03:38 ssuominen Exp $
29
30 +EAPI=2
31 inherit eutils
32
33 DESCRIPTION="A command line utility to split mp3 and vorbis files"
34 @@ -13,26 +14,20 @@
35 KEYWORDS="alpha amd64 ~hppa -mips ppc ~ppc64 sparc x86"
36 IUSE="vorbis"
37
38 -DEPEND="vorbis? ( media-libs/libvorbis )
39 +RDEPEND="vorbis? ( media-libs/libvorbis )
40 media-libs/libmad"
41 +DEPEND="${RDEPEND}"
42
43 -src_unpack() {
44 - unpack ${A}
45 -
46 +src_prepare() {
47 epatch "${FILESDIR}"/${P}-gcc41.patch
48 }
49
50 -src_compile() {
51 - local myconf
52 -
53 - # --enable-ogg doesn't enable ogg...
54 - use vorbis || myconf="--disable-ogg"
55 - econf ${myconf} || die "econf failed"
56 -
57 - emake || die "build failed"
58 +src_configure() {
59 + use vorbis || local myconf="--disable-ogg"
60 + econf ${myconf}
61 }
62
63 src_install() {
64 - make DESTDIR="${D}" install || die "make install failed"
65 + emake DESTDIR="${D}" install || die "emake install failed"
66 dodoc AUTHORS ChangeLog NEWS README
67 }