summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-09-10 16:59:23 +0200
committerMichael Palimaka <kensington@gentoo.org>2016-10-06 05:42:32 +1100
commit70cb2877a4c0a05490c6aced93d5f74e92e1eb7c (patch)
treed935be3decf67056ab7e94cb4d462ce462bd140a /eclass/kde5.eclass
parentkde5.eclass: Update comment (diff)
downloadgentoo-70cb2877a4c0a05490c6aced93d5f74e92e1eb7c.tar.gz
gentoo-70cb2877a4c0a05490c6aced93d5f74e92e1eb7c.tar.bz2
gentoo-70cb2877a4c0a05490c6aced93d5f74e92e1eb7c.zip
kde5.eclass: KDE Plasma 5.8 requires >=KF-5.26
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index c032ab86e2d4..5a586ffc0790 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -151,15 +151,18 @@ case ${KDE_AUTODEPS} in
esac
fi
+ if [[ ${CATEGORY} = kde-plasma ]]; then
+ if ! [[ $(get_version_component_range 2) -le 7 && $(get_version_component_range 3) -lt 50 ]]; then
+ FRAMEWORKS_MINIMAL=5.26.0
+ fi
+ fi
+
DEPEND+=" $(add_frameworks_dep extra-cmake-modules)"
RDEPEND+=" >=kde-frameworks/kf-env-3"
COMMONDEPEND+=" $(add_qt_dep qtcore)"
if [[ ${CATEGORY} = kde-frameworks || ${CATEGORY} = kde-plasma && ${PN} != polkit-kde-agent ]]; then
- RDEPEND+="
- !kde-apps/kde4-l10n[-minimal(+)]
- !<kde-apps/kde4-l10n-15.12.3-r1
- "
+ RDEPEND+=" !<kde-apps/kde4-l10n-15.12.3-r1"
fi
if [[ ${KDE_BLOCK_SLOT4} = true && ${CATEGORY} = kde-apps ]]; then