Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/wine: wine-1.2.ebuild wine-1.2.1.ebuild wine-1.2.3.ebuild wine-9999.ebuild wine-1.5.7.ebuild ChangeLog wine-1.2.2.ebuild wine-1.4.1.ebuild
Date: Sun, 24 Jun 2012 23:23:22
Message-Id: 20120624232312.3A9412004B@flycatcher.gentoo.org
1 tetromino 12/06/24 23:23:12
2
3 Modified: wine-1.2.ebuild wine-1.2.1.ebuild wine-1.2.3.ebuild
4 wine-9999.ebuild ChangeLog wine-1.2.2.ebuild
5 Added: wine-1.5.7.ebuild wine-1.4.1.ebuild
6 Log:
7 Bump, see http://www.winehq.org/announce/1.5.7 and http://www.winehq.org/announce/1.4.1 for the announcements. Enable optional native pulseaudio support for 1.5.7 (bug #421365, thanks to Lee Trager). Fix emul-linux-x86-soundlibs dependency (bug #423093, thanks to Pacho Ramos).
8
9 (Portage version: 2.2.0_alpha112/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.22 app-emulation/wine/wine-1.2.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.ebuild?rev=1.22&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.ebuild?rev=1.22&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.ebuild?r1=1.21&r2=1.22
17
18 Index: wine-1.2.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.ebuild,v
21 retrieving revision 1.21
22 retrieving revision 1.22
23 diff -u -r1.21 -r1.22
24 --- wine-1.2.ebuild 10 Jun 2012 03:24:21 -0000 1.21
25 +++ wine-1.2.ebuild 24 Jun 2012 23:23:11 -0000 1.22
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2012 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.ebuild,v 1.21 2012/06/10 03:24:21 tetromino Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.ebuild,v 1.22 2012/06/24 23:23:11 tetromino Exp $
31
32 EAPI="4"
33
34 @@ -72,7 +72,7 @@
35 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
36 X? (
37 >=app-emulation/emul-linux-x86-xlibs-2.1
38 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?]
39 + >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
40 )
41 mp3? ( app-emulation/emul-linux-x86-soundlibs )
42 openal? ( app-emulation/emul-linux-x86-sdl )
43
44
45
46 1.19 app-emulation/wine/wine-1.2.1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.1.ebuild?rev=1.19&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.1.ebuild?rev=1.19&content-type=text/plain
50 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.1.ebuild?r1=1.18&r2=1.19
51
52 Index: wine-1.2.1.ebuild
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.1.ebuild,v
55 retrieving revision 1.18
56 retrieving revision 1.19
57 diff -u -r1.18 -r1.19
58 --- wine-1.2.1.ebuild 10 Jun 2012 03:24:21 -0000 1.18
59 +++ wine-1.2.1.ebuild 24 Jun 2012 23:23:11 -0000 1.19
60 @@ -1,6 +1,6 @@
61 # Copyright 1999-2012 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.1.ebuild,v 1.18 2012/06/10 03:24:21 tetromino Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.1.ebuild,v 1.19 2012/06/24 23:23:11 tetromino Exp $
65
66 EAPI="4"
67
68 @@ -37,7 +37,7 @@
69 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
70 X? (
71 >=app-emulation/emul-linux-x86-xlibs-2.1
72 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?]
73 + >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
74 )
75 mp3? ( app-emulation/emul-linux-x86-soundlibs )
76 openal? ( app-emulation/emul-linux-x86-sdl )
77
78
79
80 1.17 app-emulation/wine/wine-1.2.3.ebuild
81
82 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.3.ebuild?rev=1.17&view=markup
83 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.3.ebuild?rev=1.17&content-type=text/plain
84 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.3.ebuild?r1=1.16&r2=1.17
85
86 Index: wine-1.2.3.ebuild
87 ===================================================================
88 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.3.ebuild,v
89 retrieving revision 1.16
90 retrieving revision 1.17
91 diff -u -r1.16 -r1.17
92 --- wine-1.2.3.ebuild 10 Jun 2012 03:24:21 -0000 1.16
93 +++ wine-1.2.3.ebuild 24 Jun 2012 23:23:11 -0000 1.17
94 @@ -1,6 +1,6 @@
95 # Copyright 1999-2012 Gentoo Foundation
96 # Distributed under the terms of the GNU General Public License v2
97 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.3.ebuild,v 1.16 2012/06/10 03:24:21 tetromino Exp $
98 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.3.ebuild,v 1.17 2012/06/24 23:23:11 tetromino Exp $
99
100 EAPI="4"
101
102 @@ -38,7 +38,7 @@
103 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
104 X? (
105 >=app-emulation/emul-linux-x86-xlibs-2.1
106 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?]
107 + >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
108 )
109 mp3? ( app-emulation/emul-linux-x86-soundlibs )
110 openal? ( app-emulation/emul-linux-x86-sdl )
111
112
113
114 1.110 app-emulation/wine/wine-9999.ebuild
115
116 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-9999.ebuild?rev=1.110&view=markup
117 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-9999.ebuild?rev=1.110&content-type=text/plain
118 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-9999.ebuild?r1=1.109&r2=1.110
119
120 Index: wine-9999.ebuild
121 ===================================================================
122 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v
123 retrieving revision 1.109
124 retrieving revision 1.110
125 diff -u -r1.109 -r1.110
126 --- wine-9999.ebuild 10 Jun 2012 03:24:21 -0000 1.109
127 +++ wine-9999.ebuild 24 Jun 2012 23:23:11 -0000 1.110
128 @@ -1,6 +1,6 @@
129 # Copyright 1999-2012 Gentoo Foundation
130 # Distributed under the terms of the GNU General Public License v2
131 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.109 2012/06/10 03:24:21 tetromino Exp $
132 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.110 2012/06/24 23:23:11 tetromino Exp $
133
134 EAPI="4"
135
136 @@ -18,8 +18,9 @@
137 S=${WORKDIR}/${MY_P}
138 fi
139
140 -GV="1.5"
141 +GV="1.6"
142 MV="0.0.4"
143 +PULSE_PATCH="winepulse-2012.06.15.patch"
144 DESCRIPTION="free implementation of Windows(tm) on Unix"
145 HOMEPAGE="http://www.winehq.org/"
146 SRC_URI="${SRC_URI}
147 @@ -27,11 +28,12 @@
148 mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
149 win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
150 )
151 - mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )"
152 + mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
153 + http://source.winehq.org/patches/data/87234 -> ${PULSE_PATCH}"
154
155 LICENSE="LGPL-2.1"
156 SLOT="0"
157 -IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl +oss +perl png samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
158 +IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
159 REQUIRED_USE="elibc_glibc? ( threads )
160 mono? ( || ( win32 !win64 ) )" #286560
161 RESTRICT="test" #72375
162 @@ -40,7 +42,7 @@
163 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
164 X? (
165 >=app-emulation/emul-linux-x86-xlibs-2.1
166 - >=app-emulation/emul-linux-x86-soundlibs-2.1
167 + >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
168 )
169 mp3? ( app-emulation/emul-linux-x86-soundlibs )
170 odbc? ( app-emulation/emul-linux-x86-db )
171 @@ -60,7 +62,7 @@
172 openal? ( media-libs/openal )
173 udisks? (
174 sys-apps/dbus
175 - sys-fs/udisks:0
176 + sys-fs/udisks:2
177 )
178 gnutls? ( net-libs/gnutls )
179 gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
180 @@ -84,6 +86,7 @@
181 mp3? ( >=media-sound/mpg123-1.5.0 )
182 nls? ( sys-devel/gettext )
183 odbc? ( dev-db/unixODBC )
184 + pulseaudio? ( media-sound/pulseaudio )
185 samba? ( >=net-fs/samba-3.0.25 )
186 selinux? ( sec-policy/selinux-wine )
187 xml? ( dev-libs/libxml2 dev-libs/libxslt )
188 @@ -127,6 +130,7 @@
189 src_prepare() {
190 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
191 epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
192 + epatch "${DISTDIR}/${PULSE_PATCH}" #421365
193 epatch_user #282735
194 eautoreconf
195 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
196 @@ -164,6 +168,7 @@
197 $(use_with oss) \
198 $(use_with png) \
199 $(use_with threads pthread) \
200 + $(use_with pulseaudio pulse) \
201 $(use_with scanner sane) \
202 $(use_enable test tests) \
203 $(use_with truetype freetype) \
204
205
206
207 1.416 app-emulation/wine/ChangeLog
208
209 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.416&view=markup
210 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.416&content-type=text/plain
211 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?r1=1.415&r2=1.416
212
213 Index: ChangeLog
214 ===================================================================
215 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v
216 retrieving revision 1.415
217 retrieving revision 1.416
218 diff -u -r1.415 -r1.416
219 --- ChangeLog 10 Jun 2012 03:24:21 -0000 1.415
220 +++ ChangeLog 24 Jun 2012 23:23:11 -0000 1.416
221 @@ -1,6 +1,17 @@
222 # ChangeLog for app-emulation/wine
223 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
224 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.415 2012/06/10 03:24:21 tetromino Exp $
225 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.416 2012/06/24 23:23:11 tetromino Exp $
226 +
227 +*wine-1.5.7 (24 Jun 2012)
228 +*wine-1.4.1 (24 Jun 2012)
229 +
230 + 24 Jun 2012; Alexandre Rostovtsev <tetromino@g.o> wine-1.2.ebuild,
231 + wine-1.2.1.ebuild, wine-1.2.2.ebuild, wine-1.2.3.ebuild, +wine-1.4.1.ebuild,
232 + +wine-1.5.7.ebuild, wine-9999.ebuild:
233 + Bump, see http://www.winehq.org/announce/1.5.7 and
234 + http://www.winehq.org/announce/1.4.1 for the announcements. Enable optional
235 + native pulseaudio support for 1.5.7 (bug #421365, thanks to Lee Trager). Fix
236 + emul-linux-x86-soundlibs dependency (bug #423093, thanks to Pacho Ramos).
237
238 *wine-1.5.6 (10 Jun 2012)
239
240
241
242
243 1.18 app-emulation/wine/wine-1.2.2.ebuild
244
245 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.2.ebuild?rev=1.18&view=markup
246 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.2.ebuild?rev=1.18&content-type=text/plain
247 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.2.2.ebuild?r1=1.17&r2=1.18
248
249 Index: wine-1.2.2.ebuild
250 ===================================================================
251 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.2.ebuild,v
252 retrieving revision 1.17
253 retrieving revision 1.18
254 diff -u -r1.17 -r1.18
255 --- wine-1.2.2.ebuild 10 Jun 2012 03:24:21 -0000 1.17
256 +++ wine-1.2.2.ebuild 24 Jun 2012 23:23:11 -0000 1.18
257 @@ -1,6 +1,6 @@
258 # Copyright 1999-2012 Gentoo Foundation
259 # Distributed under the terms of the GNU General Public License v2
260 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.2.ebuild,v 1.17 2012/06/10 03:24:21 tetromino Exp $
261 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.2.ebuild,v 1.18 2012/06/24 23:23:11 tetromino Exp $
262
263 EAPI="4"
264
265 @@ -38,7 +38,7 @@
266 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
267 X? (
268 >=app-emulation/emul-linux-x86-xlibs-2.1
269 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?]
270 + >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
271 )
272 mp3? ( app-emulation/emul-linux-x86-soundlibs )
273 openal? ( app-emulation/emul-linux-x86-sdl )
274
275
276
277 1.1 app-emulation/wine/wine-1.5.7.ebuild
278
279 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.5.7.ebuild?rev=1.1&view=markup
280 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.5.7.ebuild?rev=1.1&content-type=text/plain
281
282 Index: wine-1.5.7.ebuild
283 ===================================================================
284 # Copyright 1999-2012 Gentoo Foundation
285 # Distributed under the terms of the GNU General Public License v2
286 # $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.7.ebuild,v 1.1 2012/06/24 23:23:11 tetromino Exp $
287
288 EAPI="4"
289
290 inherit autotools eutils flag-o-matic multilib pax-utils
291
292 if [[ ${PV} == "9999" ]] ; then
293 EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
294 inherit git-2
295 SRC_URI=""
296 #KEYWORDS=""
297 else
298 MY_P="${PN}-${PV/_/-}"
299 SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
300 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
301 S=${WORKDIR}/${MY_P}
302 fi
303
304 GV="1.6"
305 MV="0.0.4"
306 PULSE_PATCH="winepulse-2012.06.15.patch"
307 DESCRIPTION="free implementation of Windows(tm) on Unix"
308 HOMEPAGE="http://www.winehq.org/"
309 SRC_URI="${SRC_URI}
310 gecko? (
311 mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
312 win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
313 )
314 mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
315 http://source.winehq.org/patches/data/87234 -> ${PULSE_PATCH}"
316
317 LICENSE="LGPL-2.1"
318 SLOT="0"
319 IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
320 REQUIRED_USE="elibc_glibc? ( threads )
321 mono? ( || ( win32 !win64 ) )" #286560
322 RESTRICT="test" #72375
323
324 MLIB_DEPS="amd64? (
325 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
326 X? (
327 >=app-emulation/emul-linux-x86-xlibs-2.1
328 >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
329 )
330 mp3? ( app-emulation/emul-linux-x86-soundlibs )
331 odbc? ( app-emulation/emul-linux-x86-db )
332 openal? ( app-emulation/emul-linux-x86-sdl )
333 opengl? ( app-emulation/emul-linux-x86-opengl )
334 scanner? ( app-emulation/emul-linux-x86-medialibs )
335 v4l? ( app-emulation/emul-linux-x86-medialibs )
336 app-emulation/emul-linux-x86-baselibs
337 >=sys-kernel/linux-headers-2.6
338 )"
339 RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
340 perl? ( dev-lang/perl dev-perl/XML-Simple )
341 capi? ( net-dialup/capi4k-utils )
342 ncurses? ( >=sys-libs/ncurses-5.2 )
343 fontconfig? ( media-libs/fontconfig )
344 gphoto2? ( media-libs/libgphoto2 )
345 openal? ( media-libs/openal )
346 udisks? (
347 sys-apps/dbus
348 sys-fs/udisks:2
349 )
350 gnutls? ( net-libs/gnutls )
351 gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
352 X? (
353 x11-libs/libXcursor
354 x11-libs/libXrandr
355 x11-libs/libXi
356 x11-libs/libXmu
357 x11-libs/libXxf86vm
358 x11-apps/xmessage
359 )
360 xinerama? ( x11-libs/libXinerama )
361 alsa? ( media-libs/alsa-lib )
362 cups? ( net-print/cups )
363 opencl? ( virtual/opencl )
364 opengl? ( virtual/opengl )
365 gsm? ( media-sound/gsm )
366 jpeg? ( virtual/jpeg )
367 ldap? ( net-nds/openldap )
368 lcms? ( =media-libs/lcms-1* )
369 mp3? ( >=media-sound/mpg123-1.5.0 )
370 nls? ( sys-devel/gettext )
371 odbc? ( dev-db/unixODBC )
372 pulseaudio? ( media-sound/pulseaudio )
373 samba? ( >=net-fs/samba-3.0.25 )
374 selinux? ( sec-policy/selinux-wine )
375 xml? ( dev-libs/libxml2 dev-libs/libxslt )
376 scanner? ( media-gfx/sane-backends )
377 ssl? ( dev-libs/openssl )
378 png? ( media-libs/libpng )
379 v4l? ( media-libs/libv4l )
380 !win64? ( ${MLIB_DEPS} )
381 win32? ( ${MLIB_DEPS} )
382 xcomposite? ( x11-libs/libXcomposite )"
383 DEPEND="${RDEPEND}
384 X? (
385 x11-proto/inputproto
386 x11-proto/xextproto
387 x11-proto/xf86vidmodeproto
388 )
389 xinerama? ( x11-proto/xineramaproto )
390 !hardened? ( sys-devel/prelink )
391 virtual/pkgconfig
392 virtual/yacc
393 sys-devel/flex"
394
395 src_unpack() {
396 if use win64 ; then
397 [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
398 && die "you need gcc-4.4+ to build 64bit wine"
399 fi
400
401 if use win32 && use opencl; then
402 [[ x$(eselect opencl show) = "xintel" ]] &&
403 die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
404 fi
405
406 if [[ ${PV} == "9999" ]] ; then
407 git-2_src_unpack
408 else
409 unpack ${MY_P}.tar.bz2
410 fi
411 }
412
413 src_prepare() {
414 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
415 epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
416 epatch "${DISTDIR}/${PULSE_PATCH}" #421365
417 epatch_user #282735
418 eautoreconf
419 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
420 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
421 }
422
423 do_configure() {
424 local builddir="${WORKDIR}/wine$1"
425 mkdir -p "${builddir}"
426 pushd "${builddir}" >/dev/null
427
428 ECONF_SOURCE=${S} \
429 econf \
430 --sysconfdir=/etc/wine \
431 $(use_with alsa) \
432 $(use_with capi) \
433 $(use_with lcms cms) \
434 $(use_with cups) \
435 $(use_with ncurses curses) \
436 $(use_with udisks dbus) \
437 $(use_with fontconfig) \
438 $(use_with gnutls) \
439 $(use_with gphoto2 gphoto) \
440 $(use_with gsm) \
441 $(use_with gstreamer) \
442 --without-hal \
443 $(use_with jpeg) \
444 $(use_with ldap) \
445 $(use_with mp3 mpg123) \
446 $(use_with nls gettext) \
447 $(use_with openal) \
448 $(use_with opencl) \
449 $(use_with opengl) \
450 $(use_with ssl openssl) \
451 $(use_with oss) \
452 $(use_with png) \
453 $(use_with threads pthread) \
454 $(use_with pulseaudio pulse) \
455 $(use_with scanner sane) \
456 $(use_enable test tests) \
457 $(use_with truetype freetype) \
458 $(use_with v4l) \
459 $(use_with X x) \
460 $(use_with xcomposite) \
461 $(use_with xinerama) \
462 $(use_with xml) \
463 $(use_with xml xslt) \
464 $2
465
466 emake -j1 depend
467
468 popd >/dev/null
469 }
470
471 src_configure() {
472 export LDCONFIG=/bin/true
473 use custom-cflags || strip-flags
474
475 if use win64 ; then
476 do_configure 64 --enable-win64
477 use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
478 else
479 ABI=x86 do_configure 32 --disable-win64
480 fi
481 }
482
483 src_compile() {
484 local b
485 for b in 64 32 ; do
486 local builddir="${WORKDIR}/wine${b}"
487 [[ -d ${builddir} ]] || continue
488 emake -C "${builddir}" all
489 done
490 }
491
492 src_install() {
493 local b
494 for b in 64 32 ; do
495 local builddir="${WORKDIR}/wine${b}"
496 [[ -d ${builddir} ]] || continue
497 emake -C "${builddir}" install DESTDIR="${D}"
498 done
499 dodoc ANNOUNCE AUTHORS README
500 if use gecko ; then
501 insinto /usr/share/wine/gecko
502 doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
503 use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
504 fi
505 if use mono ; then
506 insinto /usr/share/wine/mono
507 doins "${DISTDIR}"/wine-mono-${MV}.msi
508 fi
509 if ! use perl ; then
510 rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
511 fi
512
513 if use win32 || ! use win64; then
514 pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
515 fi
516 use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
517
518 if use win64 && ! use win32; then
519 dosym /usr/bin/wine{64,} # 404331
520 dosym /usr/bin/wine{64,}-preloader
521 fi
522 }
523
524
525
526 1.1 app-emulation/wine/wine-1.4.1.ebuild
527
528 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.4.1.ebuild?rev=1.1&view=markup
529 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.4.1.ebuild?rev=1.1&content-type=text/plain
530
531 Index: wine-1.4.1.ebuild
532 ===================================================================
533 # Copyright 1999-2012 Gentoo Foundation
534 # Distributed under the terms of the GNU General Public License v2
535 # $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.4.1.ebuild,v 1.1 2012/06/24 23:23:11 tetromino Exp $
536
537 EAPI="4"
538
539 inherit autotools eutils flag-o-matic multilib pax-utils
540
541 if [[ ${PV} == "9999" ]] ; then
542 EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
543 inherit git-2
544 SRC_URI=""
545 #KEYWORDS=""
546 else
547 MY_P="${PN}-${PV/_/-}"
548 SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
549 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
550 S=${WORKDIR}/${MY_P}
551 fi
552
553 GV="1.4"
554 DESCRIPTION="free implementation of Windows(tm) on Unix"
555 HOMEPAGE="http://www.winehq.org/"
556 SRC_URI="${SRC_URI}
557 gecko? (
558 mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
559 win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
560 )"
561
562 LICENSE="LGPL-2.1"
563 SLOT="0"
564 IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap mp3 ncurses nls odbc openal opencl +opengl +oss +perl png samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
565 REQUIRED_USE="elibc_glibc? ( threads )" #286560
566 RESTRICT="test" #72375
567
568 MLIB_DEPS="amd64? (
569 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
570 X? (
571 >=app-emulation/emul-linux-x86-xlibs-2.1
572 >=app-emulation/emul-linux-x86-soundlibs-2.1
573 )
574 mp3? ( app-emulation/emul-linux-x86-soundlibs )
575 odbc? ( app-emulation/emul-linux-x86-db )
576 openal? ( app-emulation/emul-linux-x86-sdl )
577 opengl? ( app-emulation/emul-linux-x86-opengl )
578 scanner? ( app-emulation/emul-linux-x86-medialibs )
579 v4l? ( app-emulation/emul-linux-x86-medialibs )
580 app-emulation/emul-linux-x86-baselibs
581 >=sys-kernel/linux-headers-2.6
582 )"
583 RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
584 perl? ( dev-lang/perl dev-perl/XML-Simple )
585 capi? ( net-dialup/capi4k-utils )
586 ncurses? ( >=sys-libs/ncurses-5.2 )
587 fontconfig? ( media-libs/fontconfig )
588 gphoto2? ( media-libs/libgphoto2 )
589 openal? ( media-libs/openal )
590 udisks? (
591 sys-apps/dbus
592 sys-fs/udisks:0
593 )
594 gnutls? ( net-libs/gnutls )
595 gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
596 X? (
597 x11-libs/libXcursor
598 x11-libs/libXrandr
599 x11-libs/libXi
600 x11-libs/libXmu
601 x11-libs/libXxf86vm
602 x11-apps/xmessage
603 )
604 xinerama? ( x11-libs/libXinerama )
605 alsa? ( media-libs/alsa-lib )
606 cups? ( net-print/cups )
607 opencl? ( virtual/opencl )
608 opengl? ( virtual/opengl )
609 gsm? ( media-sound/gsm )
610 jpeg? ( virtual/jpeg )
611 ldap? ( net-nds/openldap )
612 lcms? ( =media-libs/lcms-1* )
613 mp3? ( >=media-sound/mpg123-1.5.0 )
614 nls? ( sys-devel/gettext )
615 odbc? ( dev-db/unixODBC )
616 samba? ( >=net-fs/samba-3.0.25 )
617 selinux? ( sec-policy/selinux-wine )
618 xml? ( dev-libs/libxml2 dev-libs/libxslt )
619 scanner? ( media-gfx/sane-backends )
620 ssl? ( dev-libs/openssl )
621 png? ( media-libs/libpng )
622 v4l? ( media-libs/libv4l )
623 !win64? ( ${MLIB_DEPS} )
624 win32? ( ${MLIB_DEPS} )
625 xcomposite? ( x11-libs/libXcomposite )"
626 DEPEND="${RDEPEND}
627 X? (
628 x11-proto/inputproto
629 x11-proto/xextproto
630 x11-proto/xf86vidmodeproto
631 )
632 xinerama? ( x11-proto/xineramaproto )
633 !hardened? ( sys-devel/prelink )
634 virtual/pkgconfig
635 virtual/yacc
636 sys-devel/flex"
637
638 src_unpack() {
639 if use win64 ; then
640 [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
641 && die "you need gcc-4.4+ to build 64bit wine"
642 fi
643
644 if use win32 && use opencl; then
645 [[ x$(eselect opencl show) = "xintel" ]] &&
646 die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
647 fi
648
649 if [[ ${PV} == "9999" ]] ; then
650 git-2_src_unpack
651 else
652 unpack ${MY_P}.tar.bz2
653 fi
654 }
655
656 src_prepare() {
657 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
658 epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
659 epatch_user #282735
660 eautoreconf
661 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
662 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
663 }
664
665 do_configure() {
666 local builddir="${WORKDIR}/wine$1"
667 mkdir -p "${builddir}"
668 pushd "${builddir}" >/dev/null
669
670 ECONF_SOURCE=${S} \
671 econf \
672 --sysconfdir=/etc/wine \
673 $(use_with alsa) \
674 $(use_with capi) \
675 $(use_with lcms cms) \
676 $(use_with cups) \
677 $(use_with ncurses curses) \
678 $(use_with udisks dbus) \
679 $(use_with fontconfig) \
680 $(use_with gnutls) \
681 $(use_with gphoto2 gphoto) \
682 $(use_with gsm) \
683 $(use_with gstreamer) \
684 --without-hal \
685 $(use_with jpeg) \
686 $(use_with ldap) \
687 $(use_with mp3 mpg123) \
688 $(use_with nls gettext) \
689 $(use_with openal) \
690 $(use_with opencl) \
691 $(use_with opengl) \
692 $(use_with ssl openssl) \
693 $(use_with oss) \
694 $(use_with png) \
695 $(use_with threads pthread) \
696 $(use_with scanner sane) \
697 $(use_enable test tests) \
698 $(use_with truetype freetype) \
699 $(use_with v4l) \
700 $(use_with X x) \
701 $(use_with xcomposite) \
702 $(use_with xinerama) \
703 $(use_with xml) \
704 $(use_with xml xslt) \
705 $2
706
707 emake -j1 depend
708
709 popd >/dev/null
710 }
711
712 src_configure() {
713 export LDCONFIG=/bin/true
714 use custom-cflags || strip-flags
715
716 if use win64 ; then
717 do_configure 64 --enable-win64
718 use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
719 else
720 ABI=x86 do_configure 32 --disable-win64
721 fi
722 }
723
724 src_compile() {
725 local b
726 for b in 64 32 ; do
727 local builddir="${WORKDIR}/wine${b}"
728 [[ -d ${builddir} ]] || continue
729 emake -C "${builddir}" all
730 done
731 }
732
733 src_install() {
734 local b
735 for b in 64 32 ; do
736 local builddir="${WORKDIR}/wine${b}"
737 [[ -d ${builddir} ]] || continue
738 emake -C "${builddir}" install DESTDIR="${D}"
739 done
740 dodoc ANNOUNCE AUTHORS README
741 if use gecko ; then
742 insinto /usr/share/wine/gecko
743 doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
744 use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
745 fi
746 if ! use perl ; then
747 rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
748 fi
749
750 if use win32 || ! use win64; then
751 pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
752 fi
753 use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
754
755 if use win64 && ! use win32; then
756 dosym /usr/bin/wine{64,} # 404331
757 dosym /usr/bin/wine{64,}-preloader
758 fi
759 }