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

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-05-28 07:42:46 -04:00
parent 8ca617b587
commit 89c5781d4b
2 changed files with 40 additions and 0 deletions
@@ -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
@@ -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}
}