commit:     e0f1c41f4a6bb801f41360a8ef2888062a2043f8
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 24 06:53:24 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Dec 24 07:09:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0f1c41f

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

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

 x11-terms/kitty-shell-integration/Manifest         |  1 +
 .../kitty-shell-integration-0.45.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 59244b58ecc0..32464b560698 100644
--- a/x11-terms/kitty-shell-integration/Manifest
+++ b/x11-terms/kitty-shell-integration/Manifest
@@ -1 +1,2 @@
 DIST kitty-0.44.0.tar.xz 12766804 BLAKE2B 
67c876292be90f7c783dc1a07430508e0bce3cfc2092b21c93e794c86fad76427b7be8e24480f5dc9c56c99e103cc5ef4575743968ee2821b4aee30069e0e748
 SHA512 
5e947aacc32e142316c65ff3aa8df8fca38d3a654cecd669e22d001f4628f7da716cf70c668f6881296d7b3e145180a5524e596c7ac873e08d3c0b8588db0538
+DIST kitty-0.45.0.tar.xz 10189520 BLAKE2B 
7a0ae48199d485ebe0d5c64eae85548b9bd996157f3de8eef773f39d3fa5304ef7d2ad9b5849a71eefc9ea224077c54b08cb54d802127ed70ea0436584c671d8
 SHA512 
6d627072c1e0500d46aa3d82793fe10f271c00c45447558e555e3704ee09c43ad6472eada97b95c49c7af2eea8b1da632190274f7ff567bdb0d7baba8b0eba8c

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