2020-08-26 12:23:33 +03:00
i f e q ( , $( filter -out riscv 64,$ ( ARCH ) ) )
# not available on riscv64 at the moment
use/office use/office/LibreOffice/still use/office/LibreOffice/full : ; @:
e l s e
2019-05-21 17:34:20 +03:00
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
2020-08-21 19:50:08 +03:00
use/office/LibreOffice/still : ; @:
i f n e q ( , $( filter -out e 2k %,$ ( ARCH ) ) )
2019-05-21 17:34:20 +03:00
@$( call set,LO_FLAVOUR,-still)
2020-08-21 19:50:08 +03:00
e n d i f
2019-05-21 17:34:20 +03:00
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)
2020-08-25 22:21:39 +03:00
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)
2019-05-21 17:34:20 +03:00
u s e / o f f i c e / L i b r e O f f i c e / g t k 2 u s e / o f f i c e / L i b r e O f f i c e / g t k 3 \
2020-08-25 22:21:39 +03:00
use/office/LibreOffice/qt5 use/office/LibreOffice/kde5 \
use/office/LibreOffice/extensions \
use/office/LibreOffice/integrated: \
2019-05-21 17:34:20 +03:00
use/office/LibreOffice/%: use/office/LibreOffice
@$( call add,THE_OFFICE,LibreOffice$$ ( LO_FLAVOUR) -$* )
2020-08-25 22:21:39 +03:00
use/office/LibreOffice/full : use /office /LibreOffice /still \
use/office/LibreOffice/gtk3 \
use/office/LibreOffice/extensions \
use/office/LibreOffice/integrated; @:
2019-05-21 17:34:20 +03:00
use/office/calligra : use /office
@$( call set,THE_OFFICE,calligra)
2020-08-26 12:23:33 +03:00
e n d i f # !riscv64