diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-09 01:48:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-09 01:48:35 +0000 |
commit | 0b832a429ecd6081aa9faa0eb262303b019d87ea (patch) | |
tree | c39bb9eaa7bc30cec17f3a3bdef0cf5ed27c6a75 /x11-terms/kitty-shell-integration | |
parent | 80e87db4d9ed551615eb2d0309bf370e79500716 (diff) |
gentoo auto-resync : 09:03:2025 - 01:48:35
Diffstat (limited to 'x11-terms/kitty-shell-integration')
-rw-r--r-- | x11-terms/kitty-shell-integration/Manifest | 2 | ||||
-rw-r--r-- | x11-terms/kitty-shell-integration/kitty-shell-integration-0.40.0.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/x11-terms/kitty-shell-integration/Manifest b/x11-terms/kitty-shell-integration/Manifest index 1531562f6c0b..398d7e65a0b6 100644 --- a/x11-terms/kitty-shell-integration/Manifest +++ b/x11-terms/kitty-shell-integration/Manifest @@ -1,4 +1,6 @@ DIST kitty-0.39.1.tar.xz 8942308 BLAKE2B cb9eec3a8e568ef2caa5d50b52d13c2a0acc5f090dce40d0a6ae1bd4c2d78164506e6416d0d915f2c0028af1d7bbbc8b98bc81b2ff8831f3ce9e33374a0f27a9 SHA512 50d8e083e63fb5ccee5d6a4d7a3d07e775fe609307ad724527cd50ab33a7023d4e6694dd08ce322e643806fdcf92c0e990f14212ad168dbf4f39b8a666634000 +DIST kitty-0.40.0.tar.xz 9000332 BLAKE2B cd0fe553b0500e914d9b410176bf0a0420d97a6842b5794c90fd6f5904f7105408b124f475bd4df4859430d81d1ff17d842d658ce12d3696aa2fdc5fac82183f SHA512 9e10c38f117030ed0a0b38a65d8cd3921bba120ab5d1475850e87e3c5e342773b7f5844ea50ea341bf1bd083270a608da87de18f521a6b9d6b23c36ec64a3df5 EBUILD kitty-shell-integration-0.39.1.ebuild 1547 BLAKE2B b225e57f603183081cdf6259a3dada6fa5a0a04d363eb4dc8ea4c5acc0ff93ad1cc76bd689e361dc6f3dffa7375be438616ab2477a41c65cf0eb79dcbfc3a860 SHA512 9abeba66fbbbde1cfe2bcbc7bb2e363fddd927529be57699996acae03ee273979d62f14af02af05a9305b09c3fdd18201356ea9f7e101edb4487def21460b1b6 +EBUILD kitty-shell-integration-0.40.0.ebuild 1550 BLAKE2B 073a6631deb83af9f082fadd0b85c12c7ffc361875db3947f8031ae856e3793dfb6332f72992dfc718f28ae71df1f416e8ec5ad872b52ee7e0c46fba14a5c7b7 SHA512 73e3af0c8b134a26646a4facf0a88c1c5397ef59cd365933ca275293b99d2e880c32bef370695a6e0e30b631a21c1501749c6a7a62e7296f9ddacbaa23d88ae8 EBUILD kitty-shell-integration-9999.ebuild 1412 BLAKE2B e669120f3274561174e2d299713cd5f8605ea0c82f19203a9a26824b02df316b631917846b77a84c96ed3b59229b916fa94d392054f89a43f13c269c534a00b5 SHA512 7910b0677a277822d1d3145502cfb907debe1f8019eaaad429c410d83b9e5ac45fd2b85c92781e089ab6378c8a2555ef53d41e0f5b8b8494bee27865f4e004fc MISC metadata.xml 610 BLAKE2B 29a121e206c4a21965f03cac1b01314dc32384eb617e9c188814f2c9a8896d10cb299aa4ef7fec74c5a74c966069355d291fe23d9f37b2cbb3d34ebb24850f81 SHA512 867c3bfc752f53287bea2f027a949bb433cd069f5480a5197986371db6dac4524577bf1503259a4fb4f6832ec7c860a5f2b4ac495a17c6a19fee5c62a70e6892 diff --git a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.40.0.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.40.0.ebuild new file mode 100644 index 000000000000..180d8106dfee --- /dev/null +++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.40.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Shell integration scripts for kitty, a GPU-based terminal emulator" +HOMEPAGE="https://sw.kovidgoyal.net/kitty/" +SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz" +S="${WORKDIR}/kitty-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +RESTRICT="test" # intended to be ran on the full kitty package + +src_compile() { :; } + +src_install() { + # install the whole directory in the upstream suggested location + # for consistency (i.e. less variation between distros if someone + # ssh into Gentoo), then set symlinks to autoload where possible + # (these exit immediately if KITTY_SHELL_INTEGRATION is unset) + insinto /usr/share/kitty + doins -r shell-integration + + dosym -r {/usr/share/kitty/shell-integration/bash/,/etc/bash/bashrc.d/90-}kitty.bash + + dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_completions.d/kitty.fish + dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_conf.d/kitty-shell-integration.fish + + dosym -r /usr/share/{kitty/shell-integration/zsh/completions,zsh/site-functions}/_kitty + # zsh integration is handled automatically without needing to modify rc files, + # but may require user intervention depending on zsh invocation or if remote + + # this is used internally by the ssh kitten and is not useful there + rm -r "${ED}"/usr/share/kitty/shell-integration/ssh || die +} |