1 |
vapier 11/02/05 09:24:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wine-1.3.12.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.349 app-emulation/wine/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.349&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.349&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/ChangeLog?r1=1.348&r2=1.349 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v |
20 |
retrieving revision 1.348 |
21 |
retrieving revision 1.349 |
22 |
diff -u -r1.348 -r1.349 |
23 |
--- ChangeLog 5 Feb 2011 09:23:15 -0000 1.348 |
24 |
+++ ChangeLog 5 Feb 2011 09:24:05 -0000 1.349 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-emulation/wine |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.348 2011/02/05 09:23:15 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.349 2011/02/05 09:24:05 vapier Exp $ |
30 |
+ |
31 |
+*wine-1.3.12 (05 Feb 2011) |
32 |
+ |
33 |
+ 05 Feb 2011; Mike Frysinger <vapier@g.o> +wine-1.3.12.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
05 Feb 2011; Mike Frysinger <vapier@g.o> wine-9999.ebuild: |
37 |
Update winepulse patches #353251 by Murray Colpman. |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/wine/wine-1.3.12.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.3.12.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/wine/wine-1.3.12.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: wine-1.3.12.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 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.12.ebuild,v 1.1 2011/02/05 09:24:05 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.39,configure.ac-1.3.10,winecfg-1.3.11}.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 gstreamer hal jack jpeg lcms ldap mp3 nas ncurses nls 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[pulseaudio?] |
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 |
gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base ) |
108 |
hal? ( sys-apps/hal ) |
109 |
X? ( |
110 |
x11-libs/libXcursor |
111 |
x11-libs/libXrandr |
112 |
x11-libs/libXi |
113 |
x11-libs/libXmu |
114 |
x11-libs/libXxf86vm |
115 |
x11-apps/xmessage |
116 |
) |
117 |
xinerama? ( x11-libs/libXinerama ) |
118 |
alsa? ( media-libs/alsa-lib ) |
119 |
esd? ( media-sound/esound ) |
120 |
nas? ( media-libs/nas ) |
121 |
cups? ( net-print/cups ) |
122 |
opengl? ( virtual/opengl ) |
123 |
pulseaudio? ( media-sound/pulseaudio ) |
124 |
gsm? ( media-sound/gsm ) |
125 |
jpeg? ( virtual/jpeg ) |
126 |
ldap? ( net-nds/openldap ) |
127 |
lcms? ( =media-libs/lcms-1* ) |
128 |
mp3? ( >=media-sound/mpg123-1.5.0 ) |
129 |
nls? ( sys-devel/gettext ) |
130 |
samba? ( >=net-fs/samba-3.0.25 ) |
131 |
xml? ( dev-libs/libxml2 dev-libs/libxslt ) |
132 |
scanner? ( media-gfx/sane-backends ) |
133 |
ssl? ( dev-libs/openssl ) |
134 |
png? ( media-libs/libpng ) |
135 |
!win64? ( ${MLIB_DEPS} ) |
136 |
win32? ( ${MLIB_DEPS} ) |
137 |
xcomposite? ( x11-libs/libXcomposite ) " |
138 |
DEPEND="${RDEPEND} |
139 |
pulseaudio? ( ${AUTOTOOLS_DEPEND} ) |
140 |
X? ( |
141 |
x11-proto/inputproto |
142 |
x11-proto/xextproto |
143 |
x11-proto/xf86vidmodeproto |
144 |
) |
145 |
xinerama? ( x11-proto/xineramaproto ) |
146 |
sys-devel/bison |
147 |
sys-devel/flex" |
148 |
|
149 |
src_unpack() { |
150 |
if use win64 ; then |
151 |
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \ |
152 |
&& die "you need gcc-4.4+ to build 64bit wine" |
153 |
fi |
154 |
|
155 |
if [[ ${PV} == "9999" ]] ; then |
156 |
git_src_unpack |
157 |
else |
158 |
unpack ${MY_P}.tar.bz2 |
159 |
fi |
160 |
} |
161 |
|
162 |
src_prepare() { |
163 |
if use pulseaudio ; then |
164 |
EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` |
165 |
eautoreconf |
166 |
fi |
167 |
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 |
168 |
epatch_user #282735 |
169 |
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die |
170 |
sed -i '/^MimeType/d' tools/wine.desktop || die #117785 |
171 |
} |
172 |
|
173 |
do_configure() { |
174 |
local builddir="${WORKDIR}/wine$1" |
175 |
mkdir -p "${builddir}" |
176 |
pushd "${builddir}" >/dev/null |
177 |
|
178 |
ECONF_SOURCE=${S} \ |
179 |
econf \ |
180 |
--sysconfdir=/etc/wine \ |
181 |
$(use_with alsa) \ |
182 |
$(use_with capi) \ |
183 |
$(use_with lcms cms) \ |
184 |
$(use_with cups) \ |
185 |
$(use_with ncurses curses) \ |
186 |
$(use_with esd) \ |
187 |
$(use_with fontconfig) \ |
188 |
$(use_with gnutls) \ |
189 |
$(use_with gphoto2 gphoto) \ |
190 |
$(use_with gsm) \ |
191 |
$(use_with gstreamer) \ |
192 |
$(! use dbus && echo --without-hal || use_with hal) \ |
193 |
$(use_with jack) \ |
194 |
$(use_with jpeg) \ |
195 |
$(use_with ldap) \ |
196 |
$(use_with mp3 mpg123) \ |
197 |
$(use_with nas) \ |
198 |
$(use_with nls gettextpo) \ |
199 |
$(use_with openal) \ |
200 |
$(use_with opengl) \ |
201 |
$(use_with ssl openssl) \ |
202 |
$(use_with oss) \ |
203 |
$(use_with png) \ |
204 |
$(use_with threads pthread) \ |
205 |
$(use pulseaudio && use_with pulseaudio pulse) \ |
206 |
$(use_with scanner sane) \ |
207 |
$(use_enable test tests) \ |
208 |
$(use_with truetype freetype) \ |
209 |
$(use_with X x) \ |
210 |
$(use_with xcomposite) \ |
211 |
$(use_with xinerama) \ |
212 |
$(use_with xml) \ |
213 |
$(use_with xml xslt) \ |
214 |
$2 |
215 |
|
216 |
emake -j1 depend || die "depend" |
217 |
|
218 |
popd >/dev/null |
219 |
} |
220 |
src_configure() { |
221 |
export LDCONFIG=/bin/true |
222 |
use custom-cflags || strip-flags |
223 |
|
224 |
if use win64 ; then |
225 |
do_configure 64 --enable-win64 |
226 |
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64 |
227 |
else |
228 |
ABI=x86 do_configure 32 --disable-win64 |
229 |
fi |
230 |
} |
231 |
|
232 |
src_compile() { |
233 |
local b |
234 |
for b in 64 32 ; do |
235 |
local builddir="${WORKDIR}/wine${b}" |
236 |
[[ -d ${builddir} ]] || continue |
237 |
emake -C "${builddir}" all || die |
238 |
done |
239 |
} |
240 |
|
241 |
src_install() { |
242 |
local b |
243 |
for b in 64 32 ; do |
244 |
local builddir="${WORKDIR}/wine${b}" |
245 |
[[ -d ${builddir} ]] || continue |
246 |
emake -C "${builddir}" install DESTDIR="${D}" || die |
247 |
done |
248 |
dodoc ANNOUNCE AUTHORS README |
249 |
if use gecko ; then |
250 |
insinto /usr/share/wine/gecko |
251 |
doins "${DISTDIR}"/wine_gecko-${GV}-x86.cab || die |
252 |
use win64 && { doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.cab || die ; } |
253 |
fi |
254 |
if ! use perl ; then |
255 |
rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die |
256 |
fi |
257 |
} |
258 |
|
259 |
pkg_postinst() { |
260 |
paxctl -psmr "${ROOT}"/usr/bin/wine{,-preloader} 2>/dev/null #255055 |
261 |
} |