commit: b49534a50f7245055361f55356d836d16a47b0c4
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 28 05:34:57 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Sep 28 06:50:40 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49534a5
x11-terms/kitty-shell-integration: add 0.43.0
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-terms/kitty-shell-integration/Manifest | 1 +
.../kitty-shell-integration-0.43.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 946471087048..c6ebe00a1635 100644
--- a/x11-terms/kitty-shell-integration/Manifest
+++ b/x11-terms/kitty-shell-integration/Manifest
@@ -1,2 +1,3 @@
DIST kitty-0.42.1.tar.xz 12371156 BLAKE2B
df0e9cba73d3e05579760b0f3d4778a189ab70b89c3a9932927fecc3c1e16870e8ae34ebd1042e9e1d44920991d5f45e4e53257f095797395f06f102d7308df5
SHA512
07dc2c1d814e40c1c39dc4275e6118efabbf8cbaae59a746996e310127d6e13297614f6b12406da3241f6b55e164bc675e157d5a2831ace248e78095d74cc430
DIST kitty-0.42.2.tar.xz 12534304 BLAKE2B
56c80ab6467e4c4bef0acd0724e8a2458234c4bbdf81aaffed330a3148c299c3c59bf9cf5309d14618b0d143ee8f925fdb25776d6d5d530ffad24673cc88b04d
SHA512
29e17ee3e4709b90d8d945ecd1737440bc88ad276cde4f5d159fd094de571bf7a10ccb86dfe9e0f8e213e36e59f7c62e2045f411d199ec729722a6462279d949
+DIST kitty-0.43.0.tar.xz 12751580 BLAKE2B
7e7212d4d4f1e00e2885cf6f95a7dacc741c3660d6aea6f2b494b4c397648340c72b1bff0e659e484634fad0395b850daf0d94594c2ffe20e41f6b044e9e6ab9
SHA512
87066a74d61572975a344837b7bee987acedaaa2fa4cce375003d1836403534bee9ca64db0ea4243038620995237c75712652bae28b12828e6a030f0874730da
diff --git
a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.43.0.ebuild
b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.43.0.ebuild
new file mode 100644
index 000000000000..6d3f01d1f3db
--- /dev/null
+++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.43.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022-2025 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}
+}