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