diff options
author | Michael Palimaka <kensington@gentoo.org> | 2019-04-28 22:50:13 +1000 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-07-04 21:39:30 +0200 |
commit | 29a365a10f3c046fbff9ec8b25bf829ffe425dc1 (patch) | |
tree | 3a68a7bced5fb0920522ab2e896c1ce846a1e764 /eclass | |
parent | kde5.eclass: remove dev-util/desktop-file-utils dependency (diff) | |
download | gentoo-29a365a10f3c046fbff9ec8b25bf829ffe425dc1.tar.gz gentoo-29a365a10f3c046fbff9ec8b25bf829ffe425dc1.tar.bz2 gentoo-29a365a10f3c046fbff9ec8b25bf829ffe425dc1.zip |
kde5.eclass: install linguas-related files unconditionally for kconfigwidgets
See https://api.kde.org/frameworks/kconfigwidgets/html/klanguagename_8cpp_source.html#l00040
for source reference.
Reported-by: Andrius Štikonas <andrius@stikonas.eu>
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde5.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 6b2712efc36d..f58d991bc584 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -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 |