repo/gentoo:master commit in: x11-terms/kitty/

"Ionen Wolkens" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786030783.9431f14716d3ebd353a311004a0e9789f2fb78ad.ionen@gentoo>
commit:     9431f14716d3ebd353a311004a0e9789f2fb78ad
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  6 15:26:16 2026 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Aug  6 15:39:43 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9431f147

x11-terms/kitty: add shader-slang as a optfeature

Thought it was only a build-time dep (which is required), but kitty
also has code to use it at runtime for what seems to be configurable
custom shaders, kitty's binary bundle also ships slangc in bin/

Debated just adding it to RDEPEND given it's already in BDEPEND but,
given it seems(?) to be optional unless users setup custom shaders
in kitty.conf, may as well spare binpkgs users given it's still a
~50MB package in its current form that won't be needed for most.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-terms/kitty/kitty-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild
index 7edf69867dc7..55d670571bc8 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -204,6 +204,7 @@ src_install() {
 pkg_postinst() {
 	xdg_pkg_postinst
 
+	optfeature "custom shaders support" dev-util/shader-slang
 	optfeature "audio-based terminal bell support" media-libs/libcanberra
 	use X && optfeature "X11 startup notification support" x11-libs/startup-notification
 	optfeature "opening links from the terminal" x11-misc/xdg-utils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.