From e384c9f3fa2fef8a12d917c11bfc0bd9a1228797 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sun, 14 Jun 2026 23:59:59 -0400 Subject: [PATCH] x11-terms/kitty-shell-integration: add 0.47.4 Signed-off-by: Ionen Wolkens --- x11-terms/kitty-shell-integration/Manifest | 1 + .../kitty-shell-integration-0.47.4.ebuild | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 x11-terms/kitty-shell-integration/kitty-shell-integration-0.47.4.ebuild diff --git a/x11-terms/kitty-shell-integration/Manifest b/x11-terms/kitty-shell-integration/Manifest index d18456059542a..1a89d9ee0e541 100644 --- a/x11-terms/kitty-shell-integration/Manifest +++ b/x11-terms/kitty-shell-integration/Manifest @@ -1,3 +1,4 @@ DIST kitty-0.46.2.tar.xz 10352720 BLAKE2B b5e162436e92b19d36cb72a5a625efeec21be0377c7b9ce9788980a380fabc115ee07dd9917f7b4d767bfc3416dd99b34f57cdbf183eaac60ae14a9731a82a58 SHA512 e14ef4d7e522ac67dc3e485082ec0d13c3662bde6ba086aa41ed333cc23abb5cc1df0eeb325a72d2206fb06601b6092fe4d8b613222e8de819de856e6fcfe445 DIST kitty-0.47.2.tar.xz 11882228 BLAKE2B 9b3efcdbf2999c64020c4947bd250bc56aa2b3a67d05634d2da979d3a61e4d96d8ab03c1174fdd487032cf5bc57c792a43753ea9bc75a716a83ecb515dc833ac SHA512 1a565087f0e22afa6ba813ecaeed407fb76f2d4b2b6f12ec5f063512ef506e4315b95f224d8b975502a5f5ae8921f0a82a0cf32b8bc3f47bcac4ade23c2a481a DIST kitty-0.47.3.tar.xz 11884216 BLAKE2B fdccda024716ee4014adc034b5a7ee603a4dbed6162751dcc71aa06f0ab5dc5f5ce138b779daef7d4d59f016a0ab5d04b11901d5101c24d07d3344c4162a2bb0 SHA512 a1fb7b6847a2c87576573da5706d4fbbc3173aa1c6731e20205c834373a00bd209ca0c7493cceff7da29cfa14f7cd5fcabf14ead6295eaa48fd2ebfdb94906da +DIST kitty-0.47.4.tar.xz 11886344 BLAKE2B ff39cd66a222e8a7c51ff4d5d127b291ac32192d940e587915763af2a24273f7ae2d2c471cf077d0bd0a9742353cfab16b3fe085dd4afcf94051201059daac49 SHA512 a6832836c305a2407a6f9622b5ded4cf3ad97fdb118a14a1986c68d58a14a4910ef7078ed2fc0fe21a18a3aba082b8a901d8dd57e46724fed8dbd70608d1f832 diff --git a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.47.4.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.47.4.ebuild new file mode 100644 index 0000000000000..5d448e448cc30 --- /dev/null +++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.47.4.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} +}