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.59.ebuild
Date: Fri, 04 Apr 2008 23:33:03
Message-Id: E1JhvP1-0000vw-S4@stork.gentoo.org
1 vapier 08/04/04 23:32:59
2
3 Modified: ChangeLog
4 Added: wine-0.9.59.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_pre5)
8
9 Revision Changes Path
10 1.208 app-emulation/wine/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.208&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/ChangeLog?rev=1.208&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/ChangeLog?r1=1.207&r2=1.208
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v
19 retrieving revision 1.207
20 retrieving revision 1.208
21 diff -u -r1.207 -r1.208
22 --- ChangeLog 22 Mar 2008 20:05:33 -0000 1.207
23 +++ ChangeLog 4 Apr 2008 23:32:59 -0000 1.208
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.207 2008/03/22 20:05:33 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.208 2008/04/04 23:32:59 vapier Exp $
29 +
30 +*wine-0.9.59 (04 Apr 2008)
31 +
32 + 04 Apr 2008; Mike Frysinger <vapier@g.o> +wine-0.9.59.ebuild:
33 + Version bump.
34
35 *wine-0.9.58 (22 Mar 2008)
36
37
38
39
40 1.1 app-emulation/wine/wine-0.9.59.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-0.9.59.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-0.9.59.ebuild?rev=1.1&content-type=text/plain
44
45 Index: wine-0.9.59.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.59.ebuild,v 1.1 2008/04/04 23:32:59 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 >=media-gfx/fontforge-20060703
106 X? (
107 x11-proto/inputproto
108 x11-proto/xextproto
109 x11-proto/xf86vidmodeproto
110 )
111 sys-devel/bison
112 sys-devel/flex"
113
114 pkg_setup() {
115 use alsa || return 0
116 if ! built_with_use --missing true media-libs/alsa-lib midi ; then
117 eerror "You must build media-libs/alsa-lib with USE=midi"
118 die "please re-emerge media-libs/alsa-lib with USE=midi"
119 fi
120 }
121
122 src_unpack() {
123 if [[ ${PV} == "9999" ]] ; then
124 git_src_unpack
125 else
126 unpack wine-${PV}.tar.bz2
127 fi
128 cd "${S}"
129
130 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in
131 epatch "${FILESDIR}"/wine-gentoo-no-ssp.patch #66002
132 sed -i '/^MimeType/d' tools/wine.desktop || die #117785
133 }
134
135 config_cache() {
136 local h ans="no"
137 use $1 && ans="yes"
138 shift
139 for h in "$@" ; do
140 [[ ${h} == *.h ]] \
141 && h=header_${h} \
142 || h=lib_${h}
143 export ac_cv_${h//[:\/.]/_}=${ans}
144 done
145 }
146
147 src_compile() {
148 export LDCONFIG=/bin/true
149 use esd || export ac_cv_path_ESDCONFIG=""
150 use scanner || export ac_cv_path_sane_devel="no"
151 config_cache jack jack/jack.h
152 config_cache cups cups/cups.h
153 config_cache alsa alsa/asoundlib.h sys/asoundlib.h asound:snd_pcm_open
154 config_cache nas audio/audiolib.h audio/soundlib.h
155 config_cache xml libxml/parser.h libxslt/pattern.h libxslt/transform.h
156 config_cache ldap ldap.h lber.h
157 config_cache dbus dbus/dbus.h
158 config_cache hal hal/libhal.h
159 config_cache jpeg jpeglib.h
160 config_cache oss sys/soundcard.h machine/soundcard.h soundcard.h
161 config_cache lcms lcms.h
162
163 strip-flags
164
165 use amd64 && multilib_toolchain_setup x86
166
167 # $(use_enable amd64 win64)
168 econf \
169 --sysconfdir=/etc/wine \
170 $(use_with ncurses curses) \
171 $(use_with opengl) \
172 $(use_with X x) \
173 || die "configure failed"
174
175 emake -j1 depend || die "depend"
176 emake all || die "all"
177 }
178
179 src_install() {
180 emake DESTDIR="${D}" install || die
181 dodoc ANNOUNCE AUTHORS ChangeLog DEVELOPERS-HINTS README
182 if use gecko ; then
183 insinto /usr/share/wine/gecko
184 doins "${DISTDIR}"/wine_gecko-*.cab || die
185 fi
186 }
187
188 pkg_postinst() {
189 elog "~/.wine/config is now deprecated. For configuration either use"
190 elog "winecfg or regedit HKCU\\Software\\Wine"
191 }
192
193
194
195 --
196 gentoo-commits@l.g.o mailing list