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: wine-0.9.58.ebuild wine-9999.ebuild
Date: Thu, 27 Mar 2008 18:50:53
Message-Id: E1Jewrg-0004f8-9q@stork.gentoo.org
1 vapier 08/03/27 18:30:16
2
3 Modified: wine-0.9.58.ebuild wine-9999.ebuild
4 Log:
5 sync ebuilds
6 (Portage version: 2.2_pre5)
7
8 Revision Changes Path
9 1.3 app-emulation/wine/wine-0.9.58.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-0.9.58.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-0.9.58.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-0.9.58.ebuild?r1=1.2&r2=1.3
14
15 Index: wine-0.9.58.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-0.9.58.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- wine-0.9.58.ebuild 27 Mar 2008 18:22:16 -0000 1.2
22 +++ wine-0.9.58.ebuild 27 Mar 2008 18:30:15 -0000 1.3
23 @@ -1,14 +1,22 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-0.9.58.ebuild,v 1.2 2008/03/27 18:22:16 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-0.9.58.ebuild,v 1.3 2008/03/27 18:30:15 vapier Exp $
28
29 EAPI="1"
30
31 inherit eutils flag-o-matic multilib
32
33 +if [[ ${PV} == "9999" ]] ; then
34 + EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
35 + inherit git
36 + SRC_URI=""
37 +else
38 + SRC_URI="mirror://sourceforge/${PN}/wine-${PV}.tar.bz2"
39 +fi
40 +
41 DESCRIPTION="free implementation of Windows(tm) on Unix"
42 HOMEPAGE="http://www.winehq.org/"
43 -SRC_URI="mirror://sourceforge/${PN}/wine-${PV}.tar.bz2
44 +SRC_URI="${SRC_URI}
45 gecko? ( mirror://sourceforge/wine/wine_gecko-0.1.0.cab )"
46
47 LICENSE="LGPL-2.1"
48 @@ -66,7 +74,11 @@
49 }
50
51 src_unpack() {
52 - unpack wine-${PV}.tar.bz2
53 + if [[ ${PV} == "9999" ]] ; then
54 + git_src_unpack
55 + else
56 + unpack wine-${PV}.tar.bz2
57 + fi
58 cd "${S}"
59
60 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in
61 @@ -120,7 +132,7 @@
62
63 src_install() {
64 emake DESTDIR="${D}" install || die
65 - dodoc ANNOUNCE AUTHORS ChangeLog README
66 + dodoc ANNOUNCE AUTHORS ChangeLog DEVELOPERS-HINTS README
67 if use gecko ; then
68 insinto /usr/share/wine/gecko
69 doins "${DISTDIR}"/wine_gecko-*.cab || die
70
71
72
73 1.24 app-emulation/wine/wine-9999.ebuild
74
75 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-9999.ebuild?rev=1.24&view=markup
76 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-9999.ebuild?rev=1.24&content-type=text/plain
77 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/wine/wine-9999.ebuild?r1=1.23&r2=1.24
78
79 Index: wine-9999.ebuild
80 ===================================================================
81 RCS file: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v
82 retrieving revision 1.23
83 retrieving revision 1.24
84 diff -u -r1.23 -r1.24
85 --- wine-9999.ebuild 27 Mar 2008 18:22:16 -0000 1.23
86 +++ wine-9999.ebuild 27 Mar 2008 18:30:15 -0000 1.24
87 @@ -1,19 +1,28 @@
88 # Copyright 1999-2008 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.23 2008/03/27 18:22:16 vapier Exp $
91 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.24 2008/03/27 18:30:15 vapier Exp $
92
93 -EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
94 +EAPI="1"
95
96 -inherit eutils flag-o-matic multilib git
97 +inherit eutils flag-o-matic multilib
98 +
99 +if [[ ${PV} == "9999" ]] ; then
100 + EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
101 + inherit git
102 + SRC_URI=""
103 +else
104 + SRC_URI="mirror://sourceforge/${PN}/wine-${PV}.tar.bz2"
105 +fi
106
107 DESCRIPTION="free implementation of Windows(tm) on Unix"
108 HOMEPAGE="http://www.winehq.org/"
109 -SRC_URI=""
110 +SRC_URI="${SRC_URI}
111 + gecko? ( mirror://sourceforge/wine/wine_gecko-0.1.0.cab )"
112
113 LICENSE="LGPL-2.1"
114 SLOT="0"
115 KEYWORDS=""
116 -IUSE="alsa arts cups dbus esd hal jack jpeg lcms ldap nas ncurses opengl oss scanner xml X"
117 +IUSE="alsa cups dbus esd +gecko hal jack jpeg lcms ldap nas ncurses +opengl oss samba scanner xml +X"
118 RESTRICT="test" #72375
119
120 RDEPEND=">=media-libs/freetype-2.0.0
121 @@ -23,13 +32,13 @@
122 dbus? ( sys-apps/dbus )
123 hal? ( sys-apps/hal )
124 X? (
125 + x11-libs/libXcursor
126 x11-libs/libXrandr
127 x11-libs/libXi
128 x11-libs/libXmu
129 x11-libs/libXxf86vm
130 x11-apps/xmessage
131 )
132 - arts? ( kde-base/arts )
133 alsa? ( media-libs/alsa-lib )
134 esd? ( media-sound/esound )
135 nas? ( media-libs/nas )
136 @@ -38,6 +47,7 @@
137 jpeg? ( media-libs/jpeg )
138 ldap? ( net-nds/openldap )
139 lcms? ( media-libs/lcms )
140 + samba? ( >=net-fs/samba-3.0.25 )
141 xml? ( dev-libs/libxml2 dev-libs/libxslt )
142 scanner? ( media-gfx/sane-backends )
143 amd64? (
144 @@ -55,10 +65,20 @@
145 sys-devel/bison
146 sys-devel/flex"
147
148 -S=${WORKDIR}/${EGIT_PROJECT}
149 +pkg_setup() {
150 + use alsa || return 0
151 + if ! built_with_use --missing true media-libs/alsa-lib midi ; then
152 + eerror "You must build media-libs/alsa-lib with USE=midi"
153 + die "please re-emerge media-libs/alsa-lib with USE=midi"
154 + fi
155 +}
156
157 src_unpack() {
158 - git_src_unpack
159 + if [[ ${PV} == "9999" ]] ; then
160 + git_src_unpack
161 + else
162 + unpack wine-${PV}.tar.bz2
163 + fi
164 cd "${S}"
165
166 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in
167 @@ -80,7 +100,6 @@
168
169 src_compile() {
170 export LDCONFIG=/bin/true
171 - use arts || export ac_cv_path_ARTSCCONFIG=""
172 use esd || export ac_cv_path_ESDCONFIG=""
173 use scanner || export ac_cv_path_sane_devel="no"
174 config_cache jack jack/jack.h
175 @@ -112,8 +131,12 @@
176 }
177
178 src_install() {
179 - make DESTDIR="${D}" install || die
180 + emake DESTDIR="${D}" install || die
181 dodoc ANNOUNCE AUTHORS ChangeLog DEVELOPERS-HINTS README
182 + if use gecko ; then
183 + insinto /usr/share/wine/gecko
184 + doins "${DISTDIR}"/wine_gecko-*.cab || die
185 + fi
186 }
187
188 pkg_postinst() {
189
190
191
192 --
193 gentoo-commits@l.g.o mailing list