1 |
mr_bones_ 10/07/27 00:33:06 |
2 |
|
3 |
Modified: ChangeLog sdl-sound-1.0.3.ebuild |
4 |
Log: |
5 |
add IUSE=static-libs support |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.39 media-libs/sdl-sound/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/ChangeLog?rev=1.39&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/ChangeLog?rev=1.39&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/ChangeLog?r1=1.38&r2=1.39 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/ChangeLog,v |
18 |
retrieving revision 1.38 |
19 |
retrieving revision 1.39 |
20 |
diff -u -r1.38 -r1.39 |
21 |
--- ChangeLog 25 May 2008 07:04:05 -0000 1.38 |
22 |
+++ ChangeLog 27 Jul 2010 00:33:06 -0000 1.39 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for media-libs/sdl-sound |
25 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/ChangeLog,v 1.38 2008/05/25 07:04:05 corsair Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/ChangeLog,v 1.39 2010/07/27 00:33:06 mr_bones_ Exp $ |
29 |
+ |
30 |
+ 27 Jul 2010; Michael Sterrett <mr_bones_@g.o> |
31 |
+ sdl-sound-1.0.3.ebuild: |
32 |
+ add IUSE=static-libs support |
33 |
|
34 |
25 May 2008; Markus Rothe <corsair@g.o> sdl-sound-1.0.3.ebuild: |
35 |
Stable on ppc64; bug #223243 |
36 |
|
37 |
|
38 |
|
39 |
1.6 media-libs/sdl-sound/sdl-sound-1.0.3.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild?rev=1.6&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild?rev=1.6&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild?r1=1.5&r2=1.6 |
44 |
|
45 |
Index: sdl-sound-1.0.3.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild,v |
48 |
retrieving revision 1.5 |
49 |
retrieving revision 1.6 |
50 |
diff -u -r1.5 -r1.6 |
51 |
--- sdl-sound-1.0.3.ebuild 25 May 2008 07:04:05 -0000 1.5 |
52 |
+++ sdl-sound-1.0.3.ebuild 27 Jul 2010 00:33:06 -0000 1.6 |
53 |
@@ -1,6 +1,6 @@ |
54 |
-# Copyright 1999-2008 Gentoo Foundation |
55 |
+# Copyright 1999-2010 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild,v 1.5 2008/05/25 07:04:05 corsair Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild,v 1.6 2010/07/27 00:33:06 mr_bones_ Exp $ |
59 |
|
60 |
MY_P="${P/sdl-/SDL_}" |
61 |
DESCRIPTION="A library that handles the decoding of sound file formats" |
62 |
@@ -10,7 +10,7 @@ |
63 |
LICENSE="LGPL-2.1" |
64 |
SLOT="0" |
65 |
KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd" |
66 |
-IUSE="flac mikmod vorbis speex physfs mp3 mpeg" |
67 |
+IUSE="flac mikmod mp3 mpeg physfs speex static-libs vorbis" |
68 |
|
69 |
RDEPEND=">=media-libs/libsdl-1.2 |
70 |
flac? ( media-libs/flac ) |
71 |
@@ -32,6 +32,7 @@ |
72 |
$(use_enable mp3 mpglib) \ |
73 |
$(use_enable flac) \ |
74 |
$(use_enable speex) \ |
75 |
+ $(use_enable static-libs static) \ |
76 |
$(use_enable mikmod) \ |
77 |
$(use_enable mikmod modplug) \ |
78 |
$(use_enable physfs) \ |
79 |
@@ -43,4 +44,8 @@ |
80 |
src_install() { |
81 |
emake DESTDIR="${D}" install || die "make install failed" |
82 |
dodoc CHANGELOG CREDITS README TODO |
83 |
+ if ! use static-libs ; then |
84 |
+ find "${D}" -type f -name '*.la' -exec rm {} + \ |
85 |
+ || die "la removal failed" |
86 |
+ fi |
87 |
} |