1 |
commit: a4e53efba2ce9d4aedc65a7af2aa216566d9911e |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 20 19:42:31 2022 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 20 19:44:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4e53efb |
7 |
|
8 |
app-emulation/crossover-bin: drop 20.0.4-r1, 21.0.0, 21.1.0 |
9 |
|
10 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
11 |
|
12 |
app-emulation/crossover-bin/Manifest | 2 - |
13 |
.../crossover-bin/crossover-bin-20.0.4-r1.ebuild | 225 --------------------- |
14 |
.../crossover-bin/crossover-bin-21.0.0.ebuild | 224 -------------------- |
15 |
.../crossover-bin/crossover-bin-21.1.0.ebuild | 223 -------------------- |
16 |
4 files changed, 674 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/crossover-bin/Manifest b/app-emulation/crossover-bin/Manifest |
19 |
index 6ac1bd8e3de5..6e59fccdd29c 100644 |
20 |
--- a/app-emulation/crossover-bin/Manifest |
21 |
+++ b/app-emulation/crossover-bin/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
-DIST install-crossover-20.0.4.bin 221436226 BLAKE2B 486494455759d92f8e7e5d35968a603e41a0674cb0752e7d5ba4893d33e77b3e31fea2ebe75d471e2478e7f3cce9be2f712840f1f50bfe790fec5ec936b804a5 SHA512 78252d29f8a72a8742d57a65a60d09a81a70a98517b67468dac96af94ee8af7a313f164af6717f9a9c657095e66466809e08584c7a0fde3bd58c27ff00f41067 |
24 |
-DIST install-crossover-21.0.0.bin 312441596 BLAKE2B 4431f545e6a8c8bbc1ab5cf0f46d019242b48c61a2edfc7a762e38718d6543ce384ad55b40f3470f11893adcb6801323db5dba846cc0b544d6dab5e5bfb24e2b SHA512 c5567eef346d93af22f996be2a5a0237bc299c54cba3aa9a1345854b0cf601ffd26975536d18175735c170411b572a59d5dadb39674bfe158ca9944595e4deed |
25 |
DIST install-crossover-21.1.0.bin 314014189 BLAKE2B f214d8b76a8809e396509013adb7ccfd5301ce35e8fda802d3601b3c88d1273eaa00f0457fb69897c4cac58f0a779ff18d5eef1708e5315d1173ecbf5967bb70 SHA512 271e67988e2fa4c1b3277e9b089a9ee11b52931fda597d6bf9975fe38b031e526dd6bac4c7a31ca530487380895ec8e94b4439ad7bd85098c87f35f8530c28f3 |
26 |
DIST install-crossover-21.2.0.bin 313966852 BLAKE2B 746b16a1e093adf344fa827e5c6b9a439e690003bf3eb30b32b9a30017f1697c21bc5c9e196736cc25e24daeed3ee3a809b20d44e0005bfd45ab542ede6c2d44 SHA512 a8ba1396e05119122dc0d813bc408fc0a2a3adc5c805ce15aea8e98a6a27d980eabafaf7a727f4cf1c30d68e456e8d82b83438e404cbf41db05d569f8832a9ec |
27 |
|
28 |
diff --git a/app-emulation/crossover-bin/crossover-bin-20.0.4-r1.ebuild b/app-emulation/crossover-bin/crossover-bin-20.0.4-r1.ebuild |
29 |
deleted file mode 100644 |
30 |
index 3f9645ab5dd3..000000000000 |
31 |
--- a/app-emulation/crossover-bin/crossover-bin-20.0.4-r1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,225 +0,0 @@ |
34 |
-# Copyright 1999-2021 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
-PYTHON_COMPAT=( python3_{7..9} ) |
39 |
- |
40 |
-inherit python-single-r1 unpacker |
41 |
- |
42 |
-DESCRIPTION="Commercial version of app-emulation/wine with paid support" |
43 |
-HOMEPAGE="https://www.codeweavers.com/products/" |
44 |
-SRC_URI="https://media.codeweavers.com/pub/crossover/cxlinux/demo/install-crossover-${PV}.bin" |
45 |
- |
46 |
-LICENSE="CROSSOVER-3" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="-* ~amd64 ~x86" |
49 |
-IUSE="+capi +cups doc +gphoto2 +gsm +gstreamer +jpeg +lcms ldap +mp3 +nls osmesa +openal +opencl +opengl +pcap +png +scanner +ssl +v4l +vulkan" |
50 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
51 |
- |
52 |
-RESTRICT="bindist test" |
53 |
- |
54 |
-QA_FLAGS_IGNORED="opt/cxoffice/.*" |
55 |
-QA_PRESTRIPPED=" |
56 |
- opt/cxoffice/lib/.* |
57 |
- opt/cxoffice/lib64/.* |
58 |
- opt/cxoffice/bin/cabextract |
59 |
- opt/cxoffice/bin/cxburner |
60 |
- opt/cxoffice/bin/cxntlm_auth |
61 |
- opt/cxoffice/bin/wineserver |
62 |
- opt/cxoffice/bin/wineserver32 |
63 |
- opt/cxoffice/bin/wineserver64 |
64 |
- opt/cxoffice/bin/wine64-preloader |
65 |
- opt/cxoffice/bin/unrar |
66 |
- opt/cxoffice/bin/wine-preloader |
67 |
- opt/cxoffice/bin/cxdiag |
68 |
- opt/cxoffice/bin/cxdiag64 |
69 |
- opt/cxoffice/bin/cxgettext |
70 |
- opt/cxoffice/bin/wineloader |
71 |
- opt/cxoffice/bin/wineloader64 |
72 |
-" |
73 |
-QA_TEXTRELS=" |
74 |
- opt/cxoffice/bin/wineserver32 |
75 |
- opt/cxoffice/lib/wine/* |
76 |
- opt/cxoffice/lib/libwine.so* |
77 |
-" |
78 |
- |
79 |
-S="${WORKDIR}" |
80 |
- |
81 |
-DEPEND="" |
82 |
-BDEPEND="${PYTHON_DEPS} |
83 |
- app-arch/cpio |
84 |
- app-arch/unzip |
85 |
- dev-lang/perl |
86 |
- dev-util/bbe |
87 |
-" |
88 |
- |
89 |
-RDEPEND="${DEPEND} |
90 |
- ${PYTHON_DEPS} |
91 |
- $(python_gen_cond_dep ' |
92 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
93 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
94 |
- ') |
95 |
- !prefix? ( sys-libs/glibc ) |
96 |
- !app-emulation/crossover-office-pro-bin |
97 |
- !app-emulation/crossover-office-bin |
98 |
- capi? ( net-libs/libcapi[abi_x86_32(-)] ) |
99 |
- cups? ( net-print/cups[abi_x86_32(-)] ) |
100 |
- gsm? ( media-sound/gsm[abi_x86_32(-)] ) |
101 |
- jpeg? ( virtual/jpeg:0[abi_x86_32(-)] ) |
102 |
- lcms? ( media-libs/lcms:2 ) |
103 |
- ldap? ( net-nds/openldap[abi_x86_32(-)] ) |
104 |
- gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] ) |
105 |
- gstreamer? ( |
106 |
- media-libs/gstreamer:1.0[abi_x86_32(-)] |
107 |
- jpeg? ( media-plugins/gst-plugins-jpeg:1.0[abi_x86_32(-)] ) |
108 |
- media-plugins/gst-plugins-meta:1.0[abi_x86_32(-)] |
109 |
- ) |
110 |
- mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] ) |
111 |
- nls? ( sys-devel/gettext[abi_x86_32(-)] ) |
112 |
- openal? ( media-libs/openal[abi_x86_32(-)] ) |
113 |
- opencl? ( virtual/opencl[abi_x86_32(-)] ) |
114 |
- opengl? ( |
115 |
- virtual/glu[abi_x86_32(-)] |
116 |
- virtual/opengl[abi_x86_32(-)] |
117 |
- ) |
118 |
- pcap? ( net-libs/libpcap[abi_x86_32(-)] ) |
119 |
- png? ( media-libs/libpng:0[abi_x86_32(-)] ) |
120 |
- scanner? ( media-gfx/sane-backends[abi_x86_32(-)] ) |
121 |
- ssl? ( net-libs/gnutls:0/30[abi_x86_32(-)] ) |
122 |
- v4l? ( media-libs/libv4l[abi_x86_32(-)] ) |
123 |
- vulkan? ( media-libs/vulkan-loader[abi_x86_32(-)] ) |
124 |
- dev-libs/glib:2 |
125 |
- dev-libs/gobject-introspection |
126 |
- dev-libs/openssl |
127 |
- dev-util/desktop-file-utils |
128 |
- media-libs/alsa-lib[abi_x86_32(-)] |
129 |
- media-libs/freetype:2[abi_x86_32(-)] |
130 |
- media-libs/mesa[abi_x86_32(-),osmesa?] |
131 |
- media-libs/tiff:0[abi_x86_32(-)] |
132 |
- sys-auth/nss-mdns[abi_x86_32(-)] |
133 |
- sys-apps/util-linux[abi_x86_32(-)] |
134 |
- sys-libs/libunwind[abi_x86_32(-)] |
135 |
- sys-libs/ncurses-compat:5[abi_x86_32(-)] |
136 |
- sys-libs/zlib[abi_x86_32(-)] |
137 |
- x11-libs/libICE[abi_x86_32(-)] |
138 |
- x11-libs/libSM[abi_x86_32(-)] |
139 |
- x11-libs/libX11[abi_x86_32(-)] |
140 |
- x11-libs/libXau[abi_x86_32(-)] |
141 |
- x11-libs/libXcursor[abi_x86_32(-)] |
142 |
- x11-libs/libXdmcp[abi_x86_32(-)] |
143 |
- x11-libs/libXext[abi_x86_32(-)] |
144 |
- x11-libs/libXi[abi_x86_32(-)] |
145 |
- x11-libs/libXrandr[abi_x86_32(-)] |
146 |
- x11-libs/libXxf86vm[abi_x86_32(-)] |
147 |
- x11-libs/libxcb[abi_x86_32(-)] |
148 |
- x11-libs/gdk-pixbuf:2[introspection] |
149 |
- x11-libs/gtk+:3[introspection] |
150 |
- x11-libs/pango[introspection] |
151 |
- x11-libs/vte:2.91[introspection] |
152 |
- || ( |
153 |
- sys-libs/libxcrypt[compat] |
154 |
- sys-libs/glibc[crypt(+)] |
155 |
- ) |
156 |
-" |
157 |
- |
158 |
-pkg_nofetch() { |
159 |
- einfo "Please visit ${HOMEPAGE}" |
160 |
- einfo "and place ${A} into your DISTDIR directory" |
161 |
-} |
162 |
- |
163 |
-src_unpack() { |
164 |
- # self unpacking zip archive; unzip warns about the exe stuff |
165 |
- unpack_zip ${A} |
166 |
-} |
167 |
- |
168 |
-src_prepare() { |
169 |
- default |
170 |
- |
171 |
- sed -i \ |
172 |
- -e "s:xdg_install_icons(:&\"${ED}\".:" \ |
173 |
- -e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \ |
174 |
- -e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \ |
175 |
- "${S}/lib/perl/CXMenuXDG.pm" |
176 |
- |
177 |
- # Remove unnecessary files, license.txt file kept as it's used by |
178 |
- # multiple files (apart of the menu to show the license) |
179 |
- rm -r guis/ || die "Could not remove files" |
180 |
- use doc || rm -r doc/ || die "Could not remove files" |
181 |
-} |
182 |
- |
183 |
-src_install() { |
184 |
- # Install crossover symlink, bug #476314 |
185 |
- dosym ../cxoffice/bin/crossover /opt/bin/crossover |
186 |
- |
187 |
- # Install documentation |
188 |
- dodoc README changelog.txt |
189 |
- rm README changelog.txt || die "Could not remove README and changelog.txt" |
190 |
- |
191 |
- # Install files |
192 |
- dodir /opt/cxoffice |
193 |
- #cp -r ./* "${ED}/opt/cxoffice" \ |
194 |
- find . | cpio -dumpl "${ED}/opt/cxoffice" 2>/dev/null \ |
195 |
- || die "Could not install into ${ED}/opt/cxoffice" |
196 |
- |
197 |
- # Disable auto-update |
198 |
- sed -i -e 's/;;\"AutoUpdate\" = \"1\"/\"AutoUpdate\" = \"0\"/g' share/crossover/data/cxoffice.conf || die |
199 |
- # Install configuration file |
200 |
- insinto /opt/cxoffice/etc |
201 |
- doins share/crossover/data/cxoffice.conf |
202 |
- dodir /etc/env.d |
203 |
- echo "CONFIG_PROTECT=/opt/cxoffice/etc/cxoffice.conf" >> "${ED}"/etc/env.d/30crossover-bin || die |
204 |
- |
205 |
- # Konqueror in its infinite wisdom decides to try opening things for |
206 |
- # writing, which are sandbox violations. This breaks the install process if |
207 |
- # it is installed, so we ninja edit it to false so it so doesn't run. |
208 |
- sed -i -e 's/cxwhich konqueror/false &/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ |
209 |
- || die "Could not apply workaround for konqueror" |
210 |
- |
211 |
- # Install menus |
212 |
- # XXX: locate_gui.sh automatically detects *-application-merged directories |
213 |
- # This means what we install will vary depending on the contents of |
214 |
- # /etc/xdg, which is a QA violation. It is not clear how to resolve this. |
215 |
- XDG_DATA_HOME="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \ |
216 |
- "${ED}/opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \ |
217 |
- || die "Could not install menus" |
218 |
- |
219 |
- # Revert ninja edit |
220 |
- sed -i -e 's/false \(cxwhich konqueror\)/\1/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ |
221 |
- || die "Could not apply workaround for konqueror" |
222 |
- |
223 |
- rm "${ED}/usr/share/applications/"*"Uninstall CrossOver Linux.desktop" \ |
224 |
- || die "Could not remove uninstall menus" |
225 |
- sed -i \ |
226 |
- -e "s:\"${ED}\".::" \ |
227 |
- -e "s:${ED}::" \ |
228 |
- "${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" \ |
229 |
- || die "Could not fix paths in ${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" |
230 |
- sed -i -e "s:${ED}:/:" \ |
231 |
- "${ED}/usr/share/applications/"*"CrossOver.desktop" \ |
232 |
- || die "Could not fix paths of *.desktop files" |
233 |
- |
234 |
- # Workaround missing libs |
235 |
- # https://www.codeweavers.com/support/forums/general/?t=26;mhl=198658;msg=198658 |
236 |
- if use gphoto2; then |
237 |
- bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" >tmp || die |
238 |
- mv tmp "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" || die |
239 |
- bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/bin/cxdiag" >tmp || die |
240 |
- mv tmp "${ED}/opt/cxoffice/bin/cxdiag" || die |
241 |
- fperms a+x "/opt/cxoffice/bin/cxdiag" |
242 |
- fi |
243 |
- # It tries to load libpcap as packaged in Debian, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657900 |
244 |
- # https://bugs.gentoo.org/721108 |
245 |
- if use pcap; then |
246 |
- bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" >tmp || die |
247 |
- bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" >tmp64 || die |
248 |
- mv tmp "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" || die |
249 |
- mv tmp64 "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" || die |
250 |
- fi |
251 |
-} |
252 |
- |
253 |
-pkg_postinst() { |
254 |
- einfo "${P} is open source software with the exception of the GUI." |
255 |
- einfo "Source code can be obtained from:" |
256 |
- einfo |
257 |
- einfo "https://media.codeweavers.com/pub/crossover/source/crossover-sources-${PV}.tar.gz" |
258 |
-} |
259 |
|
260 |
diff --git a/app-emulation/crossover-bin/crossover-bin-21.0.0.ebuild b/app-emulation/crossover-bin/crossover-bin-21.0.0.ebuild |
261 |
deleted file mode 100644 |
262 |
index ef3e996fa335..000000000000 |
263 |
--- a/app-emulation/crossover-bin/crossover-bin-21.0.0.ebuild |
264 |
+++ /dev/null |
265 |
@@ -1,224 +0,0 @@ |
266 |
-# Copyright 1999-2021 Gentoo Authors |
267 |
-# Distributed under the terms of the GNU General Public License v2 |
268 |
- |
269 |
-EAPI=7 |
270 |
-PYTHON_COMPAT=( python3_{7..9} ) |
271 |
- |
272 |
-inherit python-single-r1 unpacker |
273 |
- |
274 |
-DESCRIPTION="Commercial version of app-emulation/wine with paid support" |
275 |
-HOMEPAGE="https://www.codeweavers.com/products/" |
276 |
-SRC_URI="https://media.codeweavers.com/pub/crossover/cxlinux/demo/install-crossover-${PV}.bin" |
277 |
- |
278 |
-LICENSE="CROSSOVER-3" |
279 |
-SLOT="0" |
280 |
-KEYWORDS="-* ~amd64 ~x86" |
281 |
-IUSE="+capi +cups doc +gphoto2 +gsm +gstreamer +jpeg +lcms ldap +mp3 +nls osmesa +openal +opencl +opengl +pcap +png +scanner +ssl +v4l +vulkan" |
282 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
283 |
- |
284 |
-RESTRICT="bindist test" |
285 |
- |
286 |
-QA_FLAGS_IGNORED="opt/cxoffice/.*" |
287 |
-QA_PRESTRIPPED=" |
288 |
- opt/cxoffice/lib/.* |
289 |
- opt/cxoffice/lib64/.* |
290 |
- opt/cxoffice/bin/cabextract |
291 |
- opt/cxoffice/bin/cxburner |
292 |
- opt/cxoffice/bin/cxntlm_auth |
293 |
- opt/cxoffice/bin/wineserver |
294 |
- opt/cxoffice/bin/wineserver32 |
295 |
- opt/cxoffice/bin/wineserver64 |
296 |
- opt/cxoffice/bin/wine64-preloader |
297 |
- opt/cxoffice/bin/unrar |
298 |
- opt/cxoffice/bin/wine-preloader |
299 |
- opt/cxoffice/bin/cxdiag |
300 |
- opt/cxoffice/bin/cxdiag64 |
301 |
- opt/cxoffice/bin/cxgettext |
302 |
- opt/cxoffice/bin/vkd3d-compiler |
303 |
- opt/cxoffice/bin/wineloader |
304 |
- opt/cxoffice/bin/wineloader64 |
305 |
-" |
306 |
-QA_TEXTRELS=" |
307 |
- opt/cxoffice/bin/wineserver32 |
308 |
- opt/cxoffice/lib/wine/* |
309 |
- opt/cxoffice/lib/libwine.so* |
310 |
-" |
311 |
- |
312 |
-S="${WORKDIR}" |
313 |
- |
314 |
-DEPEND="" |
315 |
-BDEPEND="${PYTHON_DEPS} |
316 |
- app-arch/cpio |
317 |
- app-arch/unzip |
318 |
- dev-lang/perl |
319 |
- dev-util/bbe |
320 |
-" |
321 |
- |
322 |
-RDEPEND="${DEPEND} |
323 |
- ${PYTHON_DEPS} |
324 |
- $(python_gen_cond_dep ' |
325 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
326 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
327 |
- ') |
328 |
- !prefix? ( sys-libs/glibc ) |
329 |
- !app-emulation/crossover-office-pro-bin |
330 |
- !app-emulation/crossover-office-bin |
331 |
- capi? ( net-libs/libcapi[abi_x86_32(-)] ) |
332 |
- cups? ( net-print/cups[abi_x86_32(-)] ) |
333 |
- gsm? ( media-sound/gsm[abi_x86_32(-)] ) |
334 |
- jpeg? ( virtual/jpeg:0[abi_x86_32(-)] ) |
335 |
- lcms? ( media-libs/lcms:2 ) |
336 |
- ldap? ( net-nds/openldap[abi_x86_32(-)] ) |
337 |
- gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] ) |
338 |
- gstreamer? ( |
339 |
- media-libs/gstreamer:1.0[abi_x86_32(-)] |
340 |
- jpeg? ( media-plugins/gst-plugins-jpeg:1.0[abi_x86_32(-)] ) |
341 |
- media-plugins/gst-plugins-meta:1.0[abi_x86_32(-)] |
342 |
- ) |
343 |
- mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] ) |
344 |
- nls? ( sys-devel/gettext[abi_x86_32(-)] ) |
345 |
- openal? ( media-libs/openal[abi_x86_32(-)] ) |
346 |
- opencl? ( virtual/opencl[abi_x86_32(-)] ) |
347 |
- opengl? ( |
348 |
- virtual/glu[abi_x86_32(-)] |
349 |
- virtual/opengl[abi_x86_32(-)] |
350 |
- ) |
351 |
- pcap? ( net-libs/libpcap[abi_x86_32(-)] ) |
352 |
- png? ( media-libs/libpng:0[abi_x86_32(-)] ) |
353 |
- scanner? ( media-gfx/sane-backends[abi_x86_32(-)] ) |
354 |
- ssl? ( net-libs/gnutls:0/30[abi_x86_32(-)] ) |
355 |
- v4l? ( media-libs/libv4l[abi_x86_32(-)] ) |
356 |
- vulkan? ( media-libs/vulkan-loader[abi_x86_32(-)] ) |
357 |
- dev-libs/glib:2 |
358 |
- dev-libs/gobject-introspection |
359 |
- dev-libs/openssl |
360 |
- dev-util/desktop-file-utils |
361 |
- media-libs/alsa-lib[abi_x86_32(-)] |
362 |
- media-libs/freetype:2[abi_x86_32(-)] |
363 |
- media-libs/mesa[abi_x86_32(-),osmesa?] |
364 |
- media-libs/tiff:0[abi_x86_32(-)] |
365 |
- sys-auth/nss-mdns[abi_x86_32(-)] |
366 |
- sys-apps/util-linux[abi_x86_32(-)] |
367 |
- sys-libs/libunwind[abi_x86_32(-)] |
368 |
- sys-libs/ncurses-compat:5[abi_x86_32(-)] |
369 |
- sys-libs/zlib[abi_x86_32(-)] |
370 |
- x11-libs/libICE[abi_x86_32(-)] |
371 |
- x11-libs/libSM[abi_x86_32(-)] |
372 |
- x11-libs/libX11[abi_x86_32(-)] |
373 |
- x11-libs/libXau[abi_x86_32(-)] |
374 |
- x11-libs/libXcursor[abi_x86_32(-)] |
375 |
- x11-libs/libXdmcp[abi_x86_32(-)] |
376 |
- x11-libs/libXext[abi_x86_32(-)] |
377 |
- x11-libs/libXi[abi_x86_32(-)] |
378 |
- x11-libs/libXrandr[abi_x86_32(-)] |
379 |
- x11-libs/libXxf86vm[abi_x86_32(-)] |
380 |
- x11-libs/libxcb[abi_x86_32(-)] |
381 |
- x11-libs/gdk-pixbuf:2[introspection] |
382 |
- x11-libs/gtk+:3[introspection] |
383 |
- x11-libs/pango[introspection] |
384 |
- x11-libs/vte:2.91[introspection] |
385 |
- || ( |
386 |
- sys-libs/libxcrypt[compat] |
387 |
- sys-libs/glibc[crypt(+)] |
388 |
- ) |
389 |
-" |
390 |
- |
391 |
-pkg_nofetch() { |
392 |
- einfo "Please visit ${HOMEPAGE}" |
393 |
- einfo "and place ${A} into your DISTDIR directory" |
394 |
-} |
395 |
- |
396 |
-src_unpack() { |
397 |
- # self unpacking zip archive; unzip warns about the exe stuff |
398 |
- unpack_zip ${A} |
399 |
-} |
400 |
- |
401 |
-src_prepare() { |
402 |
- default |
403 |
- |
404 |
- sed -i \ |
405 |
- -e "s:xdg_install_icons(:&\"${ED}\".:" \ |
406 |
- -e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \ |
407 |
- -e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \ |
408 |
- "${S}/lib/perl/CXMenuXDG.pm" |
409 |
- |
410 |
- # Remove unnecessary files, license.txt file kept as it's used by |
411 |
- # multiple files (apart of the menu to show the license) |
412 |
- rm -r guis/ || die "Could not remove files" |
413 |
- use doc || rm -r doc/ || die "Could not remove files" |
414 |
-} |
415 |
- |
416 |
-src_install() { |
417 |
- # Install crossover symlink, bug #476314 |
418 |
- dosym ../cxoffice/bin/crossover /opt/bin/crossover |
419 |
- |
420 |
- # Install documentation |
421 |
- dodoc README changelog.txt |
422 |
- rm README changelog.txt || die "Could not remove README and changelog.txt" |
423 |
- |
424 |
- # Install files |
425 |
- dodir /opt/cxoffice |
426 |
- #cp -r ./* "${ED}/opt/cxoffice" \ |
427 |
- find . | cpio -dumpl "${ED}/opt/cxoffice" 2>/dev/null \ |
428 |
- || die "Could not install into ${ED}/opt/cxoffice" |
429 |
- |
430 |
- # Disable auto-update |
431 |
- sed -i -e 's/;;\"AutoUpdate\" = \"1\"/\"AutoUpdate\" = \"0\"/g' share/crossover/data/cxoffice.conf || die |
432 |
- # Install configuration file |
433 |
- insinto /opt/cxoffice/etc |
434 |
- doins share/crossover/data/cxoffice.conf |
435 |
- dodir /etc/env.d |
436 |
- echo "CONFIG_PROTECT=/opt/cxoffice/etc/cxoffice.conf" >> "${ED}"/etc/env.d/30crossover-bin || die |
437 |
- |
438 |
- # Konqueror in its infinite wisdom decides to try opening things for |
439 |
- # writing, which are sandbox violations. This breaks the install process if |
440 |
- # it is installed, so we ninja edit it to false so it so doesn't run. |
441 |
- sed -i -e 's/cxwhich konqueror/false &/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ |
442 |
- || die "Could not apply workaround for konqueror" |
443 |
- |
444 |
- # Install menus |
445 |
- # XXX: locate_gui.sh automatically detects *-application-merged directories |
446 |
- # This means what we install will vary depending on the contents of |
447 |
- # /etc/xdg, which is a QA violation. It is not clear how to resolve this. |
448 |
- XDG_DATA_HOME="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \ |
449 |
- "${ED}/opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \ |
450 |
- || die "Could not install menus" |
451 |
- |
452 |
- # Revert ninja edit |
453 |
- sed -i -e 's/false \(cxwhich konqueror\)/\1/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ |
454 |
- || die "Could not apply workaround for konqueror" |
455 |
- |
456 |
- rm "${ED}/usr/share/applications/"*"Uninstall"* \ |
457 |
- || die "Could not remove uninstall menus" |
458 |
- sed -i \ |
459 |
- -e "s:\"${ED}\".::" \ |
460 |
- -e "s:${ED}::" \ |
461 |
- "${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" \ |
462 |
- || die "Could not fix paths in ${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" |
463 |
- sed -i -e "s:${ED}:/:" \ |
464 |
- "${ED}/usr/share/applications/"*"CrossOver.desktop" \ |
465 |
- || die "Could not fix paths of *.desktop files" |
466 |
- |
467 |
- # Workaround missing libs |
468 |
- # https://www.codeweavers.com/support/forums/general/?t=26;mhl=198658;msg=198658 |
469 |
- if use gphoto2; then |
470 |
- bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" >tmp || die |
471 |
- mv tmp "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" || die |
472 |
- bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/bin/cxdiag" >tmp || die |
473 |
- mv tmp "${ED}/opt/cxoffice/bin/cxdiag" || die |
474 |
- fperms a+x "/opt/cxoffice/bin/cxdiag" |
475 |
- fi |
476 |
- # It tries to load libpcap as packaged in Debian, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657900 |
477 |
- # https://bugs.gentoo.org/721108 |
478 |
- if use pcap; then |
479 |
- bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" >tmp || die |
480 |
- bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" >tmp64 || die |
481 |
- mv tmp "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" || die |
482 |
- mv tmp64 "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" || die |
483 |
- fi |
484 |
- |
485 |
- # Remove libs that link to openldap |
486 |
- if ! use ldap; then |
487 |
- rm "${ED}"/opt/cxoffice/lib*/wine/wldap32.dll.so || die |
488 |
- fi |
489 |
-} |
490 |
|
491 |
diff --git a/app-emulation/crossover-bin/crossover-bin-21.1.0.ebuild b/app-emulation/crossover-bin/crossover-bin-21.1.0.ebuild |
492 |
deleted file mode 100644 |
493 |
index 119da1d6ec29..000000000000 |
494 |
--- a/app-emulation/crossover-bin/crossover-bin-21.1.0.ebuild |
495 |
+++ /dev/null |
496 |
@@ -1,223 +0,0 @@ |
497 |
-# Copyright 1999-2021 Gentoo Authors |
498 |
-# Distributed under the terms of the GNU General Public License v2 |
499 |
- |
500 |
-EAPI=8 |
501 |
-PYTHON_COMPAT=( python3_{7..10} ) |
502 |
- |
503 |
-inherit python-single-r1 unpacker |
504 |
- |
505 |
-DESCRIPTION="Commercial version of app-emulation/wine with paid support" |
506 |
-HOMEPAGE="https://www.codeweavers.com/products/" |
507 |
-SRC_URI="https://media.codeweavers.com/pub/crossover/cxlinux/demo/install-crossover-${PV}.bin" |
508 |
- |
509 |
-LICENSE="CROSSOVER-3" |
510 |
-SLOT="0" |
511 |
-KEYWORDS="-* ~amd64 ~x86" |
512 |
-IUSE="+capi +cups doc +gphoto2 +gsm +gstreamer +jpeg +lcms ldap +mp3 +nls osmesa +openal +opencl +opengl +pcap +png +scanner +ssl +v4l +vulkan" |
513 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
514 |
- |
515 |
-RESTRICT="bindist test" |
516 |
- |
517 |
-QA_FLAGS_IGNORED="opt/cxoffice/.*" |
518 |
-QA_PRESTRIPPED=" |
519 |
- opt/cxoffice/lib/.* |
520 |
- opt/cxoffice/lib64/.* |
521 |
- opt/cxoffice/bin/cabextract |
522 |
- opt/cxoffice/bin/cxburner |
523 |
- opt/cxoffice/bin/cxntlm_auth |
524 |
- opt/cxoffice/bin/wineserver |
525 |
- opt/cxoffice/bin/wineserver32 |
526 |
- opt/cxoffice/bin/wineserver64 |
527 |
- opt/cxoffice/bin/wine64-preloader |
528 |
- opt/cxoffice/bin/unrar |
529 |
- opt/cxoffice/bin/wine-preloader |
530 |
- opt/cxoffice/bin/cxdiag |
531 |
- opt/cxoffice/bin/cxdiag64 |
532 |
- opt/cxoffice/bin/cxgettext |
533 |
- opt/cxoffice/bin/vkd3d-compiler |
534 |
- opt/cxoffice/bin/wineloader |
535 |
- opt/cxoffice/bin/wineloader64 |
536 |
-" |
537 |
-QA_TEXTRELS=" |
538 |
- opt/cxoffice/bin/wineserver32 |
539 |
- opt/cxoffice/lib/wine/* |
540 |
- opt/cxoffice/lib/libwine.so* |
541 |
-" |
542 |
- |
543 |
-S="${WORKDIR}" |
544 |
- |
545 |
-DEPEND="" |
546 |
-BDEPEND="${PYTHON_DEPS} |
547 |
- app-arch/cpio |
548 |
- app-arch/unzip |
549 |
- dev-lang/perl |
550 |
- dev-util/bbe |
551 |
-" |
552 |
- |
553 |
-RDEPEND="${DEPEND} |
554 |
- ${PYTHON_DEPS} |
555 |
- $(python_gen_cond_dep ' |
556 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
557 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
558 |
- ') |
559 |
- !prefix? ( sys-libs/glibc ) |
560 |
- !app-emulation/crossover-office-pro-bin |
561 |
- !app-emulation/crossover-office-bin |
562 |
- capi? ( net-libs/libcapi[abi_x86_32(-)] ) |
563 |
- cups? ( net-print/cups[abi_x86_32(-)] ) |
564 |
- gsm? ( media-sound/gsm[abi_x86_32(-)] ) |
565 |
- jpeg? ( virtual/jpeg:0[abi_x86_32(-)] ) |
566 |
- lcms? ( media-libs/lcms:2 ) |
567 |
- ldap? ( net-nds/openldap[abi_x86_32(-)] ) |
568 |
- gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] ) |
569 |
- gstreamer? ( |
570 |
- media-libs/gstreamer:1.0[abi_x86_32(-)] |
571 |
- jpeg? ( media-plugins/gst-plugins-jpeg:1.0[abi_x86_32(-)] ) |
572 |
- media-plugins/gst-plugins-meta:1.0[abi_x86_32(-)] |
573 |
- ) |
574 |
- mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] ) |
575 |
- nls? ( sys-devel/gettext[abi_x86_32(-)] ) |
576 |
- openal? ( media-libs/openal[abi_x86_32(-)] ) |
577 |
- opencl? ( virtual/opencl[abi_x86_32(-)] ) |
578 |
- opengl? ( |
579 |
- virtual/glu[abi_x86_32(-)] |
580 |
- virtual/opengl[abi_x86_32(-)] |
581 |
- ) |
582 |
- pcap? ( net-libs/libpcap[abi_x86_32(-)] ) |
583 |
- png? ( media-libs/libpng:0[abi_x86_32(-)] ) |
584 |
- scanner? ( media-gfx/sane-backends[abi_x86_32(-)] ) |
585 |
- ssl? ( net-libs/gnutls:0/30[abi_x86_32(-)] ) |
586 |
- v4l? ( media-libs/libv4l[abi_x86_32(-)] ) |
587 |
- vulkan? ( media-libs/vulkan-loader[abi_x86_32(-)] ) |
588 |
- dev-libs/glib:2 |
589 |
- dev-libs/gobject-introspection |
590 |
- dev-libs/openssl:0 |
591 |
- dev-util/desktop-file-utils |
592 |
- media-libs/alsa-lib[abi_x86_32(-)] |
593 |
- media-libs/freetype:2[abi_x86_32(-)] |
594 |
- media-libs/mesa[abi_x86_32(-),osmesa?] |
595 |
- media-libs/tiff:0[abi_x86_32(-)] |
596 |
- sys-auth/nss-mdns[abi_x86_32(-)] |
597 |
- sys-apps/util-linux[abi_x86_32(-)] |
598 |
- sys-libs/libunwind[abi_x86_32(-)] |
599 |
- sys-libs/ncurses-compat:5[abi_x86_32(-)] |
600 |
- sys-libs/zlib[abi_x86_32(-)] |
601 |
- x11-libs/libICE[abi_x86_32(-)] |
602 |
- x11-libs/libSM[abi_x86_32(-)] |
603 |
- x11-libs/libX11[abi_x86_32(-)] |
604 |
- x11-libs/libXau[abi_x86_32(-)] |
605 |
- x11-libs/libXcursor[abi_x86_32(-)] |
606 |
- x11-libs/libXdmcp[abi_x86_32(-)] |
607 |
- x11-libs/libXext[abi_x86_32(-)] |
608 |
- x11-libs/libXi[abi_x86_32(-)] |
609 |
- x11-libs/libXrandr[abi_x86_32(-)] |
610 |
- x11-libs/libXxf86vm[abi_x86_32(-)] |
611 |
- x11-libs/libxcb[abi_x86_32(-)] |
612 |
- x11-libs/gdk-pixbuf:2[introspection] |
613 |
- x11-libs/gtk+:3[introspection] |
614 |
- x11-libs/pango[introspection] |
615 |
- x11-libs/vte:2.91[introspection] |
616 |
- || ( |
617 |
- sys-libs/libxcrypt[compat] |
618 |
- sys-libs/glibc[crypt(+)] |
619 |
- ) |
620 |
-" |
621 |
- |
622 |
-src_unpack() { |
623 |
- # self unpacking zip archive; unzip warns about the exe stuff |
624 |
- unpack_zip ${A} |
625 |
-} |
626 |
- |
627 |
-src_prepare() { |
628 |
- default |
629 |
- |
630 |
- sed -i \ |
631 |
- -e "s:xdg_install_icons(:&\"${ED}\".:" \ |
632 |
- -e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \ |
633 |
- -e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \ |
634 |
- "${S}/lib/perl/CXMenuXDG.pm" |
635 |
- |
636 |
- # Remove unnecessary files, license.txt file kept as it's used by |
637 |
- # multiple files (apart of the menu to show the license) |
638 |
- rm -r guis/ || die "Could not remove files" |
639 |
- use doc || rm -r doc/ || die "Could not remove files" |
640 |
-} |
641 |
- |
642 |
-src_install() { |
643 |
- # Install crossover symlink, bug #476314 |
644 |
- dosym ../cxoffice/bin/crossover /opt/bin/crossover |
645 |
- |
646 |
- # Install documentation |
647 |
- dodoc README changelog.txt |
648 |
- rm README changelog.txt || die "Could not remove README and changelog.txt" |
649 |
- |
650 |
- # Install files |
651 |
- dodir /opt/cxoffice |
652 |
- #cp -r ./* "${ED}/opt/cxoffice" \ |
653 |
- find . | cpio -dumpl "${ED}/opt/cxoffice" 2>/dev/null \ |
654 |
- || die "Could not install into ${ED}/opt/cxoffice" |
655 |
- |
656 |
- # Disable auto-update |
657 |
- sed -i -e 's/;;\"AutoUpdate\" = \"1\"/\"AutoUpdate\" = \"0\"/g' share/crossover/data/cxoffice.conf || die |
658 |
- |
659 |
- # Install configuration file |
660 |
- insinto /opt/cxoffice/etc |
661 |
- doins share/crossover/data/cxoffice.conf |
662 |
- dodir /etc/env.d |
663 |
- echo "CONFIG_PROTECT=/opt/cxoffice/etc/cxoffice.conf" >> "${ED}"/etc/env.d/30crossover-bin || die |
664 |
- |
665 |
- # Konqueror in its infinite wisdom decides to try opening things for |
666 |
- # writing, which are sandbox violations. This breaks the install process if |
667 |
- # it is installed, so we ninja edit it to false so it so doesn't run. |
668 |
- sed -i -e 's/cxwhich konqueror/false &/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ |
669 |
- || die "Could not apply workaround for konqueror" |
670 |
- |
671 |
- # Install menus |
672 |
- # XXX: locate_gui.sh automatically detects *-application-merged directories |
673 |
- # This means what we install will vary depending on the contents of |
674 |
- # /etc/xdg, which is a QA violation. It is not clear how to resolve this. |
675 |
- XDG_DATA_HOME="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \ |
676 |
- "${ED}/opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \ |
677 |
- || die "Could not install menus" |
678 |
- |
679 |
- # Revert ninja edit |
680 |
- sed -i -e 's/false \(cxwhich konqueror\)/\1/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ |
681 |
- || die "Could not apply workaround for konqueror" |
682 |
- |
683 |
- # Drop Uninstall menus |
684 |
- rm "${ED}/usr/share/applications/"*"Uninstall"* \ |
685 |
- || die "Could not remove uninstall menus" |
686 |
- |
687 |
- # Fix PATHs |
688 |
- sed -i \ |
689 |
- -e "s:\"${ED}\".::" \ |
690 |
- -e "s:${ED}::" \ |
691 |
- "${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" \ |
692 |
- || die "Could not fix paths in ${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" |
693 |
- sed -i -e "s:${ED}:/:" \ |
694 |
- "${ED}/usr/share/applications/"*"CrossOver.desktop" \ |
695 |
- || die "Could not fix paths of *.desktop files" |
696 |
- |
697 |
- # Workaround missing libs |
698 |
- # https://www.codeweavers.com/support/forums/general/?t=26;mhl=198658;msg=198658 |
699 |
- if use gphoto2; then |
700 |
- bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" >tmp || die |
701 |
- mv tmp "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" || die |
702 |
- bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/bin/cxdiag" >tmp || die |
703 |
- mv tmp "${ED}/opt/cxoffice/bin/cxdiag" || die |
704 |
- fperms a+x "/opt/cxoffice/bin/cxdiag" |
705 |
- fi |
706 |
- # It tries to load libpcap as packaged in Debian, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657900 |
707 |
- # https://bugs.gentoo.org/721108 |
708 |
- if use pcap; then |
709 |
- bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" >tmp || die |
710 |
- bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" >tmp64 || die |
711 |
- mv tmp "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" || die |
712 |
- mv tmp64 "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" || die |
713 |
- fi |
714 |
- |
715 |
- # Remove libs that link to openldap |
716 |
- if ! use ldap; then |
717 |
- rm "${ED}"/opt/cxoffice/lib*/wine/wldap32.dll.so || die |
718 |
- fi |
719 |
-} |