1 |
tetromino 12/09/29 06:32:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wine-1.5.14.ebuild |
5 |
Log: |
6 |
Bump, see http://www.winehq.org/announce/1.5.14 for the announcement. |
7 |
|
8 |
(Portage version: 2.2.0_alpha132/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.431 app-emulation/wine/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.431&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.431&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?r1=1.430&r2=1.431 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v |
20 |
retrieving revision 1.430 |
21 |
retrieving revision 1.431 |
22 |
diff -u -r1.430 -r1.431 |
23 |
--- ChangeLog 14 Sep 2012 20:24:37 -0000 1.430 |
24 |
+++ ChangeLog 29 Sep 2012 06:32:32 -0000 1.431 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-emulation/wine |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.430 2012/09/14 20:24:37 tetromino Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.431 2012/09/29 06:32:32 tetromino Exp $ |
30 |
+ |
31 |
+*wine-1.5.14 (29 Sep 2012) |
32 |
+ |
33 |
+ 29 Sep 2012; Alexandre Rostovtsev <tetromino@g.o> +wine-1.5.14.ebuild: |
34 |
+ Bump, see http://www.winehq.org/announce/1.5.14 for the announcement. |
35 |
|
36 |
*wine-1.5.13 (14 Sep 2012) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/wine/wine-1.5.14.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.5.14.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.5.14.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: wine-1.5.14.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.14.ebuild,v 1.1 2012/09/29 06:32:32 tetromino Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
inherit autotools eutils flag-o-matic multilib pax-utils |
55 |
|
56 |
if [[ ${PV} == "9999" ]] ; then |
57 |
EGIT_REPO_URI="git://source.winehq.org/git/wine.git" |
58 |
inherit git-2 |
59 |
SRC_URI="" |
60 |
#KEYWORDS="" |
61 |
else |
62 |
MY_P="${PN}-${PV/_/-}" |
63 |
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2" |
64 |
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" |
65 |
S=${WORKDIR}/${MY_P} |
66 |
fi |
67 |
|
68 |
GV="1.7" |
69 |
MV="0.0.4" |
70 |
PULSE_PATCH="winepulse-2012.06.15.patch" |
71 |
DESCRIPTION="free implementation of Windows(tm) on Unix" |
72 |
HOMEPAGE="http://www.winehq.org/" |
73 |
SRC_URI="${SRC_URI} |
74 |
gecko? ( |
75 |
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi |
76 |
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi ) |
77 |
) |
78 |
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi ) |
79 |
http://source.winehq.org/patches/data/87234 -> ${PULSE_PATCH}" |
80 |
|
81 |
LICENSE="LGPL-2.1" |
82 |
SLOT="0" |
83 |
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 osmesa +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml" |
84 |
REQUIRED_USE="elibc_glibc? ( threads ) |
85 |
mono? ( || ( win32 !win64 ) ) |
86 |
osmesa? ( opengl )" #286560 |
87 |
RESTRICT="test" #72375 |
88 |
|
89 |
MLIB_DEPS="amd64? ( |
90 |
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) |
91 |
X? ( |
92 |
>=app-emulation/emul-linux-x86-xlibs-2.1 |
93 |
>=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?] |
94 |
) |
95 |
mp3? ( app-emulation/emul-linux-x86-soundlibs ) |
96 |
odbc? ( app-emulation/emul-linux-x86-db ) |
97 |
openal? ( app-emulation/emul-linux-x86-sdl ) |
98 |
opengl? ( app-emulation/emul-linux-x86-opengl ) |
99 |
scanner? ( app-emulation/emul-linux-x86-medialibs ) |
100 |
v4l? ( app-emulation/emul-linux-x86-medialibs ) |
101 |
app-emulation/emul-linux-x86-baselibs |
102 |
>=sys-kernel/linux-headers-2.6 |
103 |
)" |
104 |
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) |
105 |
perl? ( dev-lang/perl dev-perl/XML-Simple ) |
106 |
capi? ( net-dialup/capi4k-utils ) |
107 |
ncurses? ( >=sys-libs/ncurses-5.2 ) |
108 |
fontconfig? ( media-libs/fontconfig ) |
109 |
gphoto2? ( media-libs/libgphoto2 ) |
110 |
openal? ( media-libs/openal ) |
111 |
udisks? ( |
112 |
sys-apps/dbus |
113 |
sys-fs/udisks:2 |
114 |
) |
115 |
gnutls? ( net-libs/gnutls ) |
116 |
gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base ) |
117 |
X? ( |
118 |
x11-libs/libXcursor |
119 |
x11-libs/libXrandr |
120 |
x11-libs/libXi |
121 |
x11-libs/libXmu |
122 |
x11-libs/libXxf86vm |
123 |
) |
124 |
xinerama? ( x11-libs/libXinerama ) |
125 |
alsa? ( media-libs/alsa-lib ) |
126 |
cups? ( net-print/cups ) |
127 |
opencl? ( virtual/opencl ) |
128 |
opengl? ( |
129 |
virtual/glu |
130 |
virtual/opengl |
131 |
) |
132 |
gsm? ( media-sound/gsm ) |
133 |
jpeg? ( virtual/jpeg ) |
134 |
ldap? ( net-nds/openldap ) |
135 |
lcms? ( =media-libs/lcms-1* ) |
136 |
mp3? ( >=media-sound/mpg123-1.5.0 ) |
137 |
nls? ( sys-devel/gettext ) |
138 |
odbc? ( dev-db/unixODBC ) |
139 |
osmesa? ( media-libs/mesa[osmesa] ) |
140 |
pulseaudio? ( media-sound/pulseaudio ) |
141 |
samba? ( >=net-fs/samba-3.0.25 ) |
142 |
selinux? ( sec-policy/selinux-wine ) |
143 |
xml? ( dev-libs/libxml2 dev-libs/libxslt ) |
144 |
scanner? ( media-gfx/sane-backends ) |
145 |
ssl? ( dev-libs/openssl ) |
146 |
png? ( media-libs/libpng ) |
147 |
v4l? ( media-libs/libv4l ) |
148 |
!win64? ( ${MLIB_DEPS} ) |
149 |
win32? ( ${MLIB_DEPS} ) |
150 |
xcomposite? ( x11-libs/libXcomposite )" |
151 |
DEPEND="${RDEPEND} |
152 |
X? ( |
153 |
x11-proto/inputproto |
154 |
x11-proto/xextproto |
155 |
x11-proto/xf86vidmodeproto |
156 |
) |
157 |
xinerama? ( x11-proto/xineramaproto ) |
158 |
!hardened? ( sys-devel/prelink ) |
159 |
virtual/pkgconfig |
160 |
virtual/yacc |
161 |
sys-devel/flex" |
162 |
|
163 |
src_unpack() { |
164 |
if use win64 ; then |
165 |
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \ |
166 |
&& die "you need gcc-4.4+ to build 64bit wine" |
167 |
fi |
168 |
|
169 |
if use win32 && use opencl; then |
170 |
[[ x$(eselect opencl show) = "xintel" ]] && |
171 |
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947 |
172 |
fi |
173 |
|
174 |
if [[ ${PV} == "9999" ]] ; then |
175 |
git-2_src_unpack |
176 |
else |
177 |
unpack ${MY_P}.tar.bz2 |
178 |
fi |
179 |
} |
180 |
|
181 |
src_prepare() { |
182 |
local md5="$(md5sum server/protocol.def)" |
183 |
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 |
184 |
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615 |
185 |
epatch "${FILESDIR}"/${PN}-1.5.11-osmesa-check.patch #429386 |
186 |
epatch "${DISTDIR}/${PULSE_PATCH}" #421365 |
187 |
epatch_user #282735 |
188 |
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then |
189 |
einfo "server/protocol.def was patched; running tools/make_requests" |
190 |
tools/make_requests || die #432348 |
191 |
fi |
192 |
eautoreconf |
193 |
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die |
194 |
sed -i '/^MimeType/d' tools/wine.desktop || die #117785 |
195 |
} |
196 |
|
197 |
do_configure() { |
198 |
local builddir="${WORKDIR}/wine$1" |
199 |
mkdir -p "${builddir}" |
200 |
pushd "${builddir}" >/dev/null |
201 |
|
202 |
with_osmesa=$(use_with osmesa) |
203 |
if use osmesa && use amd64 && [[ $1 = 32 ]]; then #430268 |
204 |
elog "win32 osmesa support is disabled for now, see bug #430268" |
205 |
with_osmesa=--without-osmesa |
206 |
fi |
207 |
|
208 |
ECONF_SOURCE=${S} \ |
209 |
econf \ |
210 |
--sysconfdir=/etc/wine \ |
211 |
$(use_with alsa) \ |
212 |
$(use_with capi) \ |
213 |
$(use_with lcms cms) \ |
214 |
$(use_with cups) \ |
215 |
$(use_with ncurses curses) \ |
216 |
$(use_with udisks dbus) \ |
217 |
$(use_with fontconfig) \ |
218 |
$(use_with gnutls) \ |
219 |
$(use_with gphoto2 gphoto) \ |
220 |
$(use_with gsm) \ |
221 |
$(use_with gstreamer) \ |
222 |
--without-hal \ |
223 |
$(use_with jpeg) \ |
224 |
$(use_with ldap) \ |
225 |
$(use_with mp3 mpg123) \ |
226 |
$(use_with nls gettext) \ |
227 |
$(use_with openal) \ |
228 |
$(use_with opencl) \ |
229 |
$(use_with opengl) \ |
230 |
$(use_with ssl openssl) \ |
231 |
${with_osmesa} \ |
232 |
$(use_with oss) \ |
233 |
$(use_with png) \ |
234 |
$(use_with threads pthread) \ |
235 |
$(use_with pulseaudio pulse) \ |
236 |
$(use_with scanner sane) \ |
237 |
$(use_enable test tests) \ |
238 |
$(use_with truetype freetype) \ |
239 |
$(use_with v4l) \ |
240 |
$(use_with X x) \ |
241 |
$(use_with xcomposite) \ |
242 |
$(use_with xinerama) \ |
243 |
$(use_with xml) \ |
244 |
$(use_with xml xslt) \ |
245 |
$2 |
246 |
|
247 |
emake -j1 depend |
248 |
|
249 |
popd >/dev/null |
250 |
} |
251 |
|
252 |
src_configure() { |
253 |
export LDCONFIG=/bin/true |
254 |
use custom-cflags || strip-flags |
255 |
|
256 |
if use win64 ; then |
257 |
do_configure 64 --enable-win64 |
258 |
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64 |
259 |
else |
260 |
ABI=x86 do_configure 32 --disable-win64 |
261 |
fi |
262 |
} |
263 |
|
264 |
src_compile() { |
265 |
local b |
266 |
for b in 64 32 ; do |
267 |
local builddir="${WORKDIR}/wine${b}" |
268 |
[[ -d ${builddir} ]] || continue |
269 |
emake -C "${builddir}" all |
270 |
done |
271 |
} |
272 |
|
273 |
src_install() { |
274 |
local b |
275 |
for b in 64 32 ; do |
276 |
local builddir="${WORKDIR}/wine${b}" |
277 |
[[ -d ${builddir} ]] || continue |
278 |
emake -C "${builddir}" install DESTDIR="${D}" |
279 |
done |
280 |
dodoc ANNOUNCE AUTHORS README |
281 |
if use gecko ; then |
282 |
insinto /usr/share/wine/gecko |
283 |
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi |
284 |
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi |
285 |
fi |
286 |
if use mono ; then |
287 |
insinto /usr/share/wine/mono |
288 |
doins "${DISTDIR}"/wine-mono-${MV}.msi |
289 |
fi |
290 |
if ! use perl ; then |
291 |
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die |
292 |
fi |
293 |
|
294 |
if use win32 || ! use win64; then |
295 |
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 |
296 |
fi |
297 |
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader} |
298 |
|
299 |
if use win64 && ! use win32; then |
300 |
dosym /usr/bin/wine{64,} # 404331 |
301 |
dosym /usr/bin/wine{64,}-preloader |
302 |
fi |
303 |
} |