commit:     cad5e55fa91a4d0653fca764019ac9839a735ca4
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat Sep 10 14:59:23 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 08:02:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad5e55f

kde5.eclass: KDE Plasma 5.9 requires >=KF-5.27

Don't interfere with live ebuild KF5 dep though.

 eclass/kde5.eclass | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 0041e45..491e4e3 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)"

Reply via email to