commit:     987c28c376c19494d25bce27ed4419fd0d5d2f42
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 20:01:06 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 20:01:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987c28c3

profiles/targets/desktop: forward-port dev-util/cmake USE=qt5 setting for 
USE=gui

Most people aren't going to use CMake's GUI. USE=gui is enabled by default
on desktop profiles and CMake is unavoidable, it feels a shame to drag in
Qt 6 just for something people are unlikely to want. Plus, it avoids a
circular dependency out of the box.

We already did this for qt5, so do it for USE=gui now too.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/targets/desktop/package.use | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/profiles/targets/desktop/package.use 
b/profiles/targets/desktop/package.use
index 891e53c08c97..4c5c2c567b03 100644
--- a/profiles/targets/desktop/package.use
+++ b/profiles/targets/desktop/package.use
@@ -1,6 +1,13 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2023-09-22)
+# Most people aren't going to use CMake's GUI. USE=gui is enabled by default
+# on desktop profiles and CMake is unavoidable, it feels a shame to drag in
+# Qt 6 just for something people are unlikely to want. Plus, it avoids a
+# circular dependency out of the box.
+dev-util/cmake -gui -qt5
+
 # Andreas Sturmlechner <[email protected]> (2023-07-29)
 # Required by dev-python/PyQt5[multimedia]
 dev-qt/qtmultimedia:5 widgets
@@ -47,10 +54,6 @@ app-arch/unzip natspec
 # Required by kde-frameworks/kwayland
 dev-qt/qtgui:5 egl libinput
 
-# Andreas Sturmlechner <[email protected]> (2017-11-30)
-# Avoid circular dependency when installing from scratch
-dev-util/cmake -qt5
-
 # Andreas Sturmlechner <[email protected]> (2017-08-04)
 # Required by flac and mp3
 kde-apps/k3b taglib

Reply via email to