commit:     5b994c174e855b38c8c6cef78278ea28b43c81c0
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  2 23:23:17 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jan  2 23:23:17 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5b994c17

kde5.eclass: Cleanup obsolete blocker

 eclass/kde5.eclass | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 84346f5a00..346838570a 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -204,21 +204,14 @@ case ${KDE_AUTODEPS} in
                        RDEPEND+=" || ( $(add_frameworks_dep breeze-icons) 
kde-frameworks/oxygen-icons:* )"
                fi
 
-               case ${CATEGORY} in
-                       kde-frameworks | \
-                       kde-plasma)
-                               RDEPEND+=" !<kde-apps/kde4-l10n-15.12.3-r1"
-                               ;;
-                       kde-apps)
-                               [[ ${KDE_BLOCK_SLOT4} = true ]] && RDEPEND+=" 
!kde-apps/${PN}:4"
-                               [[ $(get_version_component_range 1) -ge 17 ]] 
&& \
-                                       RDEPEND+="
-                                               !kde-apps/kde-l10n
-                                               !<kde-apps/kde4-l10n-16.12.0:4
-                                               !kde-apps/kdepim-l10n:5
-                                       "
-                               ;;
-               esac
+               if [[ ${CATEGORY} = kde-apps ]]; then
+                       [[ ${KDE_BLOCK_SLOT4} = true ]] && RDEPEND+=" 
!kde-apps/${PN}:4"
+                       RDEPEND+="
+                               !kde-apps/kde-l10n
+                               !<kde-apps/kde4-l10n-16.12.0:4
+                               !kde-apps/kdepim-l10n:5
+                       "
+               fi
                ;;
 esac
 

Reply via email to