summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-07-11 02:25:36 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-07-11 02:32:52 -0400
commit8c185b15066be7828aa5eff43b3f4f7a476fecd0 (patch)
treed771022d77f0871dec32d21803f50bf5b9ee5ef7 /x11-terms
parentdev-ruby/i18n: add 1.11.0 (diff)
downloadgentoo-8c185b15066be7828aa5eff43b3f4f7a476fecd0.tar.gz
gentoo-8c185b15066be7828aa5eff43b3f4f7a476fecd0.tar.bz2
gentoo-8c185b15066be7828aa5eff43b3f4f7a476fecd0.zip
x11-terms/kitty: update live, drop IUSE=debug
Not great but replace -O3 patch by sed, less likely to break for -9999 and isn't a very important change (and checking with qa-sed on release). Was under the impression this old IUSE=debug did more but seems it is only for symbols and was no-op with the patch. Now that don't cleanup addition of e.g. -g3, the IUSE would get in the way of users setting their own debug flags. Live still need more updates for running tests, but will handle after it settles down and stops changing when add next release. Closes: https://bugs.gentoo.org/857477 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/kitty/kitty-9999.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild
index 531d4fb7df94..b915b34e33d7 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://sw.kovidgoyal.net/kitty/"
LICENSE="GPL-3"
SLOT="0"
-IUSE="+X debug test transfer wayland"
+IUSE="+X test transfer wayland"
REQUIRED_USE="
|| ( X wayland )
${PYTHON_REQUIRED_USE}"
@@ -64,15 +64,12 @@ BDEPEND="
wayland? ( dev-util/wayland-scanner )"
[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )"
-PATCHES=(
- "${FILESDIR}"/${PN}-0.23.1-flags.patch
-)
-
src_prepare() {
default
sed -e "s/'x11 wayland'/'$(usev X x11) $(usev wayland)'/" \
-e "/num_workers = /s/=.*/= $(makeopts_jobs)/" \
+ -e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//' \
-i setup.py || die
if use !transfer; then
@@ -102,7 +99,6 @@ src_compile() {
--shell-integration="enabled no-rc"
--update-check-interval=0
--verbose
- $(usev debug --debug)
)
echo "${setup[*]}"