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