Diff kitty-0.41.1-r1 with a kitty-9999

/usr/portage/x11-terms/kitty/kitty-9999.ebuild 2025-07-29 16:22:17.976470405 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{10..13} )
7
inherit edo flag-o-matic go-env optfeature multiprocessing
8
inherit python-single-r1 toolchain-funcs xdg
6
PYTHON_COMPAT=( python3_{11..13} )
7
inherit edo go-env optfeature multiprocessing python-single-r1
8
inherit shell-completion toolchain-funcs xdg
9 9

  
10 10
if [[ ${PV} == 9999 ]]; then
11 11
	inherit git-r3
......
18 18
		verify-sig? ( https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )
19 19
	"
20 20
	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
21
	KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
21
	KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
22 22
fi
23 23

  
24 24
DESCRIPTION="Fast, feature-rich, GPU-based terminal"
......
136 136
	tc-export CC
137 137
	local -x PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
138 138

  
139
	# may cause startup performance issues (bug #954894), kitty upstream did
140
	# a workaround in the next version but ideally no one should use these
141
	filter-flags -fgraphite-identity -floop-block -floop-parallelize-all
142

  
143 139
	go-env_set_compile_environment
144 140
	local -x GOFLAGS="-p=$(makeopts_jobs) -v -x -buildvcs=false"
145 141
	use ppc64 && [[ $(tc-endian) == big ]] || GOFLAGS+=" -buildmode=pie"
......
148 144
		--disable-link-time-optimization
149 145
		--ignore-compiler-warnings
150 146
		--libdir-name=$(get_libdir)
151
		--shell-integration="enabled no-rc no-sudo"
147
		--shell-integration="enabled no-sudo"
152 148
		--update-check-interval=0
153 149
		--verbose
154 150
	)
......
164 160
		mv linux-package/share/doc/{${PN},${PF}} || die
165 161
	fi
166 162

  
167
	# generate default config as reference, command taken from docs/conf.rst
168 163
	if ! tc-is-cross-compiler; then
164
		# generate default config reference, command taken from docs/conf.rst
169 165
		linux-package/bin/kitty +runpy \
170 166
			'from kitty.config import *; print(commented_out_default_config())' \
171 167
			> linux-package/share/doc/${PF}/kitty.conf || die
168

  
169
		# generate shell completions, shell-integration/ has some "old" pre-gen
170
		# ones that currently miss things (no bash, no kitten for zsh, etc...)
171
		linux-package/bin/kitten __complete__ setup bash > "${T}"/kitty || die
172
		linux-package/bin/kitten __complete__ setup fish > "${T}"/kitty.fish || die
173
		linux-package/bin/kitten __complete__ setup zsh > "${T}"/_kitty || die
172 174
	fi
173 175
}
174 176

  
......
183 185
	# time, then uses that rather than the system's at runtime
184 186
	dosym -r /usr/share/fonts/symbols-nerd-font/SymbolsNerdFontMono-Regular.ttf \
185 187
		/usr/"$(get_libdir)"/kitty/fonts/SymbolsNerdFontMono-Regular.ttf
188

  
189
	if ! tc-is-cross-compiler; then
190
		dobashcomp "${T}"/kitty
191
		bashcomp_alias kitty edit-in-kitty clone-in-kitty kitten
192
		dofishcomp "${T}"/kitty.fish
193
		dozshcomp "${T}"/_kitty
194
	fi
186 195
}
187 196

  
188 197
pkg_postinst() {
Thank you!