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