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/lame: lame-3.98.4.ebuild
Date: Mon, 23 Aug 2010 20:06:38
Message-Id: 20100823200634.CC9572004A@flycatcher.gentoo.org
1 ssuominen 10/08/23 20:06:34
2
3 Modified: lame-3.98.4.ebuild
4 Log:
5 clean up
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.3 media-sound/lame/lame-3.98.4.ebuild
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild?r1=1.2&r2=1.3
14
15 Index: lame-3.98.4.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- lame-3.98.4.ebuild 23 Aug 2010 19:54:34 -0000 1.2
22 +++ lame-3.98.4.ebuild 23 Aug 2010 20:06:34 -0000 1.3
23 @@ -1,9 +1,9 @@
24 # Copyright 1999-2010 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild,v 1.2 2010/08/23 19:54:34 ssuominen Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild,v 1.3 2010/08/23 20:06:34 ssuominen Exp $
28
29 EAPI=2
30 -inherit autotools eutils flag-o-matic toolchain-funcs versionator
31 +inherit autotools eutils
32
33 DESCRIPTION="LAME Ain't an MP3 Encoder"
34 HOMEPAGE="http://lame.sourceforge.net"
35 @@ -21,35 +21,21 @@
36 mmx? ( dev-lang/nasm )"
37
38 src_prepare() {
39 - # The frontened tries to link staticly, but we prefer shared libs
40 - epatch "${FILESDIR}"/${PN}-3.98-shared-frontend.patch
41 + epatch \
42 + "${FILESDIR}"/${PN}-3.98-shared-frontend.patch \
43 + "${FILESDIR}"/${PN}-3.96-ccc.patch \
44 + "${FILESDIR}"/${PN}-3.98-gtk-path.patch \
45 + "${FILESDIR}"/${PN}-3.98.2-get_audio.patch
46
47 - # If ccc (alpha compiler) is installed on the system, the default
48 - # configure is broken, fix it to respect CC. This is only
49 - # directly broken for ARCH=alpha but would affect anybody with a
50 - # ccc binary in their PATH. Bug #41908 (26 Jul 2004 agriffis)
51 - epatch "${FILESDIR}"/${PN}-3.96-ccc.patch
52 -
53 - # Patch gtk stuff, otherwise eautoreconf dies
54 - epatch "${FILESDIR}"/${PN}-3.98-gtk-path.patch
55 -
56 - # Read and write from std* when sndfile is used
57 - epatch "${FILESDIR}"/${PN}-3.98.2-get_audio.patch
58 -
59 - # It fails parallel make otherwise when enabling nasm...
60 - mkdir libmp3lame/i386/.libs || die
61 + mkdir libmp3lame/i386/.libs || die #workaround parallel build with nasm
62
63 AT_M4DIR="${S}" eautoreconf
64 - epunt_cxx # embedded bug #74498
65 + epunt_cxx #74498
66 }
67
68 src_configure() {
69 local myconf
70 use sndfile && myconf="--with-fileio=sndfile"
71 - # The user sets compiler optimizations... But if you'd like
72 - # lame to choose it's own... uncomment one of these (experiMENTAL)
73 - # myconf="${myconf} --enable-expopt=full \
74 - # myconf="${myconf} --enable-expopt=norm \
75
76 econf \
77 --disable-dependency-tracking \