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