summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-16 17:55:49 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-16 18:13:21 +0200
commitd15fed7177044717ef148dd54221412d5189442d (patch)
treeb12deaa9dd77d3243c7df8dcc44ea16973d28317 /eclass
parentmedia-sound/ncspot: add 1.2.0 (diff)
downloadgentoo-d15fed7177044717ef148dd54221412d5189442d.tar.gz
gentoo-d15fed7177044717ef148dd54221412d5189442d.tar.bz2
gentoo-d15fed7177044717ef148dd54221412d5189442d.zip
ecm-common.eclass: Add missing dev-qt/qt{core,base}:[56] BDEPEND
Closes: https://bugs.gentoo.org/941617 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ecm-common.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/ecm-common.eclass b/eclass/ecm-common.eclass
index ba6840d75a6d..7f5d3d1e9915 100644
--- a/eclass/ecm-common.eclass
+++ b/eclass/ecm-common.eclass
@@ -165,8 +165,16 @@ if [[ ${ECM_KCM_TARGETS} ]]; then
KF6_BDEPEND+=( "kde-frameworks/kcmutils:6" )
fi
+KF6_BDEPEND+=( "dev-qt/qtbase:6" )
+
if $(ver_test ${KFMIN} -lt 5.240) && [[ ${KF6_BDEPEND} && ${KF5_BDEPEND} ]]; then
- BDEPEND+=" || ( ( ${KF6_BDEPEND[*]} ) ( ${KF5_BDEPEND[*]} ) )"
+ BDEPEND+=" || (
+ ( ${KF6_BDEPEND[*]} )
+ (
+ ${KF5_BDEPEND[*]}
+ dev-qt/qtcore:5
+ )
+ )"
else
BDEPEND+=" ${KF6_BDEPEND[*]}"
fi