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: ChangeLog lame-3.99.3.ebuild
Date: Mon, 28 Nov 2011 17:53:50
Message-Id: 20111128175330.27F762004B@flycatcher.gentoo.org
1 ssuominen 11/11/28 17:53:30
2
3 Modified: ChangeLog
4 Added: lame-3.99.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.136 media-sound/lame/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/ChangeLog?rev=1.136&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/ChangeLog?rev=1.136&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/ChangeLog?r1=1.135&r2=1.136
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v
20 retrieving revision 1.135
21 retrieving revision 1.136
22 diff -u -r1.135 -r1.136
23 --- ChangeLog 16 Nov 2011 17:20:05 -0000 1.135
24 +++ ChangeLog 28 Nov 2011 17:53:29 -0000 1.136
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-sound/lame
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.135 2011/11/16 17:20:05 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.136 2011/11/28 17:53:29 ssuominen Exp $
30 +
31 +*lame-3.99.3 (28 Nov 2011)
32 +
33 + 28 Nov 2011; Samuli Suominen <ssuominen@g.o> +lame-3.99.3.ebuild:
34 + Version bump.
35
36 16 Nov 2011; Samuli Suominen <ssuominen@g.o> -lame-3.98.2-r1.ebuild,
37 -files/lame-3.98.2-ffmpeg-0.5.patch, -lame-3.99.ebuild:
38
39
40
41 1.1 media-sound/lame/lame-3.99.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.99.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.99.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lame-3.99.3.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.3.ebuild,v 1.1 2011/11/28 17:53:30 ssuominen 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.2
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 AT_M4DIR=${S} eautoreconf
80 epunt_cxx #74498
81 }
82
83 src_configure() {
84 local myconf
85 use sndfile && myconf="--with-fileio=sndfile"
86
87 econf \
88 $(use_enable static-libs static) \
89 $(use_enable debug debug norm) \
90 $(use_enable mmx nasm) \
91 --disable-mp3x \
92 $(use_enable mp3rtp) \
93 --enable-dynamic-frontends \
94 ${myconf}
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" pkghtmldir="${EPREFIX}/usr/share/doc/${PF}/html" install
99 dobin misc/mlame
100
101 dodoc API ChangeLog HACKING README STYLEGUIDE TODO USAGE
102 dohtml misc/lameGUI.html Dll/LameDLLInterface.htm
103
104 find "${ED}" -name '*.la' -exec rm -f {} +
105 }