commit: 26d8a06f676fe8c20a1925916af3974308983524
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 11:20:10 2026 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 11:26:27 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d8a06f
x11-terms/kitty-shell-integration: add 0.46.1
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-terms/kitty-shell-integration/Manifest | 1 +
.../kitty-shell-integration-0.46.1.ebuild | 39 ++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/x11-terms/kitty-shell-integration/Manifest
b/x11-terms/kitty-shell-integration/Manifest
index 5882706f1628..100b81c695f1 100644
--- a/x11-terms/kitty-shell-integration/Manifest
+++ b/x11-terms/kitty-shell-integration/Manifest
@@ -1,2 +1,3 @@
DIST kitty-0.45.0.tar.xz 10189520 BLAKE2B
7a0ae48199d485ebe0d5c64eae85548b9bd996157f3de8eef773f39d3fa5304ef7d2ad9b5849a71eefc9ea224077c54b08cb54d802127ed70ea0436584c671d8
SHA512
6d627072c1e0500d46aa3d82793fe10f271c00c45447558e555e3704ee09c43ad6472eada97b95c49c7af2eea8b1da632190274f7ff567bdb0d7baba8b0eba8c
DIST kitty-0.46.0.tar.xz 10342980 BLAKE2B
f3e67a990b13ea780630a3ff1dbfba6d1c3f2feac41ca60fe3f04ab607e3b5875c23964ed48527028bbe0a0fff5fe59ec7fd09ca5579319077dc815f08284ca7
SHA512
678e9774864a9cee9d644e40704b59e2e3ec7ca0a1cd21517a60f95643b6b7c0a7f899eca329a29eec29c2fd21b9388dfab7356477266730b1187595fa896a67
+DIST kitty-0.46.1.tar.xz 10350256 BLAKE2B
f05a462165125c59123f6f1d1b4cde4859d32773a48b263b681e13028c97945b077d39d42d11da8b7b41ce1b5776ed599f3dd074edf1a8810911ff456a1afdb8
SHA512
37d89156b8529943e1f6e437698a26b61887dbd778f40904320ea6e7b96b8c4d2ae50883bf386a5b68114342ad4a502703f040c6b95e445c01d7dce93ae8ff55
diff --git
a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.46.1.ebuild
b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.46.1.ebuild
new file mode 100644
index 000000000000..5d448e448cc3
--- /dev/null
+++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.46.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git"
+else
+
SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz"
+ S=${WORKDIR}/kitty-${PV}
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="Shell integration scripts for kitty, a GPU-based terminal
emulator"
+HOMEPAGE="https://sw.kovidgoyal.net/kitty/"
+
+LICENSE="GPL-3"
+SLOT="0"
+RESTRICT="test" # intended to be ran on the full kitty package
+
+src_compile() { :; }
+
+src_install() {
+ # split from the kitty package to allow installing individually on
+ # remote machines and have shell integration scripts be auto-loaded
+ insinto /etc/bash/bashrc.d
+ newins shell-integration/bash/kitty.bash 90-kitty.bash
+
+ insinto /usr/share/fish
+ doins -r shell-integration/fish/vendor_conf.d
+
+ # unfortunately zsh currently lacks a bashrc.d equivalent, copy
+ # to docdir for now so users can use it manually if needed (also at
+ # /usr/lib*/kitty/shell-integration/zsh if kitty is installed)
+ docinto zsh
+ docompress -x /usr/share/doc/${PF}/zsh
+ dodoc shell-integration/zsh/{.zshenv,kitty-integration,kitty.zsh}
+}