summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-11-06 19:59:52 +0100
committerMarek Szuba <marecki@gentoo.org>2020-11-06 20:00:22 +0100
commit85df0e4a55933cdfd72603db8a9c526cca57b824 (patch)
treeffa7d49ed03ab2bedaa9749ee6c0f40d25a39324 /x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild
parentdev-lang/spidermonkey: skip typedarray-arg-set-values-same-buffer-other-type.... (diff)
downloadgentoo-85df0e4a55933cdfd72603db8a9c526cca57b824.tar.gz
gentoo-85df0e4a55933cdfd72603db8a9c526cca57b824.tar.bz2
gentoo-85df0e4a55933cdfd72603db8a9c526cca57b824.zip
x11-terms/rxvt-unicode: print a Big Fat Warning (TM) if USE=24-bit-color is set
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild')
-rw-r--r--x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild10
1 files changed, 10 insertions, 0 deletions
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 ecc333567f44..5c2981ebb1c7 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
+}