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