1 |
ryao 15/07/29 22:25:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: crossover-bin-14.0.3-r1.ebuild |
5 |
crossover-bin-14.1.4-r1.ebuild |
6 |
Removed: crossover-bin-14.1.4.ebuild |
7 |
crossover-bin-14.0.3.ebuild |
8 |
Log: |
9 |
Remove ${ED} injection from perl scripts |
10 |
|
11 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.22 app-emulation/crossover-bin/ChangeLog |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/ChangeLog?rev=1.22&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/ChangeLog?rev=1.22&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/ChangeLog?r1=1.21&r2=1.22 |
19 |
|
20 |
Index: ChangeLog |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/ChangeLog,v |
23 |
retrieving revision 1.21 |
24 |
retrieving revision 1.22 |
25 |
diff -u -r1.21 -r1.22 |
26 |
--- ChangeLog 29 Jul 2015 22:06:16 -0000 1.21 |
27 |
+++ ChangeLog 29 Jul 2015 22:25:04 -0000 1.22 |
28 |
@@ -1,6 +1,14 @@ |
29 |
# ChangeLog for app-emulation/crossover-bin |
30 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/ChangeLog,v 1.21 2015/07/29 22:06:16 ryao Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/ChangeLog,v 1.22 2015/07/29 22:25:04 ryao Exp $ |
33 |
+ |
34 |
+*crossover-bin-14.0.3-r1 (29 Jul 2015) |
35 |
+*crossover-bin-14.1.4-r1 (29 Jul 2015) |
36 |
+ |
37 |
+ 29 Jul 2015; Richard Yao <ryao@g.o> +crossover-bin-14.0.3-r1.ebuild, |
38 |
+ +crossover-bin-14.1.4-r1.ebuild, -crossover-bin-14.0.3.ebuild, |
39 |
+ -crossover-bin-14.1.4.ebuild: |
40 |
+ Remove ${ED} injection from perl scripts |
41 |
|
42 |
*crossover-bin-14.1.4 (29 Jul 2015) |
43 |
|
44 |
|
45 |
|
46 |
|
47 |
1.1 app-emulation/crossover-bin/crossover-bin-14.0.3-r1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.0.3-r1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.0.3-r1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: crossover-bin-14.0.3-r1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2015 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.0.3-r1.ebuild,v 1.1 2015/07/29 22:25:04 ryao Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
PYTHON_COMPAT=( python2_7 ) |
60 |
PYTHON_REQ_USE="threads" |
61 |
|
62 |
inherit python-single-r1 unpacker |
63 |
|
64 |
DESCRIPTION="Commercial version of app-emulation/wine with paid support." |
65 |
HOMEPAGE="http://www.codeweavers.com/products/crossover/" |
66 |
SRC_URI="install-crossover-${PV}.bin" |
67 |
|
68 |
LICENSE="CROSSOVER-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="-* ~amd64 ~x86" |
71 |
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opengl +png +scanner +ssl +v4l" |
72 |
RESTRICT="fetch test" |
73 |
QA_FLAGS_IGNORED="opt/cxoffice/.*" |
74 |
QA_PRESTRIPPED="opt/cxoffice/lib/.* |
75 |
opt/cxoffice/bin/cxburner |
76 |
opt/cxoffice/bin/cxntlm_auth |
77 |
opt/cxoffice/bin/wineserver |
78 |
opt/cxoffice/bin/unrar |
79 |
opt/cxoffice/bin/wine-preloader |
80 |
opt/cxoffice/bin/cxdiag |
81 |
opt/cxoffice/bin/cxgettext |
82 |
opt/cxoffice/bin/wineloader |
83 |
" |
84 |
S="${WORKDIR}" |
85 |
|
86 |
DEPEND="dev-lang/perl |
87 |
app-arch/unzip |
88 |
${PYTHON_DEPS}" |
89 |
|
90 |
RDEPEND="${DEPEND} |
91 |
!prefix? ( sys-libs/glibc ) |
92 |
>=dev-python/pygtk-2.10[${PYTHON_USEDEP}] |
93 |
dev-python/dbus-python[${PYTHON_USEDEP}] |
94 |
dev-util/desktop-file-utils |
95 |
!app-emulation/crossover-office-pro-bin |
96 |
!app-emulation/crossover-office-bin |
97 |
capi? ( net-dialup/capi4k-utils ) |
98 |
cups? ( net-print/cups[abi_x86_32(-)] ) |
99 |
gsm? ( media-sound/gsm[abi_x86_32(-)] ) |
100 |
jpeg? ( virtual/jpeg[abi_x86_32(-)] ) |
101 |
lcms? ( media-libs/lcms:2 ) |
102 |
ldap? ( net-nds/openldap[abi_x86_32(-)] ) |
103 |
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] ) |
104 |
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] ) |
105 |
nls? ( sys-devel/gettext[abi_x86_32(-)] ) |
106 |
openal? ( media-libs/openal[abi_x86_32(-)] ) |
107 |
opengl? ( |
108 |
virtual/glu[abi_x86_32(-)] |
109 |
virtual/opengl[abi_x86_32(-)] |
110 |
) |
111 |
png? ( media-libs/libpng:0[abi_x86_32(-)] ) |
112 |
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] ) |
113 |
ssl? ( dev-libs/openssl:0[abi_x86_32(-)] ) |
114 |
v4l? ( media-libs/libv4l[abi_x86_32(-)] ) |
115 |
media-libs/alsa-lib[abi_x86_32(-)] |
116 |
>=media-libs/freetype-2.0.0[abi_x86_32(-)] |
117 |
media-libs/mesa[abi_x86_32(-)] |
118 |
sys-apps/util-linux[abi_x86_32(-)] |
119 |
sys-libs/zlib[abi_x86_32(-)] |
120 |
x11-libs/libICE[abi_x86_32(-)] |
121 |
x11-libs/libSM[abi_x86_32(-)] |
122 |
x11-libs/libX11[abi_x86_32(-)] |
123 |
x11-libs/libXau[abi_x86_32(-)] |
124 |
x11-libs/libXdmcp[abi_x86_32(-)] |
125 |
x11-libs/libXext[abi_x86_32(-)] |
126 |
x11-libs/libXi[abi_x86_32(-)] |
127 |
x11-libs/libXrandr[abi_x86_32(-)] |
128 |
x11-libs/libXxf86vm[abi_x86_32(-)] |
129 |
x11-libs/libxcb[abi_x86_32(-)]" |
130 |
|
131 |
pkg_nofetch() { |
132 |
einfo "Please visit ${HOMEPAGE}" |
133 |
einfo "and place ${A} in ${DISTDIR}" |
134 |
} |
135 |
|
136 |
src_unpack() { |
137 |
# self unpacking zip archive; unzip warns about the exe stuff |
138 |
unpack_zip ${A} |
139 |
} |
140 |
|
141 |
src_prepare() { |
142 |
python_fix_shebang . |
143 |
|
144 |
sed -i -e "s:\$link=\"\$xdgdir:\$link=\"${ED}\/\$xdgdir:" "${S}/lib/perl/CXMenu.pm" |
145 |
sed -i \ |
146 |
-e "s:\"\(.*\)/applications:\"${ED}/\1/applications:" \ |
147 |
-e "s:\"\(.*\)/desktop-directories:\"${ED}/\1/desktop-directories:" \ |
148 |
"${S}/lib/perl/CXMenuXDG.pm" |
149 |
|
150 |
# Remove unnecessary files |
151 |
rm -r license.txt guis/ || die "Could not remove files" |
152 |
use doc || rm -r doc/ || die "Could not remove files" |
153 |
} |
154 |
|
155 |
src_install() { |
156 |
# Install crossover symlink, bug #476314 |
157 |
dosym /opt/cxoffice/bin/crossover /opt/bin/crossover |
158 |
|
159 |
# Install documentation |
160 |
dodoc README changelog.txt |
161 |
rm README changelog.txt || die "Could not remove README and changelog.txt" |
162 |
|
163 |
# Install files |
164 |
dodir /opt/cxoffice |
165 |
cp -r ./* "${ED}opt/cxoffice" \ |
166 |
|| die "Could not install into ${ED}opt/cxoffice" |
167 |
|
168 |
# Install configuration file |
169 |
insinto /opt/cxoffice/etc |
170 |
doins share/crossover/data/cxoffice.conf |
171 |
|
172 |
# Install menus |
173 |
# XXX: locate_gui.sh automatically detects *-application-merged directories |
174 |
# This means what we install will vary depending on the contents of |
175 |
# /etc/xdg, which is a QA violation. It is not clear how to resolve this. |
176 |
XDG_DATA_DIRS="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \ |
177 |
"${ED}opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \ |
178 |
|| die "Could not install menus" |
179 |
|
180 |
rm "${ED}usr/share/applications/"*"Uninstall CrossOver Linux.desktop" |
181 |
sed -i -e "s:${ED}:/:" "${ED}usr/share/applications/"*.desktop |
182 |
sed -i -e "s:${ED}/::" \ |
183 |
"${ED}/opt/cxoffice/lib/perl/CXMenu.pm" \ |
184 |
"${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" |
185 |
} |
186 |
|
187 |
|
188 |
|
189 |
1.1 app-emulation/crossover-bin/crossover-bin-14.1.4-r1.ebuild |
190 |
|
191 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.1.4-r1.ebuild?rev=1.1&view=markup |
192 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.1.4-r1.ebuild?rev=1.1&content-type=text/plain |
193 |
|
194 |
Index: crossover-bin-14.1.4-r1.ebuild |
195 |
=================================================================== |
196 |
# Copyright 1999-2015 Gentoo Foundation |
197 |
# Distributed under the terms of the GNU General Public License v2 |
198 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-14.1.4-r1.ebuild,v 1.1 2015/07/29 22:25:04 ryao Exp $ |
199 |
|
200 |
EAPI=5 |
201 |
PYTHON_COMPAT=( python2_7 ) |
202 |
PYTHON_REQ_USE="threads" |
203 |
|
204 |
inherit python-single-r1 unpacker |
205 |
|
206 |
DESCRIPTION="Commercial version of app-emulation/wine with paid support." |
207 |
HOMEPAGE="http://www.codeweavers.com/products/crossover/" |
208 |
SRC_URI="install-crossover-${PV}.bin" |
209 |
|
210 |
LICENSE="CROSSOVER-2" |
211 |
SLOT="0" |
212 |
KEYWORDS="-* ~amd64 ~x86" |
213 |
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opengl +png +scanner +ssl +v4l" |
214 |
RESTRICT="fetch test" |
215 |
QA_FLAGS_IGNORED="opt/cxoffice/.*" |
216 |
QA_PRESTRIPPED="opt/cxoffice/lib/.* |
217 |
opt/cxoffice/bin/cxburner |
218 |
opt/cxoffice/bin/cxntlm_auth |
219 |
opt/cxoffice/bin/wineserver |
220 |
opt/cxoffice/bin/unrar |
221 |
opt/cxoffice/bin/wine-preloader |
222 |
opt/cxoffice/bin/cxdiag |
223 |
opt/cxoffice/bin/cxgettext |
224 |
opt/cxoffice/bin/wineloader |
225 |
" |
226 |
S="${WORKDIR}" |
227 |
|
228 |
DEPEND="dev-lang/perl |
229 |
app-arch/unzip |
230 |
${PYTHON_DEPS}" |
231 |
|
232 |
RDEPEND="${DEPEND} |
233 |
!prefix? ( sys-libs/glibc ) |
234 |
>=dev-python/pygtk-2.10[${PYTHON_USEDEP}] |
235 |
dev-python/dbus-python[${PYTHON_USEDEP}] |
236 |
dev-util/desktop-file-utils |
237 |
!app-emulation/crossover-office-pro-bin |
238 |
!app-emulation/crossover-office-bin |
239 |
capi? ( net-dialup/capi4k-utils ) |
240 |
cups? ( net-print/cups[abi_x86_32(-)] ) |
241 |
gsm? ( media-sound/gsm[abi_x86_32(-)] ) |
242 |
jpeg? ( virtual/jpeg[abi_x86_32(-)] ) |
243 |
lcms? ( media-libs/lcms:2 ) |
244 |
ldap? ( net-nds/openldap[abi_x86_32(-)] ) |
245 |
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] ) |
246 |
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] ) |
247 |
nls? ( sys-devel/gettext[abi_x86_32(-)] ) |
248 |
openal? ( media-libs/openal[abi_x86_32(-)] ) |
249 |
opengl? ( |
250 |
virtual/glu[abi_x86_32(-)] |
251 |
virtual/opengl[abi_x86_32(-)] |
252 |
) |
253 |
png? ( media-libs/libpng:0[abi_x86_32(-)] ) |
254 |
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] ) |
255 |
ssl? ( dev-libs/openssl:0[abi_x86_32(-)] ) |
256 |
v4l? ( media-libs/libv4l[abi_x86_32(-)] ) |
257 |
media-libs/alsa-lib[abi_x86_32(-)] |
258 |
>=media-libs/freetype-2.0.0[abi_x86_32(-)] |
259 |
media-libs/mesa[abi_x86_32(-)] |
260 |
sys-apps/util-linux[abi_x86_32(-)] |
261 |
sys-libs/zlib[abi_x86_32(-)] |
262 |
x11-libs/libICE[abi_x86_32(-)] |
263 |
x11-libs/libSM[abi_x86_32(-)] |
264 |
x11-libs/libX11[abi_x86_32(-)] |
265 |
x11-libs/libXau[abi_x86_32(-)] |
266 |
x11-libs/libXdmcp[abi_x86_32(-)] |
267 |
x11-libs/libXext[abi_x86_32(-)] |
268 |
x11-libs/libXi[abi_x86_32(-)] |
269 |
x11-libs/libXrandr[abi_x86_32(-)] |
270 |
x11-libs/libXxf86vm[abi_x86_32(-)] |
271 |
x11-libs/libxcb[abi_x86_32(-)]" |
272 |
|
273 |
pkg_nofetch() { |
274 |
einfo "Please visit ${HOMEPAGE}" |
275 |
einfo "and place ${A} in ${DISTDIR}" |
276 |
} |
277 |
|
278 |
src_unpack() { |
279 |
# self unpacking zip archive; unzip warns about the exe stuff |
280 |
unpack_zip ${A} |
281 |
} |
282 |
|
283 |
src_prepare() { |
284 |
python_fix_shebang . |
285 |
|
286 |
sed -i -e "s:\$link=\"\$xdgdir:\$link=\"${ED}\/\$xdgdir:" "${S}/lib/perl/CXMenu.pm" |
287 |
sed -i \ |
288 |
-e "s:\"\(.*\)/applications:\"${ED}/\1/applications:" \ |
289 |
-e "s:\"\(.*\)/desktop-directories:\"${ED}/\1/desktop-directories:" \ |
290 |
"${S}/lib/perl/CXMenuXDG.pm" |
291 |
|
292 |
# Remove unnecessary files |
293 |
rm -r license.txt guis/ || die "Could not remove files" |
294 |
use doc || rm -r doc/ || die "Could not remove files" |
295 |
} |
296 |
|
297 |
src_install() { |
298 |
# Install crossover symlink, bug #476314 |
299 |
dosym /opt/cxoffice/bin/crossover /opt/bin/crossover |
300 |
|
301 |
# Install documentation |
302 |
dodoc README changelog.txt |
303 |
rm README changelog.txt || die "Could not remove README and changelog.txt" |
304 |
|
305 |
# Install files |
306 |
dodir /opt/cxoffice |
307 |
cp -r ./* "${ED}opt/cxoffice" \ |
308 |
|| die "Could not install into ${ED}opt/cxoffice" |
309 |
|
310 |
# Install configuration file |
311 |
insinto /opt/cxoffice/etc |
312 |
doins share/crossover/data/cxoffice.conf |
313 |
|
314 |
# Install menus |
315 |
# XXX: locate_gui.sh automatically detects *-application-merged directories |
316 |
# This means what we install will vary depending on the contents of |
317 |
# /etc/xdg, which is a QA violation. It is not clear how to resolve this. |
318 |
XDG_DATA_DIRS="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \ |
319 |
"${ED}opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \ |
320 |
|| die "Could not install menus" |
321 |
|
322 |
rm "${ED}usr/share/applications/"*"Uninstall CrossOver Linux.desktop" |
323 |
sed -i -e "s:${ED}:/:" "${ED}usr/share/applications/"*.desktop |
324 |
sed -i -e "s:${ED}/::" \ |
325 |
"${ED}/opt/cxoffice/lib/perl/CXMenu.pm" \ |
326 |
"${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" |
327 |
} |