From 62557eeffdeb748ba563e73963ce403ae46b3201 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Thu, 31 Dec 2020 15:34:01 +0100 Subject: mozlinguas-v2.eclass: Adjust for new object dir in seamonkey-2.53.6 Signed-off-by: Lars Wendler --- eclass/mozlinguas-v2.eclass | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'eclass/mozlinguas-v2.eclass') diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass index 73576e967fa6..7795a856728b 100644 --- a/eclass/mozlinguas-v2.eclass +++ b/eclass/mozlinguas-v2.eclass @@ -20,7 +20,9 @@ case "${EAPI:-0}" in 0|1) die "EAPI ${EAPI:-0} does not support the '->' SRC_URI operator";; 2|3|4|5|6) + inherit eapi7-ver EXPORT_FUNCTIONS src_unpack src_compile src_install;; + *) die "EAPI ${EAPI} is not supported, contact eclass maintainers";; esac @@ -288,6 +290,9 @@ mozlinguas_src_compile() { localedir+="/browser/locales" ;; seamonkey) + if [[ "$(ver_cut 2)" -gt 53 ]] || { [[ "$(ver_cut 2)" -eq 53 ]] && [[ "$(ver_cut 3)" -ge 6 ]] ; } ; then + localedir+="/comm" + fi localedir+="/suite/locales" ;; *thunderbird) -- cgit v1.2.3-65-gdbad