From 89c5781d4bbf612acaa4e540a2fd50b96b63ae48 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Thu, 28 May 2026 07:33:33 -0400 Subject: [PATCH] x11-terms/kitty-shell-integration: add 0.47.1 Signed-off-by: Ionen Wolkens --- x11-terms/kitty-shell-integration/Manifest | 1 + .../kitty-shell-integration-0.47.1.ebuild | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 x11-terms/kitty-shell-integration/kitty-shell-integration-0.47.1.ebuild diff --git a/x11-terms/kitty-shell-integration/Manifest b/x11-terms/kitty-shell-integration/Manifest index 56825c98a268c..c6f3016e4e251 100644 --- a/x11-terms/kitty-shell-integration/Manifest +++ b/x11-terms/kitty-shell-integration/Manifest @@ -1,2 +1,3 @@ DIST kitty-0.46.2.tar.xz 10352720 BLAKE2B b5e162436e92b19d36cb72a5a625efeec21be0377c7b9ce9788980a380fabc115ee07dd9917f7b4d767bfc3416dd99b34f57cdbf183eaac60ae14a9731a82a58 SHA512 e14ef4d7e522ac67dc3e485082ec0d13c3662bde6ba086aa41ed333cc23abb5cc1df0eeb325a72d2206fb06601b6092fe4d8b613222e8de819de856e6fcfe445 DIST kitty-0.47.0.tar.xz 11877752 BLAKE2B a7c0e397bfeaad28675dfc195aa3e9ae5eb64957ba8390a3c928fddea0846571f06a5106744e8e45970f59b2af596b21f829336597481095552dd6628f351865 SHA512 9e86e2279237c6a0ce24577b50f8efd0bd7193d0f598f81110fd6c3bc49a312dabc40bd29bdd995f9403ce952287e5545dd7f965db044931d5598ee80bcfdf4c +DIST kitty-0.47.1.tar.xz 11879856 BLAKE2B f24383eef499fcd34a67cd64d52dd9a3724a1735e5a024efe4379bc74302121bc912c9ac91558aef59d1a2b5cc47e3ce5b7bc4df889ad425271a085ed0bdd295 SHA512 27555651f58cf5839e2a86124e8df66f977dd8dc9e604a65513d7f8b0612c0ff2a6e06caf3923cb26e2e6e3114ad9cbcb5095dc5586316fc9adfd149964b38ab diff --git a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.47.1.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.47.1.ebuild new file mode 100644 index 0000000000000..5d448e448cc30 --- /dev/null +++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.47.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} +}