diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2025-07-05 22:03:37 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-07-05 22:29:53 +0200 |
| commit | f518ee283a5d781f92865cbe550e61e4200f0168 (patch) | |
| tree | 14253215a15e600c029c288180cf8ea6e2733819 /eclass | |
| parent | 0d2302c1c608c2ac8bb0e1b7a57dac87731b88fb (diff) | |
| download | kde-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.eclass | 7 |
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 |
