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