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