1 |
vapier 07/12/31 15:52:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libsdl-1.2.13.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.4_rc12) |
8 |
|
9 |
Revision Changes Path |
10 |
1.138 media-libs/libsdl/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsdl/ChangeLog?rev=1.138&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsdl/ChangeLog?rev=1.138&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsdl/ChangeLog?r1=1.137&r2=1.138 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v |
19 |
retrieving revision 1.137 |
20 |
retrieving revision 1.138 |
21 |
diff -u -r1.137 -r1.138 |
22 |
--- ChangeLog 30 Dec 2007 00:25:20 -0000 1.137 |
23 |
+++ ChangeLog 31 Dec 2007 15:52:00 -0000 1.138 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for media-libs/libsdl |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.137 2007/12/30 00:25:20 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.138 2007/12/31 15:52:00 vapier Exp $ |
29 |
+ |
30 |
+*libsdl-1.2.13 (31 Dec 2007) |
31 |
+ |
32 |
+ 31 Dec 2007; Mike Frysinger <vapier@g.o> +libsdl-1.2.13.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
30 Dec 2007; Mike Frysinger <vapier@g.o> libsdl-1.2.11.ebuild, |
36 |
libsdl-1.2.11-r1.ebuild, libsdl-1.2.11-r2.ebuild, libsdl-1.2.12.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 media-libs/libsdl/libsdl-1.2.13.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsdl/libsdl-1.2.13.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsdl/libsdl-1.2.13.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: libsdl-1.2.13.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.13.ebuild,v 1.1 2007/12/31 15:52:00 vapier Exp $ |
50 |
|
51 |
inherit flag-o-matic toolchain-funcs eutils libtool |
52 |
|
53 |
DESCRIPTION="Simple Direct Media Layer" |
54 |
HOMEPAGE="http://www.libsdl.org/" |
55 |
SRC_URI="http://www.libsdl.org/release/SDL-${PV}.tar.gz" |
56 |
|
57 |
LICENSE="LGPL-2.1" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
60 |
# WARNING: |
61 |
# if you have the noaudio, novideo, nojoystick, or custom-cflags use flags |
62 |
# in USE and something breaks, you pick up the pieces. Be prepared for |
63 |
# bug reports to be marked INVALID. |
64 |
IUSE="oss alsa esd arts nas X dga xv xinerama fbcon directfb ggi svga aalib opengl libcaca noaudio novideo nojoystick custom-cflags" |
65 |
|
66 |
RDEPEND="!noaudio? ( >=media-libs/audiofile-0.1.9 ) |
67 |
alsa? ( media-libs/alsa-lib ) |
68 |
esd? ( >=media-sound/esound-0.2.19 ) |
69 |
arts? ( kde-base/arts ) |
70 |
nas? ( |
71 |
media-libs/nas |
72 |
x11-libs/libXt |
73 |
x11-libs/libXext |
74 |
x11-libs/libX11 |
75 |
) |
76 |
X? ( |
77 |
x11-libs/libXt |
78 |
x11-libs/libXext |
79 |
x11-libs/libX11 |
80 |
x11-libs/libXrandr |
81 |
) |
82 |
directfb? ( >=dev-libs/DirectFB-0.9.19 ) |
83 |
ggi? ( >=media-libs/libggi-2.0_beta3 ) |
84 |
svga? ( >=media-libs/svgalib-1.4.2 ) |
85 |
aalib? ( media-libs/aalib ) |
86 |
libcaca? ( >=media-libs/libcaca-0.9-r1 ) |
87 |
opengl? ( virtual/opengl virtual/glu )" |
88 |
DEPEND="${RDEPEND} |
89 |
nas? ( |
90 |
x11-proto/xextproto |
91 |
x11-proto/xproto |
92 |
) |
93 |
X? ( |
94 |
x11-proto/xextproto |
95 |
x11-proto/xproto |
96 |
) |
97 |
x86? ( || ( >=dev-lang/yasm-0.6.0 >=dev-lang/nasm-0.98.39-r3 ) )" |
98 |
|
99 |
S=${WORKDIR}/SDL-${PV} |
100 |
|
101 |
pkg_setup() { |
102 |
if use noaudio || use novideo || use nojoystick ; then |
103 |
ewarn "Since you've chosen to turn off some of libsdl's functionality," |
104 |
ewarn "don't bother filing libsdl-related bugs until trying to remerge" |
105 |
ewarn "libsdl without the no* flags in USE. You need to know what" |
106 |
ewarn "you're doing to selectively turn off parts of libsdl." |
107 |
epause 30 |
108 |
fi |
109 |
if use custom-cflags ; then |
110 |
ewarn "Since you've chosen to use possibly unsafe CFLAGS," |
111 |
ewarn "don't bother filing libsdl-related bugs until trying to remerge" |
112 |
ewarn "libsdl without the custom-cflags use flag in USE." |
113 |
epause 10 |
114 |
fi |
115 |
} |
116 |
|
117 |
src_unpack() { |
118 |
unpack ${A} |
119 |
cd "${S}" |
120 |
|
121 |
epatch "${FILESDIR}"/${PN}-1.2.11-libcaca-new-api.patch #40224 |
122 |
epatch "${FILESDIR}"/${PN}-1.2.11-sdl-config.patch |
123 |
epatch "${FILESDIR}"/${PN}-1.2.11-xinerama-head-0.patch #145917 |
124 |
|
125 |
./autogen.sh || die "autogen failed" |
126 |
elibtoolize |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
local myconf= |
131 |
if [[ $(tc-arch) != "x86" ]] ; then |
132 |
myconf="${myconf} --disable-nasm" |
133 |
else |
134 |
myconf="${myconf} --enable-nasm" |
135 |
fi |
136 |
use custom-cflags || strip-flags |
137 |
use noaudio && myconf="${myconf} --disable-audio" |
138 |
use novideo \ |
139 |
&& myconf="${myconf} --disable-video" \ |
140 |
|| myconf="${myconf} --enable-video-dummy" |
141 |
use nojoystick && myconf="${myconf} --disable-joystick" |
142 |
|
143 |
local directfbconf="--disable-video-directfb" |
144 |
if use directfb ; then |
145 |
# since DirectFB can link against SDL and trigger a |
146 |
# dependency loop, only link against DirectFB if it |
147 |
# isn't broken #61592 |
148 |
echo 'int main(){}' > directfb-test.c |
149 |
$(tc-getCC) directfb-test.c -ldirectfb 2>/dev/null \ |
150 |
&& directfbconf="--enable-video-directfb" \ |
151 |
|| ewarn "Disabling DirectFB since libdirectfb.so is broken" |
152 |
fi |
153 |
|
154 |
myconf="${myconf} ${directfbconf}" |
155 |
|
156 |
econf \ |
157 |
--disable-dependency-tracking \ |
158 |
--disable-rpath \ |
159 |
--enable-events \ |
160 |
--enable-cdrom \ |
161 |
--enable-threads \ |
162 |
--enable-timers \ |
163 |
--enable-endian \ |
164 |
--enable-file \ |
165 |
--enable-cpuinfo \ |
166 |
$(use_enable oss) \ |
167 |
$(use_enable alsa) \ |
168 |
$(use_enable esd) \ |
169 |
$(use_enable arts) \ |
170 |
$(use_enable nas) \ |
171 |
$(use_enable X video-x11) \ |
172 |
$(use_enable dga) \ |
173 |
$(use_enable xv video-x11-xv) \ |
174 |
$(use_enable xinerama video-x11-xinerama) \ |
175 |
$(use_enable X video-x11-xrandr) \ |
176 |
$(use_enable dga video-dga) \ |
177 |
$(use_enable fbcon video-fbcon) \ |
178 |
$(use_enable ggi video-ggi) \ |
179 |
$(use_enable svga video-svga) \ |
180 |
$(use_enable aalib video-aalib) \ |
181 |
$(use_enable libcaca video-caca) \ |
182 |
$(use_enable opengl video-opengl) \ |
183 |
$(use_with X x) \ |
184 |
--disable-video-x11-xme \ |
185 |
${myconf} || die |
186 |
emake || die "emake failed" |
187 |
} |
188 |
|
189 |
src_install() { |
190 |
make DESTDIR="${D}" install || die "make install failed" |
191 |
dodoc BUGS CREDITS README README-SDL.txt README.CVS TODO WhatsNew |
192 |
dohtml -r ./ |
193 |
} |
194 |
|
195 |
|
196 |
|
197 |
-- |
198 |
gentoo-commits@g.o mailing list |