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