summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-10-17 16:22:32 +0200
committerMichael Palimaka <kensington@gentoo.org>2016-11-12 19:02:10 +1100
commit3a28f8b99cc79e05ce104765f2c0893250d370cf (patch)
tree17d989426a00b0c5248970d158be3d46144bfd84 /eclass/kde5.eclass
parentkde5.eclass: KDE Plasma 5.9 requires >=KF-5.27 (diff)
downloadgentoo-3a28f8b99cc79e05ce104765f2c0893250d370cf.tar.gz
gentoo-3a28f8b99cc79e05ce104765f2c0893250d370cf.tar.bz2
gentoo-3a28f8b99cc79e05ce104765f2c0893250d370cf.zip
kde5.eclass: KDE Applications 16.12 requires >=KF-5.27
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 491e4e3cf0bd..b5ea65a634bc 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -160,6 +160,14 @@ case ${KDE_AUTODEPS} in
fi
fi
+ if [[ ${CATEGORY} = kde-apps ]]; then
+ local vcr2=$((10#$(get_version_component_range 2)))
+ if ! [[ $(get_version_component_range 1) -le 16 && ${vcr2} -lt 9 ]]; then
+ FRAMEWORKS_MINIMAL=5.27.0
+ fi
+ unset vcr2
+ fi
+
DEPEND+=" $(add_frameworks_dep extra-cmake-modules)"
RDEPEND+=" >=kde-frameworks/kf-env-3"
COMMONDEPEND+=" $(add_qt_dep qtcore)"