office: initial arch handling

There's no LibreOffice-still on e2k (no 6.x for now,
just a single production 5.x build); and there's no
office (neither LO nor abiword/gnumeric) at all on
riscv64 as of today.  These nuances shouldn't bother
release managers each time but should lurk under
this feature's cover.
This commit is contained in:
Michael Shigorin 2020-08-21 19:50:08 +03:00
parent 85218f9ce8
commit 7574335d81

View File

@ -1,15 +1,19 @@
use/office:
@$(call add_feature)
ifneq (,$(filter-out riscv64,$(ARCH)))
@$(call try,THE_OFFICE,abiword gnumeric)
@$(call add,THE_PACKAGES,$$(THE_OFFICE))
endif
# support both LibreOffice and LibreOffice-still
use/office/LibreOffice: use/office
@$(call set,THE_OFFICE,LibreOffice$$(LO_FLAVOUR))
# the complete lack of dependencies is intentional
use/office/LibreOffice/still:
use/office/LibreOffice/still: ; @:
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call set,LO_FLAVOUR,-still)
endif
use/office/LibreOffice/lang: use/office/LibreOffice
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-kk)