summaryrefslogtreecommitdiff
path: root/x11-terms
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-11 00:12:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-11 00:12:38 +0000
commit0ec1e1dd7867c3dedcbea76c9b6e847d6b388c03 (patch)
tree65f42b72245de9fb9fa9ea30e6221dfff7dda7c5 /x11-terms
parent3a81cede4783e464b7485722b2eaac0280dbc570 (diff)
gentoo auto-resync : 11:02:2025 - 00:12:37
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/Manifest.gzbin5044 -> 5051 bytes
-rw-r--r--x11-terms/kitty-shell-integration/Manifest2
-rw-r--r--x11-terms/kitty-shell-integration/kitty-shell-integration-0.39.0.ebuild37
-rw-r--r--x11-terms/kitty-terminfo/Manifest2
-rw-r--r--x11-terms/kitty-terminfo/kitty-terminfo-0.39.0.ebuild23
-rw-r--r--x11-terms/kitty/Manifest4
-rw-r--r--x11-terms/kitty/kitty-0.39.0.ebuild187
7 files changed, 0 insertions, 255 deletions
diff --git a/x11-terms/Manifest.gz b/x11-terms/Manifest.gz
index 7de56bc63ad3..6af1e78f9b88 100644
--- a/x11-terms/Manifest.gz
+++ b/x11-terms/Manifest.gz
Binary files differ
diff --git a/x11-terms/kitty-shell-integration/Manifest b/x11-terms/kitty-shell-integration/Manifest
index c411afadaf3f..3f641d4ce728 100644
--- a/x11-terms/kitty-shell-integration/Manifest
+++ b/x11-terms/kitty-shell-integration/Manifest
@@ -1,10 +1,8 @@
DIST kitty-0.35.2.tar.xz 8220608 BLAKE2B 277803c7036890af34f2e0497ab1d33cb578cba4bfba425d6699e02e2106cde4e10f7dcc6859ce7eea1b4f34795a2f5180328665450ccb49d8a6da4183fa4f50 SHA512 edc78046f942965c823a1202a6d7c85cc2d2acb376824a0f5224d4ba6f48ed0978a00eb7a3e1e6053622a7d5fdcf80009ecfb61a63272cf407dd30f828f47b56
DIST kitty-0.38.1.tar.xz 8935276 BLAKE2B 3cb8cdd8ecdefcbc0317c0ab343df8a71d257f34e0fd961bf9a5991a0a259545cc87adbc4931330eb7ec380608a67a68690f704c35469a57cc82c119bde5d3cb SHA512 273a9fc959973ad73105f5d589e420df9360bb20818165b05e14981c42f7146cec6cbb17539a91089a5af9b94dbb3f416421671bbe20cdb0b876cde5043b784c
-DIST kitty-0.39.0.tar.xz 8938592 BLAKE2B bd9bc47e58824e18c9dd61ab83f8322abcd7b296902dde3e4bb66516b7d83991fce45d3f4580cd9cfb26f7f51f427e0f2a47dfbf695e2236b5f7042643c672fc SHA512 765f1c4bd6aa8fe751c4e0d4a44b924858ed1eb97b37beaa60e5a90b16df353e9b7db32990aa93bc960e8f01ae3de88381fe4cbc1a4dc69c0bdf655077fdf3ab
DIST kitty-0.39.1.tar.xz 8942308 BLAKE2B cb9eec3a8e568ef2caa5d50b52d13c2a0acc5f090dce40d0a6ae1bd4c2d78164506e6416d0d915f2c0028af1d7bbbc8b98bc81b2ff8831f3ce9e33374a0f27a9 SHA512 50d8e083e63fb5ccee5d6a4d7a3d07e775fe609307ad724527cd50ab33a7023d4e6694dd08ce322e643806fdcf92c0e990f14212ad168dbf4f39b8a666634000
EBUILD kitty-shell-integration-0.35.2.ebuild 1498 BLAKE2B 9c23bd53c1d50395b5e7349f313ca82c2514c7bcb751d39798601cfc695dc241e89f6ab4439a6dada7764db3ea72d4619a7b0d42e01b3d9e67bc18d822f9979f SHA512 5b45f302ea80fb9da12a14dece17978beb1ab66a9ea163e881aa224872b96c271f6f01b1b3e6e4969c90d5bf24efe14725a9c90661d562e8fd5daf5c8cf10ad3
EBUILD kitty-shell-integration-0.38.1.ebuild 1499 BLAKE2B 292951e9a3fda09e85e37a7be4923c8bf91569a747be8c39c94773ab6238e05758f2f56fbeafe384576c7dd6e7d18a5fd8fc878130eecec08dcbdee0fa65d16e SHA512 0fa0e0c74685df14ee32580cbb1182259231c6adf50e8fc7dea397b04638379b16aee9a4c44dc84708c981b4c239b1a55d46f1cdb9d743e9f32af9267e4fb388
-EBUILD kitty-shell-integration-0.39.0.ebuild 1550 BLAKE2B 073a6631deb83af9f082fadd0b85c12c7ffc361875db3947f8031ae856e3793dfb6332f72992dfc718f28ae71df1f416e8ec5ad872b52ee7e0c46fba14a5c7b7 SHA512 73e3af0c8b134a26646a4facf0a88c1c5397ef59cd365933ca275293b99d2e880c32bef370695a6e0e30b631a21c1501749c6a7a62e7296f9ddacbaa23d88ae8
EBUILD kitty-shell-integration-0.39.1.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.39.0.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.39.0.ebuild
deleted file mode 100644
index 180d8106dfee..000000000000
--- a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.39.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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
-}
diff --git a/x11-terms/kitty-terminfo/Manifest b/x11-terms/kitty-terminfo/Manifest
index 93e58b09aebf..91fbbe9e4d40 100644
--- a/x11-terms/kitty-terminfo/Manifest
+++ b/x11-terms/kitty-terminfo/Manifest
@@ -1,10 +1,8 @@
DIST kitty-0.35.2.tar.xz 8220608 BLAKE2B 277803c7036890af34f2e0497ab1d33cb578cba4bfba425d6699e02e2106cde4e10f7dcc6859ce7eea1b4f34795a2f5180328665450ccb49d8a6da4183fa4f50 SHA512 edc78046f942965c823a1202a6d7c85cc2d2acb376824a0f5224d4ba6f48ed0978a00eb7a3e1e6053622a7d5fdcf80009ecfb61a63272cf407dd30f828f47b56
DIST kitty-0.38.1.tar.xz 8935276 BLAKE2B 3cb8cdd8ecdefcbc0317c0ab343df8a71d257f34e0fd961bf9a5991a0a259545cc87adbc4931330eb7ec380608a67a68690f704c35469a57cc82c119bde5d3cb SHA512 273a9fc959973ad73105f5d589e420df9360bb20818165b05e14981c42f7146cec6cbb17539a91089a5af9b94dbb3f416421671bbe20cdb0b876cde5043b784c
-DIST kitty-0.39.0.tar.xz 8938592 BLAKE2B bd9bc47e58824e18c9dd61ab83f8322abcd7b296902dde3e4bb66516b7d83991fce45d3f4580cd9cfb26f7f51f427e0f2a47dfbf695e2236b5f7042643c672fc SHA512 765f1c4bd6aa8fe751c4e0d4a44b924858ed1eb97b37beaa60e5a90b16df353e9b7db32990aa93bc960e8f01ae3de88381fe4cbc1a4dc69c0bdf655077fdf3ab
DIST kitty-0.39.1.tar.xz 8942308 BLAKE2B cb9eec3a8e568ef2caa5d50b52d13c2a0acc5f090dce40d0a6ae1bd4c2d78164506e6416d0d915f2c0028af1d7bbbc8b98bc81b2ff8831f3ce9e33374a0f27a9 SHA512 50d8e083e63fb5ccee5d6a4d7a3d07e775fe609307ad724527cd50ab33a7023d4e6694dd08ce322e643806fdcf92c0e990f14212ad168dbf4f39b8a666634000
EBUILD kitty-terminfo-0.35.2.ebuild 631 BLAKE2B 3e61a196a09738cbef2603fccbbc5eece8346495f3a3606acbcea6d7c134961e405b9aabc915bf704f9c327037abf4363619e206f1c548d24c112f4f2b607129 SHA512 ba5541c668843f4718c4efd53dedf71fae5e56ca39ad7bb819a4f13c9efec3d85bd9cd18e3dd4184abc02bf28cdca12c847117933d7f7590b3cc2d88c2d5f7f9
EBUILD kitty-terminfo-0.38.1.ebuild 632 BLAKE2B a67d5e64055d45309101d9f54e360e5cd71a6fa75373b39e28e6758c8bf9ff9370b647da7cca0a0d22f69f63ab511f3d6690f30c06e9d657982ec3771ea93c61 SHA512 4ae687c6d93c862f708257247d7d11fac4e853bad9838c4b74fffc505646b5236b8be0d237331a4871ae1e35cf234e641e370e2aaad6b0b1d744ec2de7184088
-EBUILD kitty-terminfo-0.39.0.ebuild 683 BLAKE2B 8b9178ddc488d230c92eeda39865d8b09ea5c9d74ea0e0bec684272c0cd0d8eccf600e30c510869fc418aede16b313ec413072113a533d2a9819b1b8b0845380 SHA512 cc4898eeb89bc241d22d639a27c1e8f128814bc9740ba29a847bb75c01058785316d180bcfab9a45d8ce9c77874f6d2d08f87188dc4c26b905efa531c6c8303b
EBUILD kitty-terminfo-0.39.1.ebuild 683 BLAKE2B 8b9178ddc488d230c92eeda39865d8b09ea5c9d74ea0e0bec684272c0cd0d8eccf600e30c510869fc418aede16b313ec413072113a533d2a9819b1b8b0845380 SHA512 cc4898eeb89bc241d22d639a27c1e8f128814bc9740ba29a847bb75c01058785316d180bcfab9a45d8ce9c77874f6d2d08f87188dc4c26b905efa531c6c8303b
EBUILD kitty-terminfo-9999.ebuild 545 BLAKE2B 50bf783694580b016f3291640d6c4ab3e8ee335f78d13b75cb7ebe6628ddd2f244fab2e7c465a3964ed6b5e0ebbdb144c739a01ffa7239c8518503ea107a52f2 SHA512 267b8b4a526ee22159f7c1c0d9a089e183308e1e7f61d775834e4ed5d4f25be7aac8cc3db4afa3c3f1e933159f27abff25c31989dd6478c1727eec590bf0a3c8
MISC metadata.xml 610 BLAKE2B 29a121e206c4a21965f03cac1b01314dc32384eb617e9c188814f2c9a8896d10cb299aa4ef7fec74c5a74c966069355d291fe23d9f37b2cbb3d34ebb24850f81 SHA512 867c3bfc752f53287bea2f027a949bb433cd069f5480a5197986371db6dac4524577bf1503259a4fb4f6832ec7c860a5f2b4ac495a17c6a19fee5c62a70e6892
diff --git a/x11-terms/kitty-terminfo/kitty-terminfo-0.39.0.ebuild b/x11-terms/kitty-terminfo/kitty-terminfo-0.39.0.ebuild
deleted file mode 100644
index 00c37bdc2955..000000000000
--- a/x11-terms/kitty-terminfo/kitty-terminfo-0.39.0.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Terminfo 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
-
-BDEPEND="sys-libs/ncurses"
-
-src_compile() { :; }
-
-src_install() {
- dodir /usr/share/terminfo
- tic -xo "${ED}"/usr/share/terminfo terminfo/kitty.terminfo || die
-}
diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest
index 268452d2d731..e90caba464f2 100644
--- a/x11-terms/kitty/Manifest
+++ b/x11-terms/kitty/Manifest
@@ -4,15 +4,11 @@ DIST kitty-0.35.2.tar.xz.sig 566 BLAKE2B 89e636f2fcd8ee12be37e41187d131d2092e667
DIST kitty-0.38.1-vendor.tar.xz 1568124 BLAKE2B 9f8ce2c2a30f95085cd8c9096b586895074a69c1e7a310fbbf586e352423aadb0114cb1e01e6dc99f55b3e38b4c3e35942a3fcb5407c315bfe7bef19d48397fc SHA512 2578a8e1e1abb49f19a1052b12d79772ca3d3385dbf06620ee11af30c427fc89451b2a2b051833a33c51d8992988c292160fadf3f6a90e8513253c5bec6654c7
DIST kitty-0.38.1.tar.xz 8935276 BLAKE2B 3cb8cdd8ecdefcbc0317c0ab343df8a71d257f34e0fd961bf9a5991a0a259545cc87adbc4931330eb7ec380608a67a68690f704c35469a57cc82c119bde5d3cb SHA512 273a9fc959973ad73105f5d589e420df9360bb20818165b05e14981c42f7146cec6cbb17539a91089a5af9b94dbb3f416421671bbe20cdb0b876cde5043b784c
DIST kitty-0.38.1.tar.xz.sig 566 BLAKE2B 8915e05e08b2950c08afe7a4f79879d13561e5f1293da67f89cb8ba8b5907c2ca86fc0ad7a76cf9a16f1c956f0eeb69f6334766615e2da07e1fa2d63e45cab33 SHA512 844d12c1b3eb9e2fa3ff0b8675c58df14744c391ffd0ef3394a1fce8c8cbe9e9575a96fbbe44ee44486a706b0fb0d23c21ba28a3f1abd65861ff1d312307e43e
-DIST kitty-0.39.0-vendor.tar.xz 1575432 BLAKE2B e717e8953e59197daac236876b1922e4116d7a2934f5436a06c4f904d1f5fb7fc6cace67ce8f989c87a8c2d4815c6daa1437a7a6b816050a18be204110c2b6ca SHA512 7f24277da1216dd5465606b25b244aa795de9fcc56093310388a3cefd934f14ff5adc1b41ee676a72dbb2ebf1374603f8e908903ce9d1860c689eb78efce4c53
-DIST kitty-0.39.0.tar.xz 8938592 BLAKE2B bd9bc47e58824e18c9dd61ab83f8322abcd7b296902dde3e4bb66516b7d83991fce45d3f4580cd9cfb26f7f51f427e0f2a47dfbf695e2236b5f7042643c672fc SHA512 765f1c4bd6aa8fe751c4e0d4a44b924858ed1eb97b37beaa60e5a90b16df353e9b7db32990aa93bc960e8f01ae3de88381fe4cbc1a4dc69c0bdf655077fdf3ab
-DIST kitty-0.39.0.tar.xz.sig 566 BLAKE2B 6cc923fc0654e47bbc1ad856258f545f52f392518c90d876a5310ada6e3dff11d6137efa714647c22c7c7b552222d3f23e41b1e08ae0ebf769c09d7778038f65 SHA512 c92aa044cb1a82832e8fdb172eaeddb14eb869a025b29bcfa7bb34098f11896fe41059ecc8c46e9906a186cd4dcd07f4e8c713a56fa623cfdc11391a7b2c4129
DIST kitty-0.39.1-vendor.tar.xz 1575868 BLAKE2B 32187f48becc430eb3ecda990dc8e01977fb80676689caff11c7061434d8b3f1cf26ddeffa26db61d9949f96551dd6d78422a068e03b03c3ac4b9dd0b5cc4e5a SHA512 796b3f91f7539c78a3a2995cb1d73424fdb5159f8328d331ece54a028830f73583bed840b7c0cb75a1cc3e516cdf6a2d1b5a80c545d8b90826f6898430488d3c
DIST kitty-0.39.1.tar.xz 8942308 BLAKE2B cb9eec3a8e568ef2caa5d50b52d13c2a0acc5f090dce40d0a6ae1bd4c2d78164506e6416d0d915f2c0028af1d7bbbc8b98bc81b2ff8831f3ce9e33374a0f27a9 SHA512 50d8e083e63fb5ccee5d6a4d7a3d07e775fe609307ad724527cd50ab33a7023d4e6694dd08ce322e643806fdcf92c0e990f14212ad168dbf4f39b8a666634000
DIST kitty-0.39.1.tar.xz.sig 566 BLAKE2B ad055db8e0de99ceea2745f795ad629dc7237a7a02527c4dc1de9eba02f2498ef009e088081036c154b9b66e166d89462d1ce31708f30fa167528e61a2d1724b SHA512 0cdca0dac72d3e1679858efffd5dc30fa224ec40b774922778cb33d39974713a5847d7b41b485cdb4db5e33e0c084d36d1b2aa27434414ae2c4b3dd97e1883ee
EBUILD kitty-0.35.2.ebuild 4844 BLAKE2B 96cc72dc4371d3bb528ce431a7e9e3e311a2c5929c54abb2990665d17a18ea9845d9e396ecae2f4f09aba1eef45c668d88c00c0632094bf65f9776c9c9982d53 SHA512 fd8495dddfacde343224124004b3154e7aa8ca58438ff2f612e6718e36418450569ea2333e6f11ae7c4d7da4974c9803fb6e33f5b0bd142d6e1f37dacaa5cf8f
EBUILD kitty-0.38.1.ebuild 5153 BLAKE2B 960b0bdaaa4bf59f3c42875d612c8229b025cd7a324ac0115f9998f14a4ee6d05051ea927ef16d87b02c0ce4e8b4f73156d77c033b783d3e09b1d6ed52ed9f9b SHA512 84474030024a4ba888da04fa1b09e874836af9079e916cd181fb69721ba9f0053f0590abf55a8dcd5e959b094374b51f28932b72a407aac239da119b91a6ef18
-EBUILD kitty-0.39.0.ebuild 5155 BLAKE2B 5c4f174a23ba9537edd82a13b28d36c2f0e2bbcae7ebdcec86f44151b304b7c6db334cdc2420e44d8ce7a2870e9f1c6a630d6462dff8a861f277187c88f3b8ec SHA512 19f99a7dbe97c306db670b4d37f2aa66525e68ec562cdfc54c9eb1f540ce8ab07bea42ccaec3fb0bf3d5d2f3d95aa9a0d1522746ad966c47969e2cd57069979c
EBUILD kitty-0.39.1.ebuild 5155 BLAKE2B 5c4f174a23ba9537edd82a13b28d36c2f0e2bbcae7ebdcec86f44151b304b7c6db334cdc2420e44d8ce7a2870e9f1c6a630d6462dff8a861f277187c88f3b8ec SHA512 19f99a7dbe97c306db670b4d37f2aa66525e68ec562cdfc54c9eb1f540ce8ab07bea42ccaec3fb0bf3d5d2f3d95aa9a0d1522746ad966c47969e2cd57069979c
EBUILD kitty-9999.ebuild 5413 BLAKE2B c5902482a9dc635a6f5426d8548f302dc926b2024ecb9c5e319c44c3768078ef7f6d0a5e40970d923fe140112d8d490b71e6f17e0eb2e64a2bc442523b62c481 SHA512 9a6f7a31968a16cef69671df0bd3c6432238eeb2f27e4c9c0227fbcc1533b1b16b7b25d2394f68aa3da5e156056e1dca22a32a75a7daea6975687d10ba9e9a6c
MISC metadata.xml 653 BLAKE2B fd4fd98a8cac30a2e941770c43af4cd475eea1609f35f454780eb4463e052ccb44a1c7f84fe3f1e29eef08041d57d5bc8a688a404d105e7d15691f41cf701f48 SHA512 4c3c390b41e81444a7a22eb78afa92b7a5a15ad8558e92d387da64364bbe0c2fa1088aa9ea7516814280eefc1e7221a7b963a54beeab0213dc2974fcbc2fd003
diff --git a/x11-terms/kitty/kitty-0.39.0.ebuild b/x11-terms/kitty/kitty-0.39.0.ebuild
deleted file mode 100644
index 5847cd29360a..000000000000
--- a/x11-terms/kitty/kitty-0.39.0.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit edo go-env optfeature multiprocessing
-inherit python-single-r1 toolchain-funcs xdg
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git"
-else
- inherit verify-sig
- SRC_URI="
- https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz
- https://dev.gentoo.org/~ionen/distfiles/${P}-vendor.tar.xz
- verify-sig? ( https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )
- "
- VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
- KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-fi
-
-DESCRIPTION="Fast, feature-rich, GPU-based terminal"
-HOMEPAGE="https://sw.kovidgoyal.net/kitty/"
-
-LICENSE="GPL-3 ZLIB"
-LICENSE+=" Apache-2.0 BSD BSD-2 MIT MPL-2.0" # go
-SLOT="0"
-IUSE="+X test wayland"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- || ( X wayland )
- test? ( X wayland )
-"
-RESTRICT="!test? ( test )"
-
-# dlopen: fontconfig,libglvnd
-RDEPEND="
- ${PYTHON_DEPS}
- dev-libs/openssl:=
- dev-libs/xxhash
- media-fonts/symbols-nerd-font
- media-libs/fontconfig
- media-libs/harfbuzz:=[truetype]
- media-libs/lcms:2
- media-libs/libglvnd[X?]
- media-libs/libpng:=
- sys-apps/dbus
- sys-libs/zlib:=
- x11-libs/libxkbcommon[X?]
- x11-misc/xkeyboard-config
- ~x11-terms/kitty-shell-integration-${PV}
- ~x11-terms/kitty-terminfo-${PV}
- X? (
- x11-libs/libX11
- x11-libs/libXcursor
- )
- wayland? ( dev-libs/wayland )
- !sci-mathematics/kissat
-"
-DEPEND="
- ${RDEPEND}
- amd64? ( >=dev-libs/simde-0.8.0-r1 )
- arm64? ( dev-libs/simde )
- x86? ( dev-libs/simde )
- X? (
- x11-base/xorg-proto
- x11-libs/libXi
- x11-libs/libXinerama
- x11-libs/libXrandr
- )
- wayland? ( dev-libs/wayland-protocols )
-"
-# bug #919751 wrt go subslot
-BDEPEND="
- ${PYTHON_DEPS}
- >=dev-lang/go-1.23:=
- sys-libs/ncurses
- virtual/pkgconfig
- test? ( $(python_gen_cond_dep 'dev-python/pillow[${PYTHON_USEDEP}]') )
- wayland? ( dev-util/wayland-scanner )
-"
-[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )"
-
-QA_FLAGS_IGNORED="usr/bin/kitten" # written in Go
-
-src_unpack() {
- if [[ ${PV} == 9999 ]]; then
- git-r3_src_unpack
- cd "${S}" || die
- edo go mod vendor
- else
- use verify-sig &&
- verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.sig}
- default
- fi
-}
-
-src_prepare() {
- default
-
- # sed unfortunately feels easier on maintenance than patches here
- local sedargs=(
- -e "/num_workers =/s/=.*/= $(makeopts_jobs)/"
- -e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//'
- -e "s/cflags.append(fortify_source)/pass/" # use toolchain's _f_s
- -e "s/ld_flags.append('-[sw]')/pass/"
- )
-
- # kitty is often popular on wayland-only setups, try to allow this
- use !X && sedargs+=( -e '/gl_libs =/s/=.*/= []/' ) #857918
- use !X || use !wayland &&
- sedargs+=( -e "s/'x11 wayland'/'$(usex X x11 wayland)'/" )
-
- # skip docs for live version, missing dependencies
- [[ ${PV} == 9999 ]] && sedargs+=( -e '/exists.*_build/,/docs(ddir)/d' )
-
- sed -i setup.py "${sedargs[@]}" || die
-
- local skiptests=(
- # relies on 'who' command which doesn't detect users with pid-sandbox
- kitty_tests/utmp.py
- # may fail/hang depending on environment and shell initialization
- kitty_tests/{shell_integration,ssh}.py
- # relies on /proc/self/fd and gets confused when ran from here
- tools/utils/tpmfile_test.go
- )
- use !test || rm "${skiptests[@]}" || die
-}
-
-src_compile() {
- tc-export CC
- local -x PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
-
- go-env_set_compile_environment
- local -x GOFLAGS="-p=$(makeopts_jobs) -v -x -buildvcs=false"
- use ppc64 && [[ $(tc-endian) == big ]] || GOFLAGS+=" -buildmode=pie"
-
- local conf=(
- --disable-link-time-optimization
- --ignore-compiler-warnings
- --libdir-name=$(get_libdir)
- --shell-integration="enabled no-rc no-sudo"
- --update-check-interval=0
- --verbose
- )
-
- edo "${EPYTHON}" setup.py linux-package "${conf[@]}"
- use test && edo "${EPYTHON}" setup.py build-launcher "${conf[@]}"
-
- rm -r linux-package/share/terminfo || die # provided by kitty-terminfo
-
- if [[ ${PV} == 9999 ]]; then
- mkdir -p linux-package/share/doc/${PF} || die
- else
- mv linux-package/share/doc/{${PN},${PF}} || die
- fi
-
- # generate default config as reference, command taken from docs/conf.rst
- if ! tc-is-cross-compiler; then
- linux-package/bin/kitty +runpy \
- 'from kitty.config import *; print(commented_out_default_config())' \
- > linux-package/share/doc/${PF}/kitty.conf || die
- fi
-}
-
-src_test() {
- KITTY_CONFIG_DIRECTORY=${T} ./test.py || die # shebang is kitty
-}
-
-src_install() {
- edo mv linux-package "${ED}"/usr
-
- # kitty currently detects and copies the system's nerd font at build
- # time, then uses that rather than the system's at runtime
- dosym -r /usr/share/fonts/symbols-nerd-font/SymbolsNerdFontMono-Regular.ttf \
- /usr/"$(get_libdir)"/kitty/fonts/SymbolsNerdFontMono-Regular.ttf
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- optfeature "audio-based terminal bell support" media-libs/libcanberra
- use X && optfeature "X11 startup notification support" x11-libs/startup-notification
- optfeature "opening links from the terminal" x11-misc/xdg-utils
-}