office: initial feature
This feature ensures the availability and specification of the choice of office package by analogy with the choice of browser. Additional options may be set by explicit or indirect request.
This commit is contained in:
parent
7812a153f8
commit
5a79db50e1
6
features.in/office/README
Normal file
6
features.in/office/README
Normal file
@ -0,0 +1,6 @@
|
||||
Эта фича обеспечивает наличие и конкретизацию выбора офисного
|
||||
пакета по аналогии с выбором браузера. Разумеется, дополнительные
|
||||
варианты могут быть установлены явным или косвенным затребованием.
|
||||
|
||||
Следует понимать, что каждая из целей может быть использована
|
||||
лишь один раз, повторное упоминание будет проигнорировано make.
|
25
features.in/office/config.mk
Normal file
25
features.in/office/config.mk
Normal file
@ -0,0 +1,25 @@
|
||||
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:
|
||||
@$(call set,LO_FLAVOUR,-still)
|
||||
|
||||
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)
|
Loading…
x
Reference in New Issue
Block a user