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