diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-23 21:49:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-23 21:49:58 +0100 |
commit | ce80202cfcf7f0dcb80e055eba3f6475232a5961 (patch) | |
tree | cbcbc1415a53efca01b7bc3daab62ea7fde9d047 /app-eselect/eselect-wine | |
parent | 41ba6a36cf63678ca63fdd9788e84e3e032dc4ba (diff) |
gentoo auto-resync : 23:08:2023 - 21:49:58
Diffstat (limited to 'app-eselect/eselect-wine')
-rw-r--r-- | app-eselect/eselect-wine/Manifest | 3 | ||||
-rw-r--r-- | app-eselect/eselect-wine/eselect-wine-2.0.2-r2.ebuild (renamed from app-eselect/eselect-wine/eselect-wine-2.0.2-r1.ebuild) | 7 | ||||
-rw-r--r-- | app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild | 82 |
3 files changed, 4 insertions, 88 deletions
diff --git a/app-eselect/eselect-wine/Manifest b/app-eselect/eselect-wine/Manifest index 9a5334b5e39b..a8cfed31fd18 100644 --- a/app-eselect/eselect-wine/Manifest +++ b/app-eselect/eselect-wine/Manifest @@ -1,4 +1,3 @@ DIST eselect-wine-2.0.2.tar.bz2 7449 BLAKE2B ce933920a7b6d1df0c0e5f5ae27b1ad1c7467489bd2d35c977b1d9894012b6bcb52d2830c3ebcef9228de40c6f31650e78d40051c82badf959c51339fe6bfa10 SHA512 c49c08e25d7e15c04205608118ea38e970db31f394534efd44070eec5c2148463c09d2b2787a9bb9c1b5f29010e99b4769d3f219b3ae826ceae56757aab596d1 -EBUILD eselect-wine-2.0.2-r1.ebuild 3294 BLAKE2B 460da69deda04a53ac81981797dad15f556fca16eaba1f02f108fe8052dc2a2ae8ae056f8fa33f71d9c638503ee92de0f1fae5521a9f1ded0f03b05cd7f3b381 SHA512 af1268abd077ced5646620a680b4a2a02386b2f8cfa50e43a28beddeed56f7bb65f87cc9008f9bea98e36fdd480e02f17de4492ac4503307fcfb966c1635195c -EBUILD eselect-wine-2.0.2.ebuild 2604 BLAKE2B 8132089785f2e13accdd1666e1f6c45b4506d0311f6265f948049b66fddc02802d37cf9a2fa233fe1d0edf115cfe69517e0c9f3e57b16729411a1c2456f2f904 SHA512 a2d1afc85ba070bc4e26c8bbaa1c100f6840d6e7c4db2ea999be71699eccad4f075d4711ea5720fa77280bd7121b2c184fe0745c5a903ef7249addd7f3336b67 +EBUILD eselect-wine-2.0.2-r2.ebuild 3214 BLAKE2B a47050014cb1170bc20a9a2f9095bca167766b9d39697a601fd9364ce06c6157a62e70b47918cd857a3baf15bd9f54cd3ef3ea3ddf6a4b0a5aff6332089a12bc SHA512 28efa58a65218a0961785abd872b7c2e2045d34f82d7b986a0aef78f1c39b3dcd1dff80550476974a304d0637b0ba2da2dac6ae840c82d13bafc6c39ad7b7fac MISC metadata.xml 494 BLAKE2B 8b6b0225e0825473ffab8dd707a6ebfa1f491da865a8975eeeab8062537650e06d4703201af59bd775870f04f7422e6da1eab6e2a874faa24776a26c1bb48d19 SHA512 22a330313d9f4408b89dde624ce9e94601257d3650e25df6bc803ca10c52a7fb7c6723fc6b9527429eaea528431e89e985b16249252a0298b6f76c77ce3feb33 diff --git a/app-eselect/eselect-wine/eselect-wine-2.0.2-r1.ebuild b/app-eselect/eselect-wine/eselect-wine-2.0.2-r2.ebuild index e2fbb4428e06..da39532a82a4 100644 --- a/app-eselect/eselect-wine/eselect-wine-2.0.2-r1.ebuild +++ b/app-eselect/eselect-wine/eselect-wine-2.0.2-r2.ebuild @@ -30,11 +30,10 @@ src_install() { XDG_DATA_DIRS=\"${EPREFIX}/etc/eselect/wine/share\"") EOF - # links for building, e.g. wineasio (bug #657748), albeit this - # should be rarely used directly nowadays and could be removable - # (removing would also solve the one-time QA issue described below) + # links to help building, e.g. wineasio (bug #657748), + # albeit in general these are not particularly important dosym -r /etc/eselect/wine/wine /usr/lib/wine - dosym -r /etc/eselect/wine/include /usr/include/wine + dosym -r /etc/eselect/wine/include/wine /usr/include/wine einstalldocs } diff --git a/app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild b/app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild deleted file mode 100644 index dc64574f7852..000000000000 --- a/app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Manage active Wine slots and variants" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Wine" -SRC_URI="https://gitweb.gentoo.org/proj/eselect-wine.git/snapshot/${P}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+xdg" - -# xdg-utils needed for bug #884077 -RDEPEND=" - app-admin/eselect - xdg? ( x11-misc/xdg-utils )" - -src_install() { - insinto /usr/share/eselect/modules - doins wine.eselect - - keepdir /etc/eselect/wine - - newenvd - 95${PN} <<-EOF - PATH="${EPREFIX}/etc/eselect/wine/bin" - MANPATH="${EPREFIX}/etc/eselect/wine/share/man"$(usev xdg " - XDG_DATA_DIRS=\"${EPREFIX}/etc/eselect/wine/share\"") - EOF - - # links for building, e.g. wineasio (bug #657748) - dosym -r /etc/eselect/wine/wine /usr/lib/wine - dosym -r /etc/eselect/wine/include /usr/include/wine - - # not required, but useful for e.g. binfmt that's not looking in PATH - # (not doing this for everything as it gets troublesome to track) - dosym -r /etc/eselect/wine/bin/wine /usr/bin/wine - - einstalldocs -} - -pkg_preinst() { - if has_version '<app-eselect/eselect-wine-2'; then - # keep copy of still-set 'active' to auto-select same slots - if [[ -e ${EROOT}/etc/eselect/wine/active && - ! -e ${EROOT}/etc/eselect/wine/eselect-wine-migration ]]; then - cp "${EROOT}"/etc/eselect/wine/{active,eselect-wine-migration} || die - fi - - # managed differently, need cleanup - eselect wine unset --all || die - rm -f "${EROOT}"/etc/eselect/wine/{active,installed,links/{any,vanilla,staging,proton,wine}} || die - rmdir "${EROOT}"/etc/eselect/wine/links 2>/dev/null - - # some rare man dirs were created by old eselect, cleanup if now empty - rmdir "${EROOT}"/usr/share/man/{de,fr,pl}.UTF-8{/man1,} 2>/dev/null - fi - - # lacking QA_BROKEN_SYMLINK, and rather avoid live /usr changes wrt - # bug #632576, nor create "owned" placeholders that will be clobbered - [[ -e ${EROOT}/etc/eselect/wine/bin/wine ]] || - eqawarn "QA Note: broken symlinks QA is normal on first merge, targets created after" -} - -pkg_postinst() { - eselect wine update --if-unset || die - - rm -f "${EROOT}"/etc/eselect/wine/eselect-wine-migration || die # see preinst - - if [[ ! ${REPLACING_VERSIONS##* } ]] || - ver_test ${REPLACING_VERSIONS##* } -lt 2; then - elog - [[ ${REPLACING_VERSIONS} ]] && - elog "${PN} changed a bit, suggest reviewing 'eselect wine help' (and list)." - elog "Please run '. ${EROOT}/etc/profile' to update PATH in current shells." - fi -} - -pkg_prerm() { - [[ ${REPLACED_BY_VERSION} ]] || eselect wine update --reset # no die -} |