summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-06-13 19:32:27 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-06-13 22:42:12 +0200
commit500eb409f00c5714f78325d171e60789603156e7 (patch)
treedd16fd9d1deac18b8694210446b9901a5ca43d4d /eclass
parentkde-frameworks/kf-env: add 6 (diff)
downloadgentoo-500eb409f00c5714f78325d171e60789603156e7.tar.gz
gentoo-500eb409f00c5714f78325d171e60789603156e7.tar.bz2
gentoo-500eb409f00c5714f78325d171e60789603156e7.zip
ecm.eclass: For _KFSLOT=6, RDEPEND on >=kde-frameworks/kf-env-6
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ecm.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index d36b11ebd5e8..518f913815be 100644
--- a/eclass/ecm.eclass
+++ b/eclass/ecm.eclass
@@ -277,14 +277,15 @@ BDEPEND+="
dev-libs/libpcre2:*
>=kde-frameworks/extra-cmake-modules-${KFMIN}:*
"
-RDEPEND+=" >=kde-frameworks/kf-env-4"
if [[ ${ECM_TEST} != false ]]; then
IUSE+=" test"
RESTRICT+=" !test? ( test )"
fi
if [[ ${_KFSLOT} == 6 ]]; then
+ RDEPEND+=" >=kde-frameworks/kf-env-6"
COMMONDEPEND+=" dev-qt/qtbase:${_KFSLOT}"
else
+ RDEPEND+=" >=kde-frameworks/kf-env-4"
COMMONDEPEND+=" dev-qt/qtcore:${_KFSLOT}"
if [[ ${ECM_TEST} != false ]]; then
DEPEND+=" test? ( dev-qt/qttest:5 )"