Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/wine: wine-1.1.35.ebuild ChangeLog
Date: Sat, 26 Dec 2009 17:23:31
Message-Id: E1NOaMT-0001Je-C4@stork.gentoo.org
1 vapier 09/12/26 17:23:29
2
3 Modified: ChangeLog
4 Added: wine-1.1.35.ebuild
5 Log:
6 Version bump #297538 by Jeroen Roovers.
7 (Portage version: 2.2_rc60/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.288 app-emulation/wine/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.288&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.288&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/ChangeLog?r1=1.287&r2=1.288
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v
19 retrieving revision 1.287
20 retrieving revision 1.288
21 diff -u -r1.287 -r1.288
22 --- ChangeLog 12 Dec 2009 16:20:25 -0000 1.287
23 +++ ChangeLog 26 Dec 2009 17:23:29 -0000 1.288
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-emulation/wine
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.287 2009/12/12 16:20:25 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.288 2009/12/26 17:23:29 vapier Exp $
29 +
30 +*wine-1.1.35 (26 Dec 2009)
31 +
32 + 26 Dec 2009; Mike Frysinger <vapier@g.o> +wine-1.1.35.ebuild:
33 + Version bump #297538 by Jeroen Roovers.
34
35 12 Dec 2009; Mike Frysinger <vapier@g.o> wine-1.1.13.ebuild,
36 wine-1.1.14.ebuild, wine-1.1.15.ebuild, wine-1.1.16.ebuild,
37
38
39
40 1.1 app-emulation/wine/wine-1.1.35.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-1.1.35.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-1.1.35.ebuild?rev=1.1&content-type=text/plain
44
45 Index: wine-1.1.35.ebuild
46 ===================================================================
47 # Copyright 1999-2009 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.1.35.ebuild,v 1.1 2009/12/26 17:23:29 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
58 SRC_URI=""
59 #KEYWORDS=""
60 else
61 MY_P="${PN}-${PV/_/-}"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
63 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
64 S=${WORKDIR}/${MY_P}
65 fi
66
67 GV="1.0.0-x86"
68 DESCRIPTION="free implementation of Windows(tm) on Unix"
69 HOMEPAGE="http://www.winehq.org/"
70 SRC_URI="${SRC_URI}
71 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )"
72
73 LICENSE="LGPL-2.1"
74 SLOT="0"
75 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 samba scanner ssl test +threads +truetype win64 +X xcomposite xinerama xml"
76 RESTRICT="test" #72375
77
78 RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
79 perl? ( dev-lang/perl dev-perl/XML-Simple )
80 capi? ( net-dialup/capi4k-utils )
81 ncurses? ( >=sys-libs/ncurses-5.2 )
82 fontconfig? ( media-libs/fontconfig )
83 gphoto2? ( media-libs/libgphoto2 )
84 jack? ( media-sound/jack-audio-connection-kit )
85 openal? ( media-libs/openal )
86 dbus? ( sys-apps/dbus )
87 gnutls? ( net-libs/gnutls )
88 hal? ( sys-apps/hal )
89 X? (
90 x11-libs/libXcursor
91 x11-libs/libXrandr
92 x11-libs/libXi
93 x11-libs/libXmu
94 x11-libs/libXxf86vm
95 x11-apps/xmessage
96 )
97 alsa? ( media-libs/alsa-lib )
98 esd? ( media-sound/esound )
99 nas? ( media-libs/nas )
100 cups? ( net-print/cups )
101 opengl? ( virtual/opengl )
102 gsm? ( media-sound/gsm )
103 jpeg? ( media-libs/jpeg )
104 ldap? ( net-nds/openldap )
105 lcms? ( media-libs/lcms )
106 mp3? ( media-sound/mpg123 )
107 samba? ( >=net-fs/samba-3.0.25 )
108 xml? ( dev-libs/libxml2 dev-libs/libxslt )
109 scanner? ( media-gfx/sane-backends )
110 ssl? ( dev-libs/openssl )
111 png? ( media-libs/libpng )
112 !win64? ( amd64? (
113 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
114 X? (
115 >=app-emulation/emul-linux-x86-xlibs-2.1
116 >=app-emulation/emul-linux-x86-soundlibs-2.1
117 )
118 app-emulation/emul-linux-x86-baselibs
119 >=sys-kernel/linux-headers-2.6
120 ) )
121 xcomposite? ( x11-libs/libXcomposite ) "
122 DEPEND="${RDEPEND}
123 X? (
124 x11-proto/inputproto
125 x11-proto/xextproto
126 x11-proto/xf86vidmodeproto
127 )
128 sys-devel/bison
129 sys-devel/flex"
130
131 src_unpack() {
132 if [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] ; then
133 use win64 && die "you need gcc-4.4+ to build 64bit wine"
134 fi
135
136 if [[ ${PV} == "9999" ]] ; then
137 git_src_unpack
138 else
139 unpack ${MY_P}.tar.bz2
140 fi
141 }
142
143 src_prepare() {
144 epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
145 epatch_user #282735
146 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
147 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
148 }
149
150 src_configure() {
151 export LDCONFIG=/bin/true
152
153 use custom-cflags || strip-flags
154 use amd64 && ! use win64 && multilib_toolchain_setup x86
155
156 econf \
157 --sysconfdir=/etc/wine \
158 $(use_with alsa) \
159 $(use_with capi) \
160 $(use_with lcms cms) \
161 $(use_with cups) \
162 $(use_with ncurses curses) \
163 $(use_with esd) \
164 $(use_with fontconfig) \
165 $(use_with gnutls) \
166 $(use_with gphoto2 gphoto) \
167 $(use_with gsm) \
168 $(! use dbus && echo --without-hal || use_with hal) \
169 $(use_with jack) \
170 $(use_with jpeg) \
171 $(use_with ldap) \
172 $(use_with mp3 mpg123) \
173 $(use_with nas) \
174 $(use_with openal) \
175 $(use_with opengl) \
176 $(use_with ssl openssl) \
177 $(use_with oss) \
178 $(use_with png) \
179 $(use_with threads pthread) \
180 $(use_with scanner sane) \
181 $(use_enable test tests) \
182 $(use_with truetype freetype) \
183 $(use_enable win64) \
184 $(use_with X x) \
185 $(use_with xcomposite) \
186 $(use_with xinerama) \
187 $(use_with xml) \
188 $(use_with xml xslt) \
189 || die "configure failed"
190
191 emake -j1 depend || die "depend"
192 }
193
194 src_compile() {
195 emake all || die "all"
196 }
197
198 src_install() {
199 emake DESTDIR="${D}" install || die
200 dodoc ANNOUNCE AUTHORS README
201 if use gecko ; then
202 insinto /usr/share/wine/gecko
203 doins "${DISTDIR}"/wine_gecko-${GV}.cab || die
204 fi
205 if ! use perl ; then
206 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
207 fi
208 }
209
210 pkg_postinst() {
211 paxctl -psmr "${ROOT}"/usr/bin/wine{,-preloader} 2>/dev/null #255055
212 }