forked from altcloud/mkimage-profiles
7574335d81
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.
30 lines
991 B
Makefile
30 lines
991 B
Makefile
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: ; @:
|
|
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)
|
|
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-ru)
|
|
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-uk)
|
|
|
|
use/office/LibreOffice/gtk2 use/office/LibreOffice/gtk3 \
|
|
use/office/LibreOffice/qt5 use/office/LibreOffice/kde5: \
|
|
use/office/LibreOffice/%: use/office/LibreOffice
|
|
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-$*)
|
|
|
|
use/office/calligra: use/office
|
|
@$(call set,THE_OFFICE,calligra)
|