diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /app-emulation/crossover-bin | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'app-emulation/crossover-bin')
-rw-r--r-- | app-emulation/crossover-bin/Manifest | 9 | ||||
-rw-r--r-- | app-emulation/crossover-bin/crossover-bin-20.0.4-r1.ebuild | 225 | ||||
-rw-r--r-- | app-emulation/crossover-bin/crossover-bin-21.0.0.ebuild | 224 | ||||
-rw-r--r-- | app-emulation/crossover-bin/crossover-bin-21.1.0-r2.ebuild (renamed from app-emulation/crossover-bin/crossover-bin-21.1.0-r1.ebuild) | 9 | ||||
-rw-r--r-- | app-emulation/crossover-bin/crossover-bin-21.2.0-r1.ebuild (renamed from app-emulation/crossover-bin/crossover-bin-21.1.0.ebuild) | 32 |
5 files changed, 30 insertions, 469 deletions
diff --git a/app-emulation/crossover-bin/Manifest b/app-emulation/crossover-bin/Manifest index 420cad73ec35..620f3732682d 100644 --- a/app-emulation/crossover-bin/Manifest +++ b/app-emulation/crossover-bin/Manifest @@ -1,8 +1,5 @@ -DIST install-crossover-20.0.4.bin 221436226 BLAKE2B 486494455759d92f8e7e5d35968a603e41a0674cb0752e7d5ba4893d33e77b3e31fea2ebe75d471e2478e7f3cce9be2f712840f1f50bfe790fec5ec936b804a5 SHA512 78252d29f8a72a8742d57a65a60d09a81a70a98517b67468dac96af94ee8af7a313f164af6717f9a9c657095e66466809e08584c7a0fde3bd58c27ff00f41067 -DIST install-crossover-21.0.0.bin 312441596 BLAKE2B 4431f545e6a8c8bbc1ab5cf0f46d019242b48c61a2edfc7a762e38718d6543ce384ad55b40f3470f11893adcb6801323db5dba846cc0b544d6dab5e5bfb24e2b SHA512 c5567eef346d93af22f996be2a5a0237bc299c54cba3aa9a1345854b0cf601ffd26975536d18175735c170411b572a59d5dadb39674bfe158ca9944595e4deed DIST install-crossover-21.1.0.bin 314014189 BLAKE2B f214d8b76a8809e396509013adb7ccfd5301ce35e8fda802d3601b3c88d1273eaa00f0457fb69897c4cac58f0a779ff18d5eef1708e5315d1173ecbf5967bb70 SHA512 271e67988e2fa4c1b3277e9b089a9ee11b52931fda597d6bf9975fe38b031e526dd6bac4c7a31ca530487380895ec8e94b4439ad7bd85098c87f35f8530c28f3 -EBUILD crossover-bin-20.0.4-r1.ebuild 7651 BLAKE2B c3ff500dde4706dad347f9791c64ff5c6a6250f2dff4b15cf86ff439b2563a41fffbccc5d7641cd5a65392b5f1b90780d63da199aa9ab4073263212e43f4c247 SHA512 fc4c2b09ba4c09263382dbb8f76ee4c9e818cb6bf8c328a00af94f7036fb5763e96120e7cce7c09bfda20135eaf9db47f0967c874e57678240128a93c724b004 -EBUILD crossover-bin-21.0.0.ebuild 7552 BLAKE2B f08b8754fc4c2bfa3c477ad7ae5328339e30f6ecd2338a6eb9b9096fe681b8f43de010c86065d5fd8998914f3dcfb9cab7c8c35d11d3eaa60e0d0cc590b178ab SHA512 5d93accb4567af21ab7b7c796164bf793452225c80dde373fbb765a357280d8d528e4665bba09ccb4ea4e5381abc02d9aaf871a219af0e42af1836427a085a66 -EBUILD crossover-bin-21.1.0-r1.ebuild 7609 BLAKE2B 8c8aa58c935144bb0add7d81b2dddf93b2e7fdbffeea3d5502f8e589253e6563fe43986d2b995d1a57f0b669f667772528f391d5b59383183848e37fa7e22f61 SHA512 647969f8593e8ab25c162ed3711f00b0ebdd4567b4fcc63a3a052b9e6d099ad95ef1bd18881fcb73737e3595e2b06e235468ec096aefeb3d67bba13dd2545497 -EBUILD crossover-bin-21.1.0.ebuild 7489 BLAKE2B 1bfecc4c48e7c21b881e892957d24a17cbfe56feba47a220d39855f540fd8e536410ee5f3ac6f9b3469aa4420124b4374b9484b24d8ce8189abb8dc7a380be65 SHA512 e3ae6e48c111bfaba1e0d773ef1cec49082a2c95738802933534c28968fdc9972a37dcf6ff107daaf1ff02a2576f6164c0044038d8dd5e42aee5386426757c77 +DIST install-crossover-21.2.0.bin 313966852 BLAKE2B 746b16a1e093adf344fa827e5c6b9a439e690003bf3eb30b32b9a30017f1697c21bc5c9e196736cc25e24daeed3ee3a809b20d44e0005bfd45ab542ede6c2d44 SHA512 a8ba1396e05119122dc0d813bc408fc0a2a3adc5c805ce15aea8e98a6a27d980eabafaf7a727f4cf1c30d68e456e8d82b83438e404cbf41db05d569f8832a9ec +EBUILD crossover-bin-21.1.0-r2.ebuild 7666 BLAKE2B eb4baad99a7eaccf1f4cf643c836e972277ef36c10d2ace9feb29f05717a9ce99457d6305727589c024d79499e117c525a845a1dd79bfc46383919521c09c1ee SHA512 e30f88882dfdb205c1821f93f05765dfacaff0a735f370c0018f109bdfd398269d96773dfd965b78bba49a547cbd25e75284e0d8d6c52a002fbcc9dbe2ce190d +EBUILD crossover-bin-21.2.0-r1.ebuild 7600 BLAKE2B 71bc233016bb63a20a02b13241b5e0e5057d9f20a426ad4ca3c5c97f115991af57d2a94916306364311f7429f08717079d691ee580feb3d8bc7ab6637e5c7e0f SHA512 3f1e358e9524c32853aa31e92325a348676c589ee35bd06ac61b8ab7d1adb4d52997141597aafa8ece8204ffd4455f1d6eb8fa714f7e55de7b89a9e6f0b9ef6a MISC metadata.xml 568 BLAKE2B d13e314ffff8e7f24a4b26a6f4981ac0d574b84f9e4b994341481064fee38f167c29829d823c4f9b64722759b94d3ef3d828d0d727d7413753038aef45457b44 SHA512 04ba11db6a19081de9df60a5bcb1412b7742ccfe6bf81cce904249d4666ccd314618776578f7de8a8b4f57f54f389d0faba06accf5a98da54443e44e4180e36c 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 deleted file mode 100644 index 3f9645ab5dd3..000000000000 --- a/app-emulation/crossover-bin/crossover-bin-20.0.4-r1.ebuild +++ /dev/null @@ -1,225 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) - -inherit python-single-r1 unpacker - -DESCRIPTION="Commercial version of app-emulation/wine with paid support" -HOMEPAGE="https://www.codeweavers.com/products/" -SRC_URI="https://media.codeweavers.com/pub/crossover/cxlinux/demo/install-crossover-${PV}.bin" - -LICENSE="CROSSOVER-3" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="+capi +cups doc +gphoto2 +gsm +gstreamer +jpeg +lcms ldap +mp3 +nls osmesa +openal +opencl +opengl +pcap +png +scanner +ssl +v4l +vulkan" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="bindist test" - -QA_FLAGS_IGNORED="opt/cxoffice/.*" -QA_PRESTRIPPED=" - opt/cxoffice/lib/.* - opt/cxoffice/lib64/.* - opt/cxoffice/bin/cabextract - opt/cxoffice/bin/cxburner - opt/cxoffice/bin/cxntlm_auth - opt/cxoffice/bin/wineserver - opt/cxoffice/bin/wineserver32 - opt/cxoffice/bin/wineserver64 - opt/cxoffice/bin/wine64-preloader - opt/cxoffice/bin/unrar - opt/cxoffice/bin/wine-preloader - opt/cxoffice/bin/cxdiag - opt/cxoffice/bin/cxdiag64 - opt/cxoffice/bin/cxgettext - opt/cxoffice/bin/wineloader - opt/cxoffice/bin/wineloader64 -" -QA_TEXTRELS=" - opt/cxoffice/bin/wineserver32 - opt/cxoffice/lib/wine/* - opt/cxoffice/lib/libwine.so* -" - -S="${WORKDIR}" - -DEPEND="" -BDEPEND="${PYTHON_DEPS} - app-arch/cpio - app-arch/unzip - dev-lang/perl - dev-util/bbe -" - -RDEPEND="${DEPEND} - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') - !prefix? ( sys-libs/glibc ) - !app-emulation/crossover-office-pro-bin - !app-emulation/crossover-office-bin - capi? ( net-libs/libcapi[abi_x86_32(-)] ) - cups? ( net-print/cups[abi_x86_32(-)] ) - gsm? ( media-sound/gsm[abi_x86_32(-)] ) - jpeg? ( virtual/jpeg:0[abi_x86_32(-)] ) - lcms? ( media-libs/lcms:2 ) - ldap? ( net-nds/openldap[abi_x86_32(-)] ) - gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] ) - gstreamer? ( - media-libs/gstreamer:1.0[abi_x86_32(-)] - jpeg? ( media-plugins/gst-plugins-jpeg:1.0[abi_x86_32(-)] ) - media-plugins/gst-plugins-meta:1.0[abi_x86_32(-)] - ) - mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] ) - nls? ( sys-devel/gettext[abi_x86_32(-)] ) - openal? ( media-libs/openal[abi_x86_32(-)] ) - opencl? ( virtual/opencl[abi_x86_32(-)] ) - opengl? ( - virtual/glu[abi_x86_32(-)] - virtual/opengl[abi_x86_32(-)] - ) - pcap? ( net-libs/libpcap[abi_x86_32(-)] ) - png? ( media-libs/libpng:0[abi_x86_32(-)] ) - scanner? ( media-gfx/sane-backends[abi_x86_32(-)] ) - ssl? ( net-libs/gnutls:0/30[abi_x86_32(-)] ) - v4l? ( media-libs/libv4l[abi_x86_32(-)] ) - vulkan? ( media-libs/vulkan-loader[abi_x86_32(-)] ) - dev-libs/glib:2 - dev-libs/gobject-introspection - dev-libs/openssl - dev-util/desktop-file-utils - media-libs/alsa-lib[abi_x86_32(-)] - media-libs/freetype:2[abi_x86_32(-)] - media-libs/mesa[abi_x86_32(-),osmesa?] - media-libs/tiff:0[abi_x86_32(-)] - sys-auth/nss-mdns[abi_x86_32(-)] - sys-apps/util-linux[abi_x86_32(-)] - sys-libs/libunwind[abi_x86_32(-)] - sys-libs/ncurses-compat:5[abi_x86_32(-)] - sys-libs/zlib[abi_x86_32(-)] - x11-libs/libICE[abi_x86_32(-)] - x11-libs/libSM[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXau[abi_x86_32(-)] - x11-libs/libXcursor[abi_x86_32(-)] - x11-libs/libXdmcp[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - x11-libs/libXi[abi_x86_32(-)] - x11-libs/libXrandr[abi_x86_32(-)] - x11-libs/libXxf86vm[abi_x86_32(-)] - x11-libs/libxcb[abi_x86_32(-)] - x11-libs/gdk-pixbuf:2[introspection] - x11-libs/gtk+:3[introspection] - x11-libs/pango[introspection] - x11-libs/vte:2.91[introspection] - || ( - sys-libs/libxcrypt[compat] - sys-libs/glibc[crypt(+)] - ) -" - -pkg_nofetch() { - einfo "Please visit ${HOMEPAGE}" - einfo "and place ${A} into your DISTDIR directory" -} - -src_unpack() { - # self unpacking zip archive; unzip warns about the exe stuff - unpack_zip ${A} -} - -src_prepare() { - default - - sed -i \ - -e "s:xdg_install_icons(:&\"${ED}\".:" \ - -e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \ - -e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \ - "${S}/lib/perl/CXMenuXDG.pm" - - # Remove unnecessary files, license.txt file kept as it's used by - # multiple files (apart of the menu to show the license) - rm -r guis/ || die "Could not remove files" - use doc || rm -r doc/ || die "Could not remove files" -} - -src_install() { - # Install crossover symlink, bug #476314 - dosym ../cxoffice/bin/crossover /opt/bin/crossover - - # Install documentation - dodoc README changelog.txt - rm README changelog.txt || die "Could not remove README and changelog.txt" - - # Install files - dodir /opt/cxoffice - #cp -r ./* "${ED}/opt/cxoffice" \ - find . | cpio -dumpl "${ED}/opt/cxoffice" 2>/dev/null \ - || die "Could not install into ${ED}/opt/cxoffice" - - # Disable auto-update - sed -i -e 's/;;\"AutoUpdate\" = \"1\"/\"AutoUpdate\" = \"0\"/g' share/crossover/data/cxoffice.conf || die - # Install configuration file - insinto /opt/cxoffice/etc - doins share/crossover/data/cxoffice.conf - dodir /etc/env.d - echo "CONFIG_PROTECT=/opt/cxoffice/etc/cxoffice.conf" >> "${ED}"/etc/env.d/30crossover-bin || die - - # Konqueror in its infinite wisdom decides to try opening things for - # writing, which are sandbox violations. This breaks the install process if - # it is installed, so we ninja edit it to false so it so doesn't run. - sed -i -e 's/cxwhich konqueror/false &/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ - || die "Could not apply workaround for konqueror" - - # Install menus - # XXX: locate_gui.sh automatically detects *-application-merged directories - # This means what we install will vary depending on the contents of - # /etc/xdg, which is a QA violation. It is not clear how to resolve this. - XDG_DATA_HOME="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \ - "${ED}/opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \ - || die "Could not install menus" - - # Revert ninja edit - sed -i -e 's/false \(cxwhich konqueror\)/\1/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ - || die "Could not apply workaround for konqueror" - - rm "${ED}/usr/share/applications/"*"Uninstall CrossOver Linux.desktop" \ - || die "Could not remove uninstall menus" - sed -i \ - -e "s:\"${ED}\".::" \ - -e "s:${ED}::" \ - "${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" \ - || die "Could not fix paths in ${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" - sed -i -e "s:${ED}:/:" \ - "${ED}/usr/share/applications/"*"CrossOver.desktop" \ - || die "Could not fix paths of *.desktop files" - - # Workaround missing libs - # https://www.codeweavers.com/support/forums/general/?t=26;mhl=198658;msg=198658 - if use gphoto2; then - bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" >tmp || die - mv tmp "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" || die - bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/bin/cxdiag" >tmp || die - mv tmp "${ED}/opt/cxoffice/bin/cxdiag" || die - fperms a+x "/opt/cxoffice/bin/cxdiag" - fi - # It tries to load libpcap as packaged in Debian, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657900 - # https://bugs.gentoo.org/721108 - if use pcap; then - bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" >tmp || die - bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" >tmp64 || die - mv tmp "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" || die - mv tmp64 "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" || die - fi -} - -pkg_postinst() { - einfo "${P} is open source software with the exception of the GUI." - einfo "Source code can be obtained from:" - einfo - einfo "https://media.codeweavers.com/pub/crossover/source/crossover-sources-${PV}.tar.gz" -} diff --git a/app-emulation/crossover-bin/crossover-bin-21.0.0.ebuild b/app-emulation/crossover-bin/crossover-bin-21.0.0.ebuild deleted file mode 100644 index ef3e996fa335..000000000000 --- a/app-emulation/crossover-bin/crossover-bin-21.0.0.ebuild +++ /dev/null @@ -1,224 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) - -inherit python-single-r1 unpacker - -DESCRIPTION="Commercial version of app-emulation/wine with paid support" -HOMEPAGE="https://www.codeweavers.com/products/" -SRC_URI="https://media.codeweavers.com/pub/crossover/cxlinux/demo/install-crossover-${PV}.bin" - -LICENSE="CROSSOVER-3" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="+capi +cups doc +gphoto2 +gsm +gstreamer +jpeg +lcms ldap +mp3 +nls osmesa +openal +opencl +opengl +pcap +png +scanner +ssl +v4l +vulkan" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="bindist test" - -QA_FLAGS_IGNORED="opt/cxoffice/.*" -QA_PRESTRIPPED=" - opt/cxoffice/lib/.* - opt/cxoffice/lib64/.* - opt/cxoffice/bin/cabextract - opt/cxoffice/bin/cxburner - opt/cxoffice/bin/cxntlm_auth - opt/cxoffice/bin/wineserver - opt/cxoffice/bin/wineserver32 - opt/cxoffice/bin/wineserver64 - opt/cxoffice/bin/wine64-preloader - opt/cxoffice/bin/unrar - opt/cxoffice/bin/wine-preloader - opt/cxoffice/bin/cxdiag - opt/cxoffice/bin/cxdiag64 - opt/cxoffice/bin/cxgettext - opt/cxoffice/bin/vkd3d-compiler - opt/cxoffice/bin/wineloader - opt/cxoffice/bin/wineloader64 -" -QA_TEXTRELS=" - opt/cxoffice/bin/wineserver32 - opt/cxoffice/lib/wine/* - opt/cxoffice/lib/libwine.so* -" - -S="${WORKDIR}" - -DEPEND="" -BDEPEND="${PYTHON_DEPS} - app-arch/cpio - app-arch/unzip - dev-lang/perl - dev-util/bbe -" - -RDEPEND="${DEPEND} - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') - !prefix? ( sys-libs/glibc ) - !app-emulation/crossover-office-pro-bin - !app-emulation/crossover-office-bin - capi? ( net-libs/libcapi[abi_x86_32(-)] ) - cups? ( net-print/cups[abi_x86_32(-)] ) - gsm? ( media-sound/gsm[abi_x86_32(-)] ) - jpeg? ( virtual/jpeg:0[abi_x86_32(-)] ) - lcms? ( media-libs/lcms:2 ) - ldap? ( net-nds/openldap[abi_x86_32(-)] ) - gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] ) - gstreamer? ( - media-libs/gstreamer:1.0[abi_x86_32(-)] - jpeg? ( media-plugins/gst-plugins-jpeg:1.0[abi_x86_32(-)] ) - media-plugins/gst-plugins-meta:1.0[abi_x86_32(-)] - ) - mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] ) - nls? ( sys-devel/gettext[abi_x86_32(-)] ) - openal? ( media-libs/openal[abi_x86_32(-)] ) - opencl? ( virtual/opencl[abi_x86_32(-)] ) - opengl? ( - virtual/glu[abi_x86_32(-)] - virtual/opengl[abi_x86_32(-)] - ) - pcap? ( net-libs/libpcap[abi_x86_32(-)] ) - png? ( media-libs/libpng:0[abi_x86_32(-)] ) - scanner? ( media-gfx/sane-backends[abi_x86_32(-)] ) - ssl? ( net-libs/gnutls:0/30[abi_x86_32(-)] ) - v4l? ( media-libs/libv4l[abi_x86_32(-)] ) - vulkan? ( media-libs/vulkan-loader[abi_x86_32(-)] ) - dev-libs/glib:2 - dev-libs/gobject-introspection - dev-libs/openssl - dev-util/desktop-file-utils - media-libs/alsa-lib[abi_x86_32(-)] - media-libs/freetype:2[abi_x86_32(-)] - media-libs/mesa[abi_x86_32(-),osmesa?] - media-libs/tiff:0[abi_x86_32(-)] - sys-auth/nss-mdns[abi_x86_32(-)] - sys-apps/util-linux[abi_x86_32(-)] - sys-libs/libunwind[abi_x86_32(-)] - sys-libs/ncurses-compat:5[abi_x86_32(-)] - sys-libs/zlib[abi_x86_32(-)] - x11-libs/libICE[abi_x86_32(-)] - x11-libs/libSM[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXau[abi_x86_32(-)] - x11-libs/libXcursor[abi_x86_32(-)] - x11-libs/libXdmcp[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - x11-libs/libXi[abi_x86_32(-)] - x11-libs/libXrandr[abi_x86_32(-)] - x11-libs/libXxf86vm[abi_x86_32(-)] - x11-libs/libxcb[abi_x86_32(-)] - x11-libs/gdk-pixbuf:2[introspection] - x11-libs/gtk+:3[introspection] - x11-libs/pango[introspection] - x11-libs/vte:2.91[introspection] - || ( - sys-libs/libxcrypt[compat] - sys-libs/glibc[crypt(+)] - ) -" - -pkg_nofetch() { - einfo "Please visit ${HOMEPAGE}" - einfo "and place ${A} into your DISTDIR directory" -} - -src_unpack() { - # self unpacking zip archive; unzip warns about the exe stuff - unpack_zip ${A} -} - -src_prepare() { - default - - sed -i \ - -e "s:xdg_install_icons(:&\"${ED}\".:" \ - -e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \ - -e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \ - "${S}/lib/perl/CXMenuXDG.pm" - - # Remove unnecessary files, license.txt file kept as it's used by - # multiple files (apart of the menu to show the license) - rm -r guis/ || die "Could not remove files" - use doc || rm -r doc/ || die "Could not remove files" -} - -src_install() { - # Install crossover symlink, bug #476314 - dosym ../cxoffice/bin/crossover /opt/bin/crossover - - # Install documentation - dodoc README changelog.txt - rm README changelog.txt || die "Could not remove README and changelog.txt" - - # Install files - dodir /opt/cxoffice - #cp -r ./* "${ED}/opt/cxoffice" \ - find . | cpio -dumpl "${ED}/opt/cxoffice" 2>/dev/null \ - || die "Could not install into ${ED}/opt/cxoffice" - - # Disable auto-update - sed -i -e 's/;;\"AutoUpdate\" = \"1\"/\"AutoUpdate\" = \"0\"/g' share/crossover/data/cxoffice.conf || die - # Install configuration file - insinto /opt/cxoffice/etc - doins share/crossover/data/cxoffice.conf - dodir /etc/env.d - echo "CONFIG_PROTECT=/opt/cxoffice/etc/cxoffice.conf" >> "${ED}"/etc/env.d/30crossover-bin || die - - # Konqueror in its infinite wisdom decides to try opening things for - # writing, which are sandbox violations. This breaks the install process if - # it is installed, so we ninja edit it to false so it so doesn't run. - sed -i -e 's/cxwhich konqueror/false &/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ - || die "Could not apply workaround for konqueror" - - # Install menus - # XXX: locate_gui.sh automatically detects *-application-merged directories - # This means what we install will vary depending on the contents of - # /etc/xdg, which is a QA violation. It is not clear how to resolve this. - XDG_DATA_HOME="/usr/share" XDG_CONFIG_HOME="/etc/xdg" \ - "${ED}/opt/cxoffice/bin/cxmenu" --destdir="${ED}" --crossover --install \ - || die "Could not install menus" - - # Revert ninja edit - sed -i -e 's/false \(cxwhich konqueror\)/\1/' "${ED}/opt/cxoffice/bin/locate_gui.sh" \ - || die "Could not apply workaround for konqueror" - - rm "${ED}/usr/share/applications/"*"Uninstall"* \ - || die "Could not remove uninstall menus" - sed -i \ - -e "s:\"${ED}\".::" \ - -e "s:${ED}::" \ - "${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" \ - || die "Could not fix paths in ${ED}/opt/cxoffice/lib/perl/CXMenuXDG.pm" - sed -i -e "s:${ED}:/:" \ - "${ED}/usr/share/applications/"*"CrossOver.desktop" \ - || die "Could not fix paths of *.desktop files" - - # Workaround missing libs - # https://www.codeweavers.com/support/forums/general/?t=26;mhl=198658;msg=198658 - if use gphoto2; then - bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" >tmp || die - mv tmp "${ED}/opt/cxoffice/lib/wine/gphoto2.ds.so" || die - bbe -e 's/libgphoto2_port.so.10/libgphoto2_port.so.12/' "${ED}/opt/cxoffice/bin/cxdiag" >tmp || die - mv tmp "${ED}/opt/cxoffice/bin/cxdiag" || die - fperms a+x "/opt/cxoffice/bin/cxdiag" - fi - # It tries to load libpcap as packaged in Debian, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657900 - # https://bugs.gentoo.org/721108 - if use pcap; then - bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" >tmp || die - bbe -e 's/libpcap.so.0.8/libpcap.so.1.9.1/' "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" >tmp64 || die - mv tmp "${ED}/opt/cxoffice/lib/wine/wpcap.dll.so" || die - mv tmp64 "${ED}/opt/cxoffice/lib64/wine/wpcap.dll.so" || die - fi - - # Remove libs that link to openldap - if ! use ldap; then - rm "${ED}"/opt/cxoffice/lib*/wine/wldap32.dll.so || die - fi -} diff --git a/app-emulation/crossover-bin/crossover-bin-21.1.0-r1.ebuild b/app-emulation/crossover-bin/crossover-bin-21.1.0-r2.ebuild index 0e66d60c63cb..e37777f2cb0d 100644 --- a/app-emulation/crossover-bin/crossover-bin-21.1.0-r1.ebuild +++ b/app-emulation/crossover-bin/crossover-bin-21.1.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -86,7 +86,12 @@ RDEPEND="${DEPEND} pcap? ( net-libs/libpcap[abi_x86_32(-)] ) png? ( media-libs/libpng:0[abi_x86_32(-)] ) scanner? ( media-gfx/sane-backends[abi_x86_32(-)] ) - ssl? ( net-libs/gnutls:0/30[abi_x86_32(-)] ) + ssl? ( + || ( + net-libs/gnutls:0/30.30[abi_x86_32(-)] + net-libs/gnutls:0/30[abi_x86_32(-)] + ) + ) v4l? ( media-libs/libv4l[abi_x86_32(-)] ) vulkan? ( media-libs/vulkan-loader[abi_x86_32(-)] ) dev-libs/glib:2 diff --git a/app-emulation/crossover-bin/crossover-bin-21.1.0.ebuild b/app-emulation/crossover-bin/crossover-bin-21.2.0-r1.ebuild index 119da1d6ec29..be7f3937855d 100644 --- a/app-emulation/crossover-bin/crossover-bin-21.1.0.ebuild +++ b/app-emulation/crossover-bin/crossover-bin-21.2.0-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit python-single-r1 unpacker @@ -61,12 +61,10 @@ RDEPEND="${DEPEND} dev-python/pygobject:3[${PYTHON_USEDEP}] ') !prefix? ( sys-libs/glibc ) - !app-emulation/crossover-office-pro-bin - !app-emulation/crossover-office-bin capi? ( net-libs/libcapi[abi_x86_32(-)] ) cups? ( net-print/cups[abi_x86_32(-)] ) gsm? ( media-sound/gsm[abi_x86_32(-)] ) - jpeg? ( virtual/jpeg:0[abi_x86_32(-)] ) + jpeg? ( media-libs/libjpeg-turbo:0[abi_x86_32(-)] ) lcms? ( media-libs/lcms:2 ) ldap? ( net-nds/openldap[abi_x86_32(-)] ) gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] ) @@ -86,7 +84,12 @@ RDEPEND="${DEPEND} pcap? ( net-libs/libpcap[abi_x86_32(-)] ) png? ( media-libs/libpng:0[abi_x86_32(-)] ) scanner? ( media-gfx/sane-backends[abi_x86_32(-)] ) - ssl? ( net-libs/gnutls:0/30[abi_x86_32(-)] ) + ssl? ( + || ( + net-libs/gnutls:0/30.30[abi_x86_32(-)] + net-libs/gnutls:0/30[abi_x86_32(-)] + ) + ) v4l? ( media-libs/libv4l[abi_x86_32(-)] ) vulkan? ( media-libs/vulkan-loader[abi_x86_32(-)] ) dev-libs/glib:2 @@ -131,12 +134,6 @@ src_unpack() { src_prepare() { default - sed -i \ - -e "s:xdg_install_icons(:&\"${ED}\".:" \ - -e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \ - -e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \ - "${S}/lib/perl/CXMenuXDG.pm" - # Remove unnecessary files, license.txt file kept as it's used by # multiple files (apart of the menu to show the license) rm -r guis/ || die "Could not remove files" @@ -144,6 +141,12 @@ src_prepare() { } src_install() { + sed -i \ + -e "s:xdg_install_icons(:&\"${ED}\".:" \ + -e "s:\"\(.*\)/applications:\"${ED}\1/applications:" \ + -e "s:\"\(.*\)/desktop-directories:\"${ED}\1/desktop-directories:" \ + "${S}/lib/perl/CXMenuXDG.pm" + # Install crossover symlink, bug #476314 dosym ../cxoffice/bin/crossover /opt/bin/crossover @@ -220,4 +223,9 @@ src_install() { if ! use ldap; then rm "${ED}"/opt/cxoffice/lib*/wine/wldap32.dll.so || die fi + + # Remove libs that link to opencl + if ! use opencl; then + rm "${ED}"/opt/cxoffice/lib*/wine/opencl.dll.so || die + fi } |