summaryrefslogtreecommitdiff
path: root/eclass/ecm.eclass
diff options
context:
space:
mode:
authorRepository mirror & CI <repomirrorci@gentoo.org>2025-07-06 21:22:10 +0000
committerRepository mirror & CI <repomirrorci@gentoo.org>2025-07-06 21:22:10 +0000
commit686897738f050baac576ff58ba6ce6e3342bd445 (patch)
treea7c82586cc6c5a616a173b6c8f5e182f0f65757f /eclass/ecm.eclass
parent19831d4ad581e74c6b0d43cb7672c8c0722b6366 (diff)
parenta444f0200dbf731032eac1a3e58a271113ca919e (diff)
downloadkde-686897738f050baac576ff58ba6ce6e3342bd445.tar.gz
kde-686897738f050baac576ff58ba6ce6e3342bd445.tar.bz2
kde-686897738f050baac576ff58ba6ce6e3342bd445.zip
Merge updates from master
Diffstat (limited to 'eclass/ecm.eclass')
-rw-r--r--eclass/ecm.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index 97ff18f2b30..1cc71bcbef6 100644
--- a/eclass/ecm.eclass
+++ b/eclass/ecm.eclass
@@ -563,11 +563,14 @@ ecm_src_prepare() {
# limit playing field of locale stripping to kde-*/ categories
if [[ ${CATEGORY} = kde-* ]] ; then
- # always install unconditionally for kconfigwidgets - if you use
+ # TODO: cleanup after KF5 removal and pre-KF-6.16 cleanup:
+ # always install unconditionally for <kconfigwidgets-6.16 - 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/kf${_KFSLOT}_entry.desktop
- [[ ${PN} != kconfigwidgets ]] && _ecm_strip_handbook_translations
+ if ! { [[ ${PN} == kconfigwidgets ]] && ver_test -lt 6.16; } ; then
+ _ecm_strip_handbook_translations
+ fi
fi
# only build unit tests when required