commit:     669248c86189e9ace3a735a13970ee7bd57a1d5e
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  4 01:46:44 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Jul  4 01:53:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669248c8

dev-qt/qt-creator: unconditionally depend on yaml-cpp

Missed that a plugin (qtapplicationmanager) added a dependency on
yaml-cpp while comparing comparing qt-creator-12 -> 13 and is no
longer clang-only.

Feel it's not worth a USE for the plugin on such a big package
(not for minimalism), so depending unconditionally unless someone
really wants to avoid it (at best it could be interesting to avoid
:= rebuilds).

Technically needs a revbump, but qt-creator takes a while to build
and most users already were pulling it through IUSE=+clang.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qt-creator/qt-creator-13.0.2.ebuild | 6 ++----
 dev-qt/qt-creator/qt-creator-9999.ebuild   | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/dev-qt/qt-creator/qt-creator-13.0.2.ebuild 
b/dev-qt/qt-creator/qt-creator-13.0.2.ebuild
index 25ae3358d8dc..972b24abebe5 100644
--- a/dev-qt/qt-creator/qt-creator-13.0.2.ebuild
+++ b/dev-qt/qt-creator/qt-creator-13.0.2.ebuild
@@ -44,13 +44,11 @@ QT_PV=6.2.0:6 # IDE_QT_VERSION_MIN
 
 # := is used where Qt's private APIs are used for safety
 COMMON_DEPEND="
+       dev-cpp/yaml-cpp:=
        >=dev-qt/qt5compat-${QT_PV}
        >=dev-qt/qtbase-${QT_PV}=[concurrent,dbus,gui,network,widgets,xml]
        >=dev-qt/qtdeclarative-${QT_PV}=
-       clang? (
-               dev-cpp/yaml-cpp:=
-               $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}=')
-       )
+       clang? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}=') )
        designer? ( >=dev-qt/qttools-${QT_PV}[designer] )
        help? (
                >=dev-qt/qttools-${QT_PV}[assistant]

diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild 
b/dev-qt/qt-creator/qt-creator-9999.ebuild
index 7e70e0a5b37d..69822c51bc74 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -49,13 +49,11 @@ QT_PV=6.2.0:6 # IDE_QT_VERSION_MIN
 
 # := is used where Qt's private APIs are used for safety
 COMMON_DEPEND="
+       dev-cpp/yaml-cpp:=
        >=dev-qt/qt5compat-${QT_PV}
        >=dev-qt/qtbase-${QT_PV}=[concurrent,dbus,gui,network,widgets,xml]
        >=dev-qt/qtdeclarative-${QT_PV}=
-       clang? (
-               dev-cpp/yaml-cpp:=
-               $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}=')
-       )
+       clang? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}=') )
        designer? ( >=dev-qt/qttools-${QT_PV}[designer] )
        help? (
                >=dev-qt/qttools-${QT_PV}[assistant]

Reply via email to