summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-07-14 02:10:31 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-07-14 02:34:59 -0400
commit6413e0964cf0b75e3acc63bf60e7f323c25994e9 (patch)
treee83df676953baae45373afaf6b0c13316b50af5b /x11-terms
parentdev-java/wsdl4j: drop 1.6.2-r1 (diff)
downloadgentoo-6413e0964cf0b75e3acc63bf60e7f323c25994e9.tar.gz
gentoo-6413e0964cf0b75e3acc63bf60e7f323c25994e9.tar.bz2
gentoo-6413e0964cf0b75e3acc63bf60e7f323c25994e9.zip
x11-terms/kitty: don't check for unused GL with USE=-X
Thought had tested this, but apparently I didn't. glfw uses libEGL.so with wayland, so there's no sense in checking for libGL with -X. Unfortunately X11 (or anything) being optional at build time is our invention, so needs more sed. Closes: https://bugs.gentoo.org/857918 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/kitty/kitty-0.25.2.ebuild1
-rw-r--r--x11-terms/kitty/kitty-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/x11-terms/kitty/kitty-0.25.2.ebuild b/x11-terms/kitty/kitty-0.25.2.ebuild
index b8455230a169..2c71e5584d72 100644
--- a/x11-terms/kitty/kitty-0.25.2.ebuild
+++ b/x11-terms/kitty/kitty-0.25.2.ebuild
@@ -72,6 +72,7 @@ src_prepare() {
default
sed -e "s/'x11 wayland'/'$(usev X x11) $(usev wayland)'/" \
+ -e "$(usev !X '/gl_libs =/s/=.*/= []/')" \
-e "/num_workers = /s/=.*/= $(makeopts_jobs)/" \
-i setup.py || die
diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild
index b915b34e33d7..92a0509aac27 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -68,6 +68,7 @@ src_prepare() {
default
sed -e "s/'x11 wayland'/'$(usev X x11) $(usev wayland)'/" \
+ -e "$(usev !X '/gl_libs =/s/=.*/= []/')" \
-e "/num_workers = /s/=.*/= $(makeopts_jobs)/" \
-e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//' \
-i setup.py || die