gui-apps/quickshell: add 'crash-handler' use

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf
2026-04-24 01:06:08 -03:00
parent e0127d8c1e
commit 064438ed02
2 changed files with 4 additions and 2 deletions

View File

@@ -28,6 +28,7 @@
<flag name="i3">Enable <pkg>x11-wm/i3</pkg> and <pkg>gui-wm/sway</pkg> specific features</flag>
<flag name="greetd">Enable <pkg>gui-libs/greetd</pkg> integration</flag>
<flag name="notifications">Enable notifications service integration</flag>
<flag name="crash-handler">Enable crash handling using <pkg>dev-cpp/cpptrace</pkg></flag>
</use>
<upstream>
<doc>https://quickshell.org/about/</doc>

View File

@@ -25,7 +25,7 @@ IUSE="
+hyprland +screencopy
+X +i3
+tray +pipewire +mpris +pam +policykit +greetd +upower +notifications
+bluetooth +networkmanager
+bluetooth +networkmanager +crash-handler
"
REQUIRED_USE="
layer-shell? ( wayland )
@@ -69,6 +69,7 @@ BDEPEND="
dev-util/wayland-scanner
dev-libs/wayland-protocols
)
crash-handler? ( dev-cpp/cpptrace[unwind] )
"
DOCS=( README.md changelog/ )
@@ -90,7 +91,7 @@ src_configure() {
-DDISTRIBUTOR="${BRANDING_OS_NAME} GURU"
-DINSTALL_QML_PREFIX="$(get_libdir)/qt6/qml"
-DGIT_REVISION=${EGIT_COMMIT}
-DCRASH_HANDLER=no # dev-cpp/cpptrace::gentoo does not have required use flags
-DCRASH_HANDLER=$(usex crash-handler)
-DUSE_JEMALLOC=$(usex jemalloc)
-DSOCKETS=$(usex sockets)
-DWAYLAND=$(usex wayland)