47 lines
1.6 KiB
Makefile
47 lines
1.6 KiB
Makefile
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)
|
|
@$(call try,THE_OFFICE,abiword gnumeric)
|
|
@$(call add,THE_PACKAGES,$$(THE_OFFICE))
|
|
|
|
# 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/lang/extra: use/office/LibreOffice/lang
|
|
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-es)
|
|
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-pt-BR)
|
|
|
|
use/office/LibreOffice/gtk2 use/office/LibreOffice/gtk3 \
|
|
use/office/LibreOffice/qt5 use/office/LibreOffice/kde5 \
|
|
use/office/LibreOffice/extensions \
|
|
use/office/LibreOffice/integrated: \
|
|
use/office/LibreOffice/%: use/office/LibreOffice
|
|
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-$*)
|
|
|
|
use/office/LibreOffice/full: use/office/LibreOffice/still \
|
|
use/office/LibreOffice/gtk3 \
|
|
use/office/LibreOffice/extensions \
|
|
use/office/LibreOffice/integrated \
|
|
use/office/LibreOffice/lang; @:
|
|
|
|
use/office/calligra: use/office
|
|
@$(call set,THE_OFFICE,calligra)
|
|
|
|
endif # !riscv64
|