commit:     abeb49432abbe2bb03b42c3b5eed96c897e7b891
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 14 23:47:35 2026 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Mar 15 00:08:06 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abeb4943

x11-terms/kitty-shell-integration: add 0.46.0

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

 x11-terms/kitty-shell-integration/Manifest         |  1 +
 .../kitty-shell-integration-0.46.0.ebuild          | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/x11-terms/kitty-shell-integration/Manifest 
b/x11-terms/kitty-shell-integration/Manifest
index 0d9e8afe0ef2..5882706f1628 100644
--- a/x11-terms/kitty-shell-integration/Manifest
+++ b/x11-terms/kitty-shell-integration/Manifest
@@ -1 +1,2 @@
 DIST kitty-0.45.0.tar.xz 10189520 BLAKE2B 
7a0ae48199d485ebe0d5c64eae85548b9bd996157f3de8eef773f39d3fa5304ef7d2ad9b5849a71eefc9ea224077c54b08cb54d802127ed70ea0436584c671d8
 SHA512 
6d627072c1e0500d46aa3d82793fe10f271c00c45447558e555e3704ee09c43ad6472eada97b95c49c7af2eea8b1da632190274f7ff567bdb0d7baba8b0eba8c
+DIST kitty-0.46.0.tar.xz 10342980 BLAKE2B 
f3e67a990b13ea780630a3ff1dbfba6d1c3f2feac41ca60fe3f04ab607e3b5875c23964ed48527028bbe0a0fff5fe59ec7fd09ca5579319077dc815f08284ca7
 SHA512 
678e9774864a9cee9d644e40704b59e2e3ec7ca0a1cd21517a60f95643b6b7c0a7f899eca329a29eec29c2fd21b9388dfab7356477266730b1187595fa896a67

diff --git 
a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.46.0.ebuild 
b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.46.0.ebuild
new file mode 100644
index 000000000000..5d448e448cc3
--- /dev/null
+++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.46.0.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}
+}

Reply via email to