summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-07-05 22:03:37 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2025-07-05 22:29:53 +0200
commitf518ee283a5d781f92865cbe550e61e4200f0168 (patch)
tree14253215a15e600c029c288180cf8ea6e2733819 /eclass
parent0d2302c1c608c2ac8bb0e1b7a57dac87731b88fb (diff)
downloadkde-f518ee283a5d781f92865cbe550e61e4200f0168.tar.gz
kde-f518ee283a5d781f92865cbe550e61e4200f0168.tar.bz2
kde-f518ee283a5d781f92865cbe550e61e4200f0168.zip
ecm.eclass: Restrict _ecm_strip_handbook_translations quirk to <6.16
Upstream commit 94e3edb259a4cc74545facd49e78867f6ec809fd Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to '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