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-0.9.61.ebuild
Date: Fri, 02 May 2008 21:55:23
Message-Id: E1Js3Dr-0000J5-Oh@stork.gentoo.org
1 vapier 08/05/02 21:55:19
2
3 Modified: ChangeLog
4 Added: wine-0.9.61.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_pre5)
8
9 Revision Changes Path
10 1.211 app-emulation/wine/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.211&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.211&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/ChangeLog?r1=1.210&r2=1.211
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v
19 retrieving revision 1.210
20 retrieving revision 1.211
21 diff -u -r1.210 -r1.211
22 --- ChangeLog 19 Apr 2008 22:25:16 -0000 1.210
23 +++ ChangeLog 2 May 2008 21:55:19 -0000 1.211
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-emulation/wine
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.210 2008/04/19 22:25:16 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.211 2008/05/02 21:55:19 vapier Exp $
29 +
30 +*wine-0.9.61 (02 May 2008)
31 +
32 + 02 May 2008; Mike Frysinger <vapier@g.o> +wine-0.9.61.ebuild:
33 + Version bump.
34
35 19 Apr 2008; Mike Frysinger <vapier@g.o> wine-0.9.59.ebuild,
36 wine-0.9.60.ebuild:
37
38
39
40 1.1 app-emulation/wine/wine-0.9.61.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-0.9.61.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-0.9.61.ebuild?rev=1.1&content-type=text/plain
44
45 Index: wine-0.9.61.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-0.9.61.ebuild,v 1.1 2008/05/02 21:55:19 vapier Exp $
50
51 EAPI="1"
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 else
60 SRC_URI="mirror://sourceforge/${PN}/wine-${PV}.tar.bz2"
61 fi
62
63 DESCRIPTION="free implementation of Windows(tm) on Unix"
64 HOMEPAGE="http://www.winehq.org/"
65 SRC_URI="${SRC_URI}
66 gecko? ( mirror://sourceforge/wine/wine_gecko-0.1.0.cab )"
67
68 LICENSE="LGPL-2.1"
69 SLOT="0"
70 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
71 IUSE="alsa cups dbus esd +gecko hal jack jpeg lcms ldap nas ncurses +opengl oss samba scanner xml +X"
72 RESTRICT="test" #72375
73
74 RDEPEND=">=media-libs/freetype-2.0.0
75 media-fonts/corefonts
76 ncurses? ( >=sys-libs/ncurses-5.2 )
77 jack? ( media-sound/jack-audio-connection-kit )
78 dbus? ( sys-apps/dbus )
79 hal? ( sys-apps/hal )
80 X? (
81 x11-libs/libXcursor
82 x11-libs/libXrandr
83 x11-libs/libXi
84 x11-libs/libXmu
85 x11-libs/libXxf86vm
86 x11-apps/xmessage
87 )
88 alsa? ( media-libs/alsa-lib )
89 esd? ( media-sound/esound )
90 nas? ( media-libs/nas )
91 cups? ( net-print/cups )
92 opengl? ( virtual/opengl )
93 jpeg? ( media-libs/jpeg )
94 ldap? ( net-nds/openldap )
95 lcms? ( media-libs/lcms )
96 samba? ( >=net-fs/samba-3.0.25 )
97 xml? ( dev-libs/libxml2 dev-libs/libxslt )
98 scanner? ( media-gfx/sane-backends )
99 amd64? (
100 >=app-emulation/emul-linux-x86-xlibs-2.1
101 >=app-emulation/emul-linux-x86-soundlibs-2.1
102 >=sys-kernel/linux-headers-2.6
103 )"
104 DEPEND="${RDEPEND}
105 X? (
106 x11-proto/inputproto
107 x11-proto/xextproto
108 x11-proto/xf86vidmodeproto
109 )
110 sys-devel/bison
111 sys-devel/flex"
112
113 pkg_setup() {
114 use alsa || return 0
115 if ! built_with_use --missing true media-libs/alsa-lib midi ; then
116 eerror "You must build media-libs/alsa-lib with USE=midi"
117 die "please re-emerge media-libs/alsa-lib with USE=midi"
118 fi
119 }
120
121 src_unpack() {
122 if [[ ${PV} == "9999" ]] ; then
123 git_src_unpack
124 else
125 unpack wine-${PV}.tar.bz2
126 fi
127 cd "${S}"
128
129 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in
130 epatch "${FILESDIR}"/wine-gentoo-no-ssp.patch #66002
131 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
132 }
133
134 config_cache() {
135 local h ans="no"
136 use $1 && ans="yes"
137 shift
138 for h in "$@" ; do
139 [[ ${h} == *.h ]] \
140 && h=header_${h} \
141 || h=lib_${h}
142 export ac_cv_${h//[:\/.]/_}=${ans}
143 done
144 }
145
146 src_compile() {
147 export LDCONFIG=/bin/true
148 use esd || export ac_cv_path_ESDCONFIG=""
149 use scanner || export ac_cv_path_sane_devel="no"
150 config_cache jack jack/jack.h
151 config_cache cups cups/cups.h
152 config_cache alsa alsa/asoundlib.h sys/asoundlib.h asound:snd_pcm_open
153 config_cache nas audio/audiolib.h audio/soundlib.h
154 config_cache xml libxml/parser.h libxslt/pattern.h libxslt/transform.h
155 config_cache ldap ldap.h lber.h
156 config_cache dbus dbus/dbus.h
157 config_cache hal hal/libhal.h
158 config_cache jpeg jpeglib.h
159 config_cache oss sys/soundcard.h machine/soundcard.h soundcard.h
160 config_cache lcms lcms.h
161
162 strip-flags
163
164 use amd64 && multilib_toolchain_setup x86
165
166 # $(use_enable amd64 win64)
167 econf \
168 --sysconfdir=/etc/wine \
169 $(use_with ncurses curses) \
170 $(use_with opengl) \
171 $(use_with X x) \
172 || die "configure failed"
173
174 emake -j1 depend || die "depend"
175 emake all || die "all"
176 }
177
178 src_install() {
179 emake DESTDIR="${D}" install || die
180 dodoc ANNOUNCE AUTHORS ChangeLog DEVELOPERS-HINTS README
181 if use gecko ; then
182 insinto /usr/share/wine/gecko
183 doins "${DISTDIR}"/wine_gecko-*.cab || die
184 fi
185 }
186
187 pkg_postinst() {
188 elog "~/.wine/config is now deprecated. For configuration either use"
189 elog "winecfg or regedit HKCU\\Software\\Wine"
190 }
191
192
193
194 --
195 gentoo-commits@l.g.o mailing list