diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-03 22:19:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-03 22:19:54 +0100 |
commit | 71f9cc21aab4168093940b3d2e267444d712bff5 (patch) | |
tree | 15406e14be0cd3cfbafe191468b8825b3ccc1855 /app-eselect/eselect-wine | |
parent | 312456186919deebd1ea3b34b9e26b1e15ebd5b6 (diff) |
gentoo auto-resync : 03:09:2022 - 22:19:54
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-1.2.2-r1.ebuild | 50 | ||||
-rw-r--r-- | app-eselect/eselect-wine/files/eselect-wine-1.2.2-proton.patch | 8 |
3 files changed, 61 insertions, 0 deletions
diff --git a/app-eselect/eselect-wine/Manifest b/app-eselect/eselect-wine/Manifest index 02956e348367..aee80055fd66 100644 --- a/app-eselect/eselect-wine/Manifest +++ b/app-eselect/eselect-wine/Manifest @@ -1,3 +1,6 @@ +AUX eselect-wine-1.2.2-proton.patch 160 BLAKE2B 6385b15daf83e1ee1cd8fa3a16fcf075d009f260845333dc16c31022a2f2cb2c529d298ccfd2d258232800586f8855433ee40116bf1af07935c53c7ee32f6521 SHA512 be0a0b3a7da99443a7e7f2ee8f93d90001a45321aaec66ab44eac58fa226eaf9abfd7e250919a48674e3d04f5917c2461f4d94bd53de8f2dd569bb6e25aefdd5 +DIST eselect-wine-1.2.2.tar.gz 4712 BLAKE2B 6ce92654cf2a5197c18bc84f8db52a11f198f81f0a8116f1986e74a1795ad475d22ff5a7cb9e9e31ce8ca813059b33cfbc52763110238cb378b15bebeb4b4271 SHA512 39f4d91461f72aeb07292dc7479c5cb7fc080b843bac57dec85c43d8751227e6953d32d52d4a14387d398b73120a32b79370d686c823f230dfd1d8b32ac8113a DIST wine.eselect-1.2.2 19370 BLAKE2B 957eb84b7ccb24d12eba876a538f0420ab05506c87086b65c27326c80da9adcfbff032c7ecc7b5763012c6d72cc53f643f0d3ffe02687adb103517dedfad2f0e SHA512 6380e904ca824b1fe45cf651637f1cfe931f0c7519db49cb0794826ebbc8bdebc480fe7eb16601dc37123b44ea2d10aec49aa9fe622cad3e67ffb0f730292614 +EBUILD eselect-wine-1.2.2-r1.ebuild 1307 BLAKE2B 825c99f1838b3b5adccdd5b32db0a4fd10abea821e7c17b2b2e067638abc0b9701b7403108223aae95eab327adffd9e6c8d58897fca368e923d7a0e0562c03f7 SHA512 677e0e33a38f357a6c2b61ec9f73a90216a39c9ac24f246685944e93d3596c80c42b220bfd40d02396cb650cf18ccb50e927f5b85bccee68c44e02bcb165c73e EBUILD eselect-wine-1.2.2.ebuild 1271 BLAKE2B 18abe8ac6ec8844aaa55960702833da507fe8f7a5ec74c197520aed6d14eb5e9be5dcfcc4417cc372dd13dd79483ecfd026f4935c1608a76bc8307e3856af81e SHA512 2846fa7e5641ed5585f591335e526f9eb698f97349631afae18dcfc783641ed0f9708346241c0aff5419898de672133454183b05a4154e29ccc0e50b08fa93c5 MISC metadata.xml 352 BLAKE2B f1327231dff33666a1fe443dd26542d9d25a67d47327a0255bf9b34377603583513dbe78e0c270576998b91279fb5f6cfca119cb8c632eaa9fe5f37ca35751b7 SHA512 8f4998376d93ea9705d5c4d36b360d1bf54332a1566fe61c07391f707cc0efc350a33ac91d42a8f8a6534327233c33fc8b8f1ea7142b28eb56b94e5621dc016c diff --git a/app-eselect/eselect-wine/eselect-wine-1.2.2-r1.ebuild b/app-eselect/eselect-wine/eselect-wine-1.2.2-r1.ebuild new file mode 100644 index 000000000000..5b3e569a49d6 --- /dev/null +++ b/app-eselect/eselect-wine/eselect-wine-1.2.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Manage active wine version" +HOMEPAGE="https://bitbucket.org/NP-Hardass/eselect-wine" +SRC_URI="https://bitbucket.org/NP-Hardass/eselect-wine/get/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/NP-Hardass-eselect-wine-f18b76f9c90c" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RDEPEND=" + app-admin/eselect + dev-util/desktop-file-utils + !app-emulation/wine:0" + +PATCHES=( + "${FILESDIR}"/${P}-proton.patch +) + +src_install() { + insinto /usr/share/eselect/modules + doins wine.eselect + + keepdir /etc/eselect/wine +} + +pkg_postinst() { + # <eselect-wine-v0.3_rc7 installed symlinks with leading double-slashes. + # In /usr/include this breaks gcc build. + # https://bugs.gentoo.org/434180 + if [[ $(readlink "${EROOT}"/usr/include/wine) == //* ]]; then + ewarn "Leading double slash in ${EROOT}/usr/include/wine symlink detected." + ewarn "Re-setting wine symlinks..." + eselect wine update --if-unset + fi +} + +pkg_prerm() { + # Avoid conflicts with wine[-multislot] installed later + if [[ -z ${REPLACED_BY_VERSION} ]]; then + elog "${PN} is being uninstalled, removing symlinks" + eselect wine unset --all || die + else + einfo "${PN} is being updated/reinstalled, not modifying symlinks" + fi +} diff --git a/app-eselect/eselect-wine/files/eselect-wine-1.2.2-proton.patch b/app-eselect/eselect-wine/files/eselect-wine-1.2.2-proton.patch new file mode 100644 index 000000000000..7adf263b2681 --- /dev/null +++ b/app-eselect/eselect-wine/files/eselect-wine-1.2.2-proton.patch @@ -0,0 +1,8 @@ +Temporary patch to add proton variant until a proper release +to update these. +--- a/wine.eselect ++++ b/wine.eselect +@@ -14,2 +14,3 @@ + staging ++ proton + d3d9 |