1 |
ssuominen 10/08/23 20:24:53 |
2 |
|
3 |
Modified: ChangeLog twolame-0.3.12.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.39 media-sound/twolame/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/twolame/ChangeLog?rev=1.39&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/twolame/ChangeLog?rev=1.39&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/twolame/ChangeLog?r1=1.38&r2=1.39 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/twolame/ChangeLog,v |
18 |
retrieving revision 1.38 |
19 |
retrieving revision 1.39 |
20 |
diff -u -r1.38 -r1.39 |
21 |
--- ChangeLog 4 Apr 2009 20:16:38 -0000 1.38 |
22 |
+++ ChangeLog 23 Aug 2010 20:24:52 -0000 1.39 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for media-sound/twolame |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/ChangeLog,v 1.38 2009/04/04 20:16:38 solar Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/ChangeLog,v 1.39 2010/08/23 20:24:52 ssuominen Exp $ |
29 |
+ |
30 |
+ 23 Aug 2010; Samuli Suominen <ssuominen@g.o> twolame-0.3.12.ebuild: |
31 |
+ USE="static-libs" and punt .la files. |
32 |
|
33 |
04 Apr 2009; <solar@g.o> twolame-0.3.12.ebuild: |
34 |
- Keyword ~arm |
35 |
|
36 |
|
37 |
|
38 |
1.10 media-sound/twolame/twolame-0.3.12.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild?rev=1.10&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild?rev=1.10&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild?r1=1.9&r2=1.10 |
43 |
|
44 |
Index: twolame-0.3.12.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild,v |
47 |
retrieving revision 1.9 |
48 |
retrieving revision 1.10 |
49 |
diff -u -r1.9 -r1.10 |
50 |
--- twolame-0.3.12.ebuild 4 Apr 2009 20:16:38 -0000 1.9 |
51 |
+++ twolame-0.3.12.ebuild 23 Aug 2010 20:24:52 -0000 1.10 |
52 |
@@ -1,7 +1,8 @@ |
53 |
-# Copyright 1999-2009 Gentoo Foundation |
54 |
+# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild,v 1.9 2009/04/04 20:16:38 solar Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild,v 1.10 2010/08/23 20:24:52 ssuominen Exp $ |
58 |
|
59 |
+EAPI=3 |
60 |
inherit libtool |
61 |
|
62 |
DESCRIPTION="TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder" |
63 |
@@ -11,22 +12,29 @@ |
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~arm alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" |
67 |
-IUSE="" |
68 |
+IUSE="static-libs" |
69 |
|
70 |
-DEPEND=">=media-libs/libsndfile-1" |
71 |
-RDEPEND="${DEPEND}" |
72 |
+RDEPEND=">=media-libs/libsndfile-1" |
73 |
+DEPEND="${RDEPEND} |
74 |
+ dev-util/pkgconfig" |
75 |
|
76 |
-src_unpack() { |
77 |
- unpack ${A} |
78 |
- cd "${S}" |
79 |
- sed -i -e 's:-O3::' configure |
80 |
- # Needed for FreeBSD to get a sane .so versioning. |
81 |
+src_prepare() { |
82 |
+ sed -i -e '/CFLAGS/s:-O3::' configure || die |
83 |
elibtoolize |
84 |
} |
85 |
|
86 |
+src_configure() { |
87 |
+ econf \ |
88 |
+ --disable-dependency-tracking \ |
89 |
+ $(use_enable static-libs static) |
90 |
+} |
91 |
+ |
92 |
src_install() { |
93 |
emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" \ |
94 |
- install || die "emake install failed." |
95 |
+ install || die |
96 |
+ |
97 |
dodoc AUTHORS ChangeLog README TODO |
98 |
prepalldocs |
99 |
+ |
100 |
+ find "${ED}" -name '*.la' -exec rm -f '{}' + |
101 |
} |