From 37b1ba75a824eb502b25921eef34d8daeb66a837 Mon Sep 17 00:00:00 2001 From: nado Date: Mon, 18 May 2026 23:11:15 +0200 Subject: [PATCH] gui-apps/quickshell: fix missing USE constraint i3? ( X ) Quickshell.I3 qml module wasnt installed without enabling x11 dependency, the cmake file itself doesn't enforce that dependency but will silently skip i3 module without x11. Signed-off-by: nado Part-of: https://github.com/gentoo/guru/pull/476 Closes: https://github.com/gentoo/guru/pull/476 Signed-off-by: Ceres --- gui-apps/quickshell/quickshell-0.3.0.ebuild | 3 ++- gui-apps/quickshell/quickshell-9999.ebuild | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gui-apps/quickshell/quickshell-0.3.0.ebuild b/gui-apps/quickshell/quickshell-0.3.0.ebuild index 7139e862e2..50e96c4642 100644 --- a/gui-apps/quickshell/quickshell-0.3.0.ebuild +++ b/gui-apps/quickshell/quickshell-0.3.0.ebuild @@ -36,10 +36,11 @@ REQUIRED_USE=" toplevel-management? ( wayland ) hyprland? ( wayland ) screencopy? ( wayland ) + i3? ( X ) " RDEPEND=" - dev-qt/qtbase:6=[dbus,vulkan] + dev-qt/qtbase:6=[dbus,vulkan,X?] dev-qt/qtsvg:6= dev-qt/qtdeclarative:6= x11-libs/libdrm diff --git a/gui-apps/quickshell/quickshell-9999.ebuild b/gui-apps/quickshell/quickshell-9999.ebuild index 3b7ca257f7..d36fc36f4a 100644 --- a/gui-apps/quickshell/quickshell-9999.ebuild +++ b/gui-apps/quickshell/quickshell-9999.ebuild @@ -33,10 +33,11 @@ REQUIRED_USE=" toplevel-management? ( wayland ) hyprland? ( wayland ) screencopy? ( wayland ) + i3? ( X ) " RDEPEND=" - dev-qt/qtbase:6=[dbus,vulkan] + dev-qt/qtbase:6=[dbus,vulkan,X?] dev-qt/qtsvg:6= dev-qt/qtdeclarative:6= jemalloc? ( dev-libs/jemalloc ) @@ -107,7 +108,7 @@ src_configure() { -DSCREENCOPY_ICC=${_screencopy} -DSCREENCOPY_WLR=${_screencopy} -DSCREENCOPY_HYPRLAND_TOPLEVEL=${_screencopy} - -DX11=$(usex X ) + -DX11=$(usex X) -DI3=${_i3} -DI3_IPC=${_i3} -DSERVICE_STATUS_NOTIFIER=$(usex tray)