Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/lame: ChangeLog lame-3.99.5.ebuild
Date: Thu, 01 Mar 2012 12:14:56
Message-Id: 20120301121446.A4B072004B@flycatcher.gentoo.org
1 aballier 12/03/01 12:14:46
2
3 Modified: ChangeLog
4 Added: lame-3.99.5.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.146 media-sound/lame/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/ChangeLog?rev=1.146&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/ChangeLog?rev=1.146&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/ChangeLog?r1=1.145&r2=1.146
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v
20 retrieving revision 1.145
21 retrieving revision 1.146
22 diff -u -r1.145 -r1.146
23 --- ChangeLog 4 Feb 2012 16:52:02 -0000 1.145
24 +++ ChangeLog 1 Mar 2012 12:14:46 -0000 1.146
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-sound/lame
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.145 2012/02/04 16:52:02 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.146 2012/03/01 12:14:46 aballier Exp $
30 +
31 +*lame-3.99.5 (01 Mar 2012)
32 +
33 + 01 Mar 2012; Alexis Ballier <aballier@g.o> +lame-3.99.5.ebuild:
34 + version bump
35
36 *lame-3.99.4 (04 Feb 2012)
37
38
39
40
41 1.1 media-sound/lame/lame-3.99.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.99.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.99.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lame-3.99.5.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.99.5.ebuild,v 1.1 2012/03/01 12:14:46 aballier Exp $
51
52 EAPI=4
53 inherit autotools eutils
54
55 DESCRIPTION="LAME Ain't an MP3 Encoder"
56 HOMEPAGE="http://lame.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
58
59 LICENSE="LGPL-2.1"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
62 IUSE="debug mmx mp3rtp sndfile static-libs"
63
64 RDEPEND=">=sys-libs/ncurses-5.7-r7
65 sndfile? ( >=media-libs/libsndfile-1.0.2 )"
66 DEPEND="${RDEPEND}
67 dev-util/pkgconfig
68 mmx? ( dev-lang/nasm )"
69
70 src_prepare() {
71 epatch \
72 "${FILESDIR}"/${PN}-3.96-ccc.patch \
73 "${FILESDIR}"/${PN}-3.98-gtk-path.patch
74
75 mkdir libmp3lame/i386/.libs || die #workaround parallel build with nasm
76
77 sed -i -e '/define sp/s/+/ + /g' libmp3lame/i386/nasm.h || die
78
79 use mmx || sed -i -e '/AC_PATH_PROG/s:nasm:dIsAbLe&:' configure.in #361879
80
81 AT_M4DIR=${S} eautoreconf
82 epunt_cxx #74498
83 }
84
85 src_configure() {
86 local myconf
87 use mmx && myconf+="--enable-nasm" #361879
88 use sndfile && myconf+=" --with-fileio=sndfile"
89
90 econf \
91 $(use_enable static-libs static) \
92 $(use_enable debug debug norm) \
93 --disable-mp3x \
94 $(use_enable mp3rtp) \
95 --enable-dynamic-frontends \
96 ${myconf}
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" pkghtmldir="${EPREFIX}/usr/share/doc/${PF}/html" install
101 dobin misc/mlame
102
103 dodoc API ChangeLog HACKING README STYLEGUIDE TODO USAGE
104 dohtml misc/lameGUI.html Dll/LameDLLInterface.htm
105
106 find "${ED}" -name '*.la' -exec rm -f {} +
107 }