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