summaryrefslogtreecommitdiff
path: root/eclass/kde5.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-10 23:40:16 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-10 23:40:16 +0100
commit51af5f0eb4cddbe6aa7953717873691d77aae9ff (patch)
tree1541525274162b033ebbc3ed38abaf335fbbd49a /eclass/kde5.eclass
parent7014a5a3ea0feffab9701fdd6b64cc7667a985af (diff)
gentoo resync : 11.07.2019
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 4f38f47d60be..f58d991bc584 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -262,7 +262,7 @@ case ${EAPI} in
6) DEPEND+=" ${BDEPEND}" ;;
esac
-DEPEND+=" ${COMMONDEPEND} dev-util/desktop-file-utils"
+DEPEND+=" ${COMMONDEPEND}"
RDEPEND+=" ${COMMONDEPEND}"
unset COMMONDEPEND
@@ -495,7 +495,10 @@ kde5_src_prepare() {
fi
# enable only the requested translations when required
- if [[ -v LINGUAS ]] ; then
+ # always install unconditionally for kconfigwidgets - if you use language
+ # X as system language, and there is a combobox with language names, the
+ # translated language name for language Y is taken from /usr/share/locale/Y/kf5_entry.desktop
+ if [[ -v LINGUAS && ${PN} != kconfigwidgets ]] ; then
local po
for po in ${KDE_PO_DIRS}; do
if [[ -d ${po} ]] ; then