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