1 |
ssuominen 10/08/23 19:54:35 |
2 |
|
3 |
Modified: ChangeLog lame-3.98.4.ebuild |
4 |
Log: |
5 |
USE="static-libs" and punt .la files. |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.121 media-sound/lame/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/ChangeLog?rev=1.121&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/ChangeLog?rev=1.121&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/ChangeLog?r1=1.120&r2=1.121 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v |
18 |
retrieving revision 1.120 |
19 |
retrieving revision 1.121 |
20 |
diff -u -r1.120 -r1.121 |
21 |
--- ChangeLog 12 Apr 2010 07:02:16 -0000 1.120 |
22 |
+++ ChangeLog 23 Aug 2010 19:54:34 -0000 1.121 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for media-sound/lame |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.120 2010/04/12 07:02:16 aballier Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.121 2010/08/23 19:54:34 ssuominen Exp $ |
28 |
+ |
29 |
+ 23 Aug 2010; Samuli Suominen <ssuominen@g.o> lame-3.98.4.ebuild: |
30 |
+ USE="static-libs" and punt .la files. |
31 |
|
32 |
*lame-3.98.4 (12 Apr 2010) |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
1.2 media-sound/lame/lame-3.98.4.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild?rev=1.2&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild?rev=1.2&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild?r1=1.1&r2=1.2 |
42 |
|
43 |
Index: lame-3.98.4.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild,v |
46 |
retrieving revision 1.1 |
47 |
retrieving revision 1.2 |
48 |
diff -u -r1.1 -r1.2 |
49 |
--- lame-3.98.4.ebuild 12 Apr 2010 07:02:16 -0000 1.1 |
50 |
+++ lame-3.98.4.ebuild 23 Aug 2010 19:54:34 -0000 1.2 |
51 |
@@ -1,18 +1,18 @@ |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild,v 1.1 2010/04/12 07:02:16 aballier Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.98.4.ebuild,v 1.2 2010/08/23 19:54:34 ssuominen Exp $ |
56 |
|
57 |
-inherit flag-o-matic toolchain-funcs eutils autotools versionator |
58 |
+EAPI=2 |
59 |
+inherit autotools eutils flag-o-matic toolchain-funcs versionator |
60 |
|
61 |
DESCRIPTION="LAME Ain't an MP3 Encoder" |
62 |
HOMEPAGE="http://lame.sourceforge.net" |
63 |
- |
64 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
65 |
|
66 |
LICENSE="LGPL-2.1" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
69 |
-IUSE="debug mmx mp3rtp sndfile" |
70 |
+IUSE="debug mmx mp3rtp sndfile static-libs" |
71 |
|
72 |
RDEPEND=">=sys-libs/ncurses-5.2 |
73 |
sndfile? ( >=media-libs/libsndfile-1.0.2 )" |
74 |
@@ -20,10 +20,7 @@ |
75 |
dev-util/pkgconfig |
76 |
mmx? ( dev-lang/nasm )" |
77 |
|
78 |
-src_unpack() { |
79 |
- unpack ${A} |
80 |
- cd "${S}" |
81 |
- |
82 |
+src_prepare() { |
83 |
# The frontened tries to link staticly, but we prefer shared libs |
84 |
epatch "${FILESDIR}"/${PN}-3.98-shared-frontend.patch |
85 |
|
86 |
@@ -40,13 +37,14 @@ |
87 |
epatch "${FILESDIR}"/${PN}-3.98.2-get_audio.patch |
88 |
|
89 |
# It fails parallel make otherwise when enabling nasm... |
90 |
- mkdir "${S}/libmp3lame/i386/.libs" || die |
91 |
+ mkdir libmp3lame/i386/.libs || die |
92 |
|
93 |
AT_M4DIR="${S}" eautoreconf |
94 |
epunt_cxx # embedded bug #74498 |
95 |
} |
96 |
|
97 |
-src_compile() { |
98 |
+src_configure() { |
99 |
+ local myconf |
100 |
use sndfile && myconf="--with-fileio=sndfile" |
101 |
# The user sets compiler optimizations... But if you'd like |
102 |
# lame to choose it's own... uncomment one of these (experiMENTAL) |
103 |
@@ -54,29 +52,21 @@ |
104 |
# myconf="${myconf} --enable-expopt=norm \ |
105 |
|
106 |
econf \ |
107 |
- --enable-shared \ |
108 |
+ --disable-dependency-tracking \ |
109 |
+ $(use_enable static-libs static) \ |
110 |
$(use_enable debug debug norm) \ |
111 |
- --disable-mp3x \ |
112 |
$(use_enable mmx nasm) \ |
113 |
+ --disable-mp3x \ |
114 |
$(use_enable mp3rtp) \ |
115 |
- ${myconf} || die "econf failed" |
116 |
- |
117 |
- emake || die "emake failed" |
118 |
+ ${myconf} |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
emake DESTDIR="${D}" pkghtmldir="/usr/share/doc/${PF}/html" install || die |
123 |
+ dobin misc/mlame || die |
124 |
|
125 |
dodoc API ChangeLog HACKING README* STYLEGUIDE TODO USAGE || die |
126 |
dohtml misc/lameGUI.html Dll/LameDLLInterface.htm || die |
127 |
|
128 |
- dobin "${S}"/misc/mlame || die |
129 |
-} |
130 |
- |
131 |
-pkg_postinst(){ |
132 |
- if use mp3rtp ; then |
133 |
- ewarn "Warning, support for the encode-to-RTP program, 'mp3rtp'" |
134 |
- ewarn "is broken as of August 2001." |
135 |
- ewarn " " |
136 |
- fi |
137 |
+ find "${D}" -name '*.la' -exec rm -f '{}' + |
138 |
} |