commit: c67e0c228454dc3fbe645328bc2d27d2d83e6ede
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 10 12:41:23 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Aug 10 12:42:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c67e0c22
app-emulation/wine-vanilla: add postinst ewarn to advertise wow64
Didn't want to add this a before given some profiles do not even
leave a choice, but now it feels a build without 32bit is just a
disservice.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild | 7 +++++++
app-emulation/wine-vanilla/wine-vanilla-9999.ebuild | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild
b/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild
index 76983615cd38..6a19271a4121 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild
@@ -370,6 +370,13 @@ src_install() {
}
pkg_postinst() {
+ if use !abi_x86_32 && use !wow64; then
+ ewarn "32bit support is disabled. While 64bit applications
themselves will"
+ ewarn "work, be warned that it is not unusual that installers
or other helpers"
+ ewarn "will attempt to use 32bit and fail. If do not want full
USE=abi_x86_32,"
+ ewarn "note that the experimental USE=wow64 can allow 32bit
without multilib."
+ fi
+
eselect wine update --if-unset || die
}
diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
index 76983615cd38..6a19271a4121 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
@@ -370,6 +370,13 @@ src_install() {
}
pkg_postinst() {
+ if use !abi_x86_32 && use !wow64; then
+ ewarn "32bit support is disabled. While 64bit applications
themselves will"
+ ewarn "work, be warned that it is not unusual that installers
or other helpers"
+ ewarn "will attempt to use 32bit and fail. If do not want full
USE=abi_x86_32,"
+ ewarn "note that the experimental USE=wow64 can allow 32bit
without multilib."
+ fi
+
eselect wine update --if-unset || die
}