commit:     e83b061e230a7ead6010ed90343ed02948350876
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 16 19:22:26 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec 16 19:24:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e83b061e

x11-wm/qtile: Fix respecting USE=wayland

Closes: https://bugs.gentoo.org/967615
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 x11-wm/qtile/qtile-0.34.1.ebuild | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/x11-wm/qtile/qtile-0.34.1.ebuild b/x11-wm/qtile/qtile-0.34.1.ebuild
index 1ff4b330badd..9f7c339451ab 100644
--- a/x11-wm/qtile/qtile-0.34.1.ebuild
+++ b/x11-wm/qtile/qtile-0.34.1.ebuild
@@ -67,19 +67,12 @@ distutils_enable_tests pytest
 python_prepare_all() {
        distutils-r1_python_prepare_all
 
-       # make extension builds fatal
-       sed -i -e 's:Exception:None:' builder.py || die
-
-       if ! use wayland; then
-               sed -e "s/ffi_compile(verbose=wayland_requested)/pass/" \
-                       -i builder.py || die
-       fi
-
        mkdir bin || die
 }
 
 src_compile() {
        local -x CFFI_TMPDIR=${T}
+       local DISTUTILS_CONFIG_SETTINGS_JSON="{\"backend\": \"$(usex wayland 
wayland x11)\"}"
        distutils-r1_src_compile
 }
 

Reply via email to