commit:     70cb2877a4c0a05490c6aced93d5f74e92e1eb7c
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: Wed Oct  5 18:42:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70cb2877

kde5.eclass: KDE Plasma 5.8 requires >=KF-5.26

 eclass/kde5.eclass | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index c032ab8..5a586ff 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

Reply via email to