commit:     d178c5d2b7958c28c181d02339199de2de115506
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  3 11:12:28 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Nov  3 11:18:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d178c5d2

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

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

 x11-terms/kitty-shell-integration/Manifest         |  1 +
 .../kitty-shell-integration-0.44.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 b8b1df20d1c4..8a6b1f2b0eb5 100644
--- a/x11-terms/kitty-shell-integration/Manifest
+++ b/x11-terms/kitty-shell-integration/Manifest
@@ -1 +1,2 @@
 DIST kitty-0.43.1.tar.xz 12756968 BLAKE2B 
27d6d06d16d5d2989741691aa5ec40c395f11ae9479f2ac78cfab6e2716023d01603d94957b825f9fe5bf09c377c5bc87a839545238abab8512a408482a4a570
 SHA512 
083fba383d970aec87aa279787b35bf974562987340a5b10538cab4b816fa0031ba02ba46240928649ef88e7ba7cafdae3dc697e7681d0899c43b5ef1af6ae7d
+DIST kitty-0.44.0.tar.xz 12766804 BLAKE2B 
67c876292be90f7c783dc1a07430508e0bce3cfc2092b21c93e794c86fad76427b7be8e24480f5dc9c56c99e103cc5ef4575743968ee2821b4aee30069e0e748
 SHA512 
5e947aacc32e142316c65ff3aa8df8fca38d3a654cecd669e22d001f4628f7da716cf70c668f6881296d7b3e145180a5524e596c7ac873e08d3c0b8588db0538

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

Reply via email to