1 |
vapier 10/10/05 02:08:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wine-1.3.4.ebuild |
5 |
Log: |
6 |
Version bump #339710 by ScytheMan. |
7 |
|
8 |
(Portage version: 2.2_rc86/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.332 app-emulation/wine/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.332&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.332&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?r1=1.331&r2=1.332 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v |
20 |
retrieving revision 1.331 |
21 |
retrieving revision 1.332 |
22 |
diff -u -r1.331 -r1.332 |
23 |
--- ChangeLog 25 Sep 2010 05:35:39 -0000 1.331 |
24 |
+++ ChangeLog 5 Oct 2010 02:08:08 -0000 1.332 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-emulation/wine |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.331 2010/09/25 05:35:39 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.332 2010/10/05 02:08:08 vapier Exp $ |
30 |
+ |
31 |
+*wine-1.3.4 (05 Oct 2010) |
32 |
+ |
33 |
+ 05 Oct 2010; Mike Frysinger <vapier@g.o> +wine-1.3.4.ebuild: |
34 |
+ Version bump #339710 by ScytheMan. |
35 |
|
36 |
25 Sep 2010; Mike Frysinger <vapier@g.o> wine-1.1.10.ebuild, |
37 |
wine-1.1.11.ebuild, wine-1.1.12.ebuild, wine-1.1.13.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/wine/wine-1.3.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.3.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.3.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: wine-1.3.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 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.3.4.ebuild,v 1.1 2010/10/05 02:08:08 vapier Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils flag-o-matic multilib |
55 |
|
56 |
if [[ ${PV} == "9999" ]] ; then |
57 |
EGIT_REPO_URI="git://source.winehq.org/git/wine.git" |
58 |
inherit git autotools |
59 |
SRC_URI="" |
60 |
#KEYWORDS="" |
61 |
else |
62 |
AUTOTOOLS_AUTO_DEPEND="no" |
63 |
inherit autotools |
64 |
MY_P="${PN}-${PV/_/-}" |
65 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" |
66 |
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" |
67 |
S=${WORKDIR}/${MY_P} |
68 |
fi |
69 |
|
70 |
pulse_patches() { echo "$1"/winepulse-{0.36,0.35-configure.ac,0.38-winecfg}.patch ; } |
71 |
GV="1.1.0" |
72 |
DESCRIPTION="free implementation of Windows(tm) on Unix" |
73 |
HOMEPAGE="http://www.winehq.org/" |
74 |
SRC_URI="${SRC_URI} |
75 |
gecko? ( |
76 |
mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab |
77 |
win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) |
78 |
) |
79 |
pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" |
80 |
|
81 |
LICENSE="LGPL-2.1" |
82 |
SLOT="0" |
83 |
IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hal jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype +win32 +win64 +X xcomposite xinerama xml" |
84 |
RESTRICT="test" #72375 |
85 |
|
86 |
MLIB_DEPS="amd64? ( |
87 |
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) |
88 |
X? ( |
89 |
>=app-emulation/emul-linux-x86-xlibs-2.1 |
90 |
>=app-emulation/emul-linux-x86-soundlibs-2.1 |
91 |
) |
92 |
openal? ( app-emulation/emul-linux-x86-sdl ) |
93 |
opengl? ( app-emulation/emul-linux-x86-opengl ) |
94 |
app-emulation/emul-linux-x86-baselibs |
95 |
>=sys-kernel/linux-headers-2.6 |
96 |
)" |
97 |
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) |
98 |
perl? ( dev-lang/perl dev-perl/XML-Simple ) |
99 |
capi? ( net-dialup/capi4k-utils ) |
100 |
ncurses? ( >=sys-libs/ncurses-5.2 ) |
101 |
fontconfig? ( media-libs/fontconfig ) |
102 |
gphoto2? ( media-libs/libgphoto2 ) |
103 |
jack? ( media-sound/jack-audio-connection-kit ) |
104 |
openal? ( media-libs/openal ) |
105 |
dbus? ( sys-apps/dbus ) |
106 |
gnutls? ( net-libs/gnutls ) |
107 |
hal? ( sys-apps/hal ) |
108 |
X? ( |
109 |
x11-libs/libXcursor |
110 |
x11-libs/libXrandr |
111 |
x11-libs/libXi |
112 |
x11-libs/libXmu |
113 |
x11-libs/libXxf86vm |
114 |
x11-apps/xmessage |
115 |
) |
116 |
xinerama? ( x11-libs/libXinerama ) |
117 |
alsa? ( media-libs/alsa-lib ) |
118 |
esd? ( media-sound/esound ) |
119 |
nas? ( media-libs/nas ) |
120 |
cups? ( net-print/cups ) |
121 |
opengl? ( virtual/opengl ) |
122 |
pulseaudio? ( media-sound/pulseaudio ${AUTOTOOLS_DEPEND} ) |
123 |
gsm? ( media-sound/gsm ) |
124 |
jpeg? ( media-libs/jpeg ) |
125 |
ldap? ( net-nds/openldap ) |
126 |
lcms? ( =media-libs/lcms-1* ) |
127 |
mp3? ( >=media-sound/mpg123-1.5.0 ) |
128 |
samba? ( >=net-fs/samba-3.0.25 ) |
129 |
xml? ( dev-libs/libxml2 dev-libs/libxslt ) |
130 |
scanner? ( media-gfx/sane-backends ) |
131 |
ssl? ( dev-libs/openssl ) |
132 |
png? ( media-libs/libpng ) |
133 |
!win64? ( ${MLIB_DEPS} ) |
134 |
win32? ( ${MLIB_DEPS} ) |
135 |
xcomposite? ( x11-libs/libXcomposite ) " |
136 |
DEPEND="${RDEPEND} |
137 |
X? ( |
138 |
x11-proto/inputproto |
139 |
x11-proto/xextproto |
140 |
x11-proto/xf86vidmodeproto |
141 |
) |
142 |
xinerama? ( x11-proto/xineramaproto ) |
143 |
sys-devel/bison |
144 |
sys-devel/flex" |
145 |
|
146 |
src_unpack() { |
147 |
if use win64 ; then |
148 |
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \ |
149 |
&& die "you need gcc-4.4+ to build 64bit wine" |
150 |
fi |
151 |
|
152 |
if [[ ${PV} == "9999" ]] ; then |
153 |
git_src_unpack |
154 |
else |
155 |
unpack ${MY_P}.tar.bz2 |
156 |
fi |
157 |
} |
158 |
|
159 |
src_prepare() { |
160 |
if use pulseaudio ; then |
161 |
EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` |
162 |
eautoreconf |
163 |
fi |
164 |
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 |
165 |
epatch_user #282735 |
166 |
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die |
167 |
sed -i '/^MimeType/d' tools/wine.desktop || die #117785 |
168 |
} |
169 |
|
170 |
do_configure() { |
171 |
local builddir="${WORKDIR}/wine$1" |
172 |
mkdir -p "${builddir}" |
173 |
pushd "${builddir}" >/dev/null |
174 |
|
175 |
ECONF_SOURCE=${S} \ |
176 |
econf \ |
177 |
--sysconfdir=/etc/wine \ |
178 |
$(use_with alsa) \ |
179 |
$(use_with capi) \ |
180 |
$(use_with lcms cms) \ |
181 |
$(use_with cups) \ |
182 |
$(use_with ncurses curses) \ |
183 |
$(use_with esd) \ |
184 |
$(use_with fontconfig) \ |
185 |
$(use_with gnutls) \ |
186 |
$(use_with gphoto2 gphoto) \ |
187 |
$(use_with gsm) \ |
188 |
$(! use dbus && echo --without-hal || use_with hal) \ |
189 |
$(use_with jack) \ |
190 |
$(use_with jpeg) \ |
191 |
$(use_with ldap) \ |
192 |
$(use_with mp3 mpg123) \ |
193 |
$(use_with nas) \ |
194 |
$(use_with openal) \ |
195 |
$(use_with opengl) \ |
196 |
$(use_with ssl openssl) \ |
197 |
$(use_with oss) \ |
198 |
$(use_with png) \ |
199 |
$(use_with threads pthread) \ |
200 |
$(use pulseaudio && use_with pulseaudio pulse) \ |
201 |
$(use_with scanner sane) \ |
202 |
$(use_enable test tests) \ |
203 |
$(use_with truetype freetype) \ |
204 |
$(use_with X x) \ |
205 |
$(use_with xcomposite) \ |
206 |
$(use_with xinerama) \ |
207 |
$(use_with xml) \ |
208 |
$(use_with xml xslt) \ |
209 |
$2 |
210 |
|
211 |
emake -j1 depend || die "depend" |
212 |
|
213 |
popd >/dev/null |
214 |
} |
215 |
src_configure() { |
216 |
export LDCONFIG=/bin/true |
217 |
use custom-cflags || strip-flags |
218 |
|
219 |
if use win64 ; then |
220 |
do_configure 64 --enable-win64 |
221 |
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64 |
222 |
else |
223 |
ABI=x86 do_configure 32 --disable-win64 |
224 |
fi |
225 |
} |
226 |
|
227 |
src_compile() { |
228 |
local b |
229 |
for b in 64 32 ; do |
230 |
local builddir="${WORKDIR}/wine${b}" |
231 |
[[ -d ${builddir} ]] || continue |
232 |
emake -C "${builddir}" all || die |
233 |
done |
234 |
} |
235 |
|
236 |
src_install() { |
237 |
local b |
238 |
for b in 64 32 ; do |
239 |
local builddir="${WORKDIR}/wine${b}" |
240 |
[[ -d ${builddir} ]] || continue |
241 |
emake -C "${builddir}" install DESTDIR="${D}" || die |
242 |
done |
243 |
dodoc ANNOUNCE AUTHORS README |
244 |
if use gecko ; then |
245 |
insinto /usr/share/wine/gecko |
246 |
doins "${DISTDIR}"/wine_gecko-${GV}-x86.cab || die |
247 |
use win64 && { doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.cab || die ; } |
248 |
fi |
249 |
if ! use perl ; then |
250 |
rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die |
251 |
fi |
252 |
} |
253 |
|
254 |
pkg_postinst() { |
255 |
paxctl -psmr "${ROOT}"/usr/bin/wine{,-preloader} 2>/dev/null #255055 |
256 |
} |