summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-03 00:23:17 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-13 18:16:55 +0100
commita5dba5033ba2299d694bcb99e330fe912fd581af (patch)
treeb04dec4d235923d3d729bbee71b517b7d260023c /eclass/kde5.eclass
parentkde5.eclass: Add KDE_PO_DIRS (diff)
downloadgentoo-a5dba5033ba2299d694bcb99e330fe912fd581af.tar.gz
gentoo-a5dba5033ba2299d694bcb99e330fe912fd581af.tar.bz2
gentoo-a5dba5033ba2299d694bcb99e330fe912fd581af.zip
kde5.eclass: Cleanup obsolete blocker
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass23
1 files changed, 8 insertions, 15 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 84346f5a00bb..346838570a46 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