commit: 85df0e4a55933cdfd72603db8a9c526cca57b824
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 6 18:59:52 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Nov 6 19:00:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85df0e4a
x11-terms/rxvt-unicode: print a Big Fat Warning (TM) if USE=24-bit-color is set
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild
b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild
index ecc333567f4..5c2981ebb1c 100644
--- a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild
+++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild
@@ -93,3 +93,13 @@ src_install() {
make_desktop_entry urxvt rxvt-unicode utilities-terminal \
"System;TerminalEmulator"
}
+
+pkg_postinst() {
+ if use 24-bit-color; then
+ ewarn
+ ewarn "You have enabled 24-bit colour support in ${PN}, which
is UNOFFICIAL and INCOMPLETE."
+ ewarn "You may or may not encounter visual glitches or
stability issues. When in doubt,"
+ ewarn "rebuild =${CATEGORY}/${PF} with USE=-24-bit-color (the
default setting)."
+ ewarn
+ fi
+}