config.mk 1.55 KB
Newer Older
1 2 3 4 5
ifeq (,$(filter-out riscv64,$(ARCH)))
# not available on riscv64 at the moment
use/office use/office/LibreOffice/still use/office/LibreOffice/full: ; @:
else

6 7 8 9 10 11 12 13 14 15
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
16 17
use/office/LibreOffice/still: ; @:
ifneq (,$(filter-out e2k%,$(ARCH)))
18
	@$(call set,LO_FLAVOUR,-still)
19
endif
20 21 22 23 24 25

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)

26 27 28 29
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)

30
use/office/LibreOffice/gtk2 use/office/LibreOffice/gtk3 \
31 32 33
	use/office/LibreOffice/qt5 use/office/LibreOffice/kde5 \
	use/office/LibreOffice/extensions \
	use/office/LibreOffice/integrated: \
34 35 36
	use/office/LibreOffice/%: use/office/LibreOffice
	@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-$*)

37 38 39
use/office/LibreOffice/full: use/office/LibreOffice/still \
	use/office/LibreOffice/gtk3 \
	use/office/LibreOffice/extensions \
40 41
	use/office/LibreOffice/integrated \
	use/office/LibreOffice/lang; @:
42

43 44
use/office/calligra: use/office
	@$(call set,THE_OFFICE,calligra)
45 46

endif	# !riscv64