commit: 58a02ed9e6328b7df28d130a4f2a45928ff2ad5d Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Wed Jul 16 07:29:54 2025 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Wed Jul 16 07:38:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a02ed9
x11-terms/kitty-shell-integration: add 0.42.2 Bug: https://bugs.gentoo.org/960075 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> x11-terms/kitty-shell-integration/Manifest | 1 + .../kitty-shell-integration-0.42.2.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/x11-terms/kitty-shell-integration/Manifest b/x11-terms/kitty-shell-integration/Manifest index 77e4e81c275a..308c77f24df7 100644 --- a/x11-terms/kitty-shell-integration/Manifest +++ b/x11-terms/kitty-shell-integration/Manifest @@ -1,2 +1,3 @@ DIST kitty-0.41.1.tar.xz 8907984 BLAKE2B 9875df797099b893176bc8899d00f40cb57f0056a1ca87c778d2ffdd4480c7b14f58e0fe322c1e3cbdb73a126f3b0664600484764217eccfd4818589fbe43b47 SHA512 c4ce7750d4c8716af755e5ec6bb34c34616cf0cc62d7675a94ca77b68f72aa1e23b753836e885883f9eb0033ba1413d326b2dd63b17e8a26f83b04b1a3188836 DIST kitty-0.42.1.tar.xz 12371156 BLAKE2B df0e9cba73d3e05579760b0f3d4778a189ab70b89c3a9932927fecc3c1e16870e8ae34ebd1042e9e1d44920991d5f45e4e53257f095797395f06f102d7308df5 SHA512 07dc2c1d814e40c1c39dc4275e6118efabbf8cbaae59a746996e310127d6e13297614f6b12406da3241f6b55e164bc675e157d5a2831ace248e78095d74cc430 +DIST kitty-0.42.2.tar.xz 12534304 BLAKE2B 56c80ab6467e4c4bef0acd0724e8a2458234c4bbdf81aaffed330a3148c299c3c59bf9cf5309d14618b0d143ee8f925fdb25776d6d5d530ffad24673cc88b04d SHA512 29e17ee3e4709b90d8d945ecd1737440bc88ad276cde4f5d159fd094de571bf7a10ccb86dfe9e0f8e213e36e59f7c62e2045f411d199ec729722a6462279d949 diff --git a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.42.2.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.42.2.ebuild new file mode 100644 index 000000000000..6d3f01d1f3db --- /dev/null +++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.42.2.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} +}
