commit:     2f8d12a36e611726373608c61c7d8422cdcb2862
Author:     dsaf <ghostyn678+git <AT> gmail <DOT> com>
AuthorDate: Mon Mar  2 01:50:10 2026 +0000
Commit:     dsaf <ghostyn678+git <AT> gmail <DOT> com>
CommitDate: Mon Mar  2 02:13:51 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f8d12a3

gui-apps/quickshell: filter problematic flags

* Remove unnecessary deps
* Split the super duper long use flag line

Signed-off-by: dsaf <ghostyn678+git <AT> gmail.com>

 gui-apps/quickshell/quickshell-0.2.1.ebuild |  8 +++++++-
 gui-apps/quickshell/quickshell-9999.ebuild  | 22 ++++++++++++++--------
 2 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/gui-apps/quickshell/quickshell-0.2.1.ebuild 
b/gui-apps/quickshell/quickshell-0.2.1.ebuild
index 4c213baa68..edf01ed394 100644
--- a/gui-apps/quickshell/quickshell-0.2.1.ebuild
+++ b/gui-apps/quickshell/quickshell-0.2.1.ebuild
@@ -19,7 +19,13 @@ fi
 LICENSE="LGPL-3"
 SLOT="0"
 # Upstream recommends leaving all build options enabled by default
-IUSE="+breakpad +jemalloc +sockets +wayland +layer-shell +session-lock 
+toplevel-management +screencopy +X +pipewire +tray +mpris +pam +polkit 
+hyprland +hyprland-global-shortcuts +hyprland-focus-grab +i3 +i3-ipc 
+bluetooth"
+IUSE="
+       +breakpad +jemalloc +sockets +wayland +layer-shell
+       +session-lock +toplevel-management +screencopy +X
+       +pipewire +tray +mpris +pam +polkit +hyprland
+       +hyprland-global-shortcuts +hyprland-focus-grab
+       +i3 +i3-ipc +bluetooth
+"
 REQUIRED_USE="screencopy? ( toplevel-management )"
 
 RDEPEND="

diff --git a/gui-apps/quickshell/quickshell-9999.ebuild 
b/gui-apps/quickshell/quickshell-9999.ebuild
index 47e64916ed..f0d0047d92 100644
--- a/gui-apps/quickshell/quickshell-9999.ebuild
+++ b/gui-apps/quickshell/quickshell-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="Toolkit for building desktop widgets using QtQuick"
 HOMEPAGE="https://quickshell.org/";
@@ -19,7 +19,13 @@ fi
 LICENSE="LGPL-3"
 SLOT="0"
 # Upstream recommends leaving all build options enabled by default
-IUSE="+breakpad +jemalloc +sockets +wayland +layer-shell +session-lock 
+toplevel-management +screencopy +X +pipewire +tray +mpris +pam +polkit 
+hyprland +hyprland-global-shortcuts +hyprland-focus-grab +i3 +i3-ipc 
+bluetooth"
+IUSE="
+       +breakpad +jemalloc +sockets +wayland +layer-shell
+       +session-lock +toplevel-management +screencopy +X
+       +pipewire +tray +mpris +pam +polkit +hyprland
+       +hyprland-global-shortcuts +hyprland-focus-grab
+       +i3 +i3-ipc +bluetooth
+"
 REQUIRED_USE="screencopy? ( toplevel-management )"
 
 RDEPEND="
@@ -46,12 +52,8 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
-       || ( >=sys-devel/gcc-14:* >=llvm-core/clang-17:* )
-       dev-build/cmake
-       dev-build/ninja
        virtual/pkgconfig
        dev-cpp/cli11
-       dev-util/spirv-tools
        dev-qt/qtshadertools:6
        breakpad? ( dev-util/breakpad )
        wayland? (
@@ -60,7 +62,11 @@ BDEPEND="
        )
 "
 
-src_configure(){
+src_configure() {
+       # -Werror=strict-aliasing
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        mycmakeargs=(
                        -DCMAKE_BUILD_TYPE=RelWithDebInfo
                        -DDISTRIBUTOR="Gentoo GURU"

Reply via email to