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-11-12 19:02:10 +1100
commitcad5e55fa91a4d0653fca764019ac9839a735ca4 (patch)
treef98d5cb354245abb7c73c06cc89c63cbf4d93a40 /eclass/kde5.eclass
parentkde5.eclass: drop obsolete FRAMEWORKS_MINIMAL conditional (diff)
downloadgentoo-cad5e55fa91a4d0653fca764019ac9839a735ca4.tar.gz
gentoo-cad5e55fa91a4d0653fca764019ac9839a735ca4.tar.bz2
gentoo-cad5e55fa91a4d0653fca764019ac9839a735ca4.zip
kde5.eclass: KDE Plasma 5.9 requires >=KF-5.27
Don't interfere with live ebuild KF5 dep though.
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 0041e450c608..491e4e3cf0bd 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -154,6 +154,12 @@ case ${KDE_AUTODEPS} in
esac
fi
+ if [[ ${CATEGORY} = kde-plasma && ${FRAMEWORKS_MINIMAL} != 9999 ]]; then
+ if ! [[ $(get_version_component_range 2) -le 8 && $(get_version_component_range 3) -lt 50 ]]; then
+ FRAMEWORKS_MINIMAL=5.27.0
+ fi
+ fi
+
DEPEND+=" $(add_frameworks_dep extra-cmake-modules)"
RDEPEND+=" >=kde-frameworks/kf-env-3"
COMMONDEPEND+=" $(add_qt_dep qtcore)"