commit:     b4285e5d5b29ece02ba2780cb8efa899a137c108
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sat Sep 28 18:06:38 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Oct  1 18:27:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4285e5d

media-sound/qpwgraph: drop 'trayicon' useflag

Enable it unconditionally, can be disabled in the app's menu

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Closes: https://github.com/gentoo/gentoo/pull/38691
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/qpwgraph/metadata.xml          | 3 ---
 media-sound/qpwgraph/qpwgraph-0.7.8.ebuild | 4 ++--
 media-sound/qpwgraph/qpwgraph-9999.ebuild  | 4 ++--
 3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/media-sound/qpwgraph/metadata.xml 
b/media-sound/qpwgraph/metadata.xml
index d07baf2f954e..6f30248e5496 100644
--- a/media-sound/qpwgraph/metadata.xml
+++ b/media-sound/qpwgraph/metadata.xml
@@ -13,7 +13,4 @@
                <remote-id type="freedesktop-gitlab">rncbc/qpwgraph</remote-id>
                
<bugs-to>https://gitlab.freedesktop.org/rncbc/qpwgraph/-/issues</bugs-to>
        </upstream>
-       <use>
-               <flag name="trayicon">Build support for tray icon</flag>
-       </use>
 </pkgmetadata>

diff --git a/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild 
b/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild
index f673a08cd124..f559461abba8 100644
--- a/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild
+++ b/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild
@@ -20,7 +20,7 @@ fi
 LICENSE="GPL-2"
 SLOT="0"
 
-IUSE="alsa trayicon"
+IUSE="alsa"
 
 BDEPEND="
        dev-qt/qttools:6[linguist]
@@ -36,7 +36,7 @@ RDEPEND="${DEPEND}"
 src_configure() {
        local mycmakeargs=(
                -DCONFIG_ALSA_MIDI=$(usex alsa)
-               -DCONFIG_SYSTEM_TRAY=$(usex trayicon)
+               -DCONFIG_SYSTEM_TRAY=1
                -DCONFIG_WAYLAND=1
                -DCONFIG_QT6=1
        )

diff --git a/media-sound/qpwgraph/qpwgraph-9999.ebuild 
b/media-sound/qpwgraph/qpwgraph-9999.ebuild
index f673a08cd124..f559461abba8 100644
--- a/media-sound/qpwgraph/qpwgraph-9999.ebuild
+++ b/media-sound/qpwgraph/qpwgraph-9999.ebuild
@@ -20,7 +20,7 @@ fi
 LICENSE="GPL-2"
 SLOT="0"
 
-IUSE="alsa trayicon"
+IUSE="alsa"
 
 BDEPEND="
        dev-qt/qttools:6[linguist]
@@ -36,7 +36,7 @@ RDEPEND="${DEPEND}"
 src_configure() {
        local mycmakeargs=(
                -DCONFIG_ALSA_MIDI=$(usex alsa)
-               -DCONFIG_SYSTEM_TRAY=$(usex trayicon)
+               -DCONFIG_SYSTEM_TRAY=1
                -DCONFIG_WAYLAND=1
                -DCONFIG_QT6=1
        )

Reply via email to