office: "support" riscv64 here

There are literally no office packages on riscv64 so far,
let's ease the need to count that in within pkglists like
it was done in slinux/misc-base since this approach makes
for unreadable conditional chunks if we look at LO-still
being absent on e2k; a common place should be in place.
This commit is contained in:
Michael Shigorin 2020-08-26 12:23:33 +03:00
parent 9513e0aa53
commit de42f5f4e9

View File

@ -1,9 +1,12 @@
ifeq (,$(filter-out riscv64,$(ARCH)))
# not available on riscv64 at the moment
use/office use/office/LibreOffice/still use/office/LibreOffice/full: ; @:
else
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
@ -38,3 +41,5 @@ use/office/LibreOffice/full: use/office/LibreOffice/still \
use/office/calligra: use/office
@$(call set,THE_OFFICE,calligra)
endif # !riscv64