# Engine configure switches for the Collabora Office flatpak build
# (qt/flatpak/com.collaboraoffice.Office.json builds the engine in-tree with
# ./autogen.sh --with-distro=CPLinuxQtFlatpak). The language list comes from
# Langs.conf via the INCLUDE below, so it is never duplicated here.

# pull in shared config
INCLUDE:CPLinuxCommon
INCLUDE:Langs

# enable features
--enable-python=auto

# disable features
--disable-noto-font
--disable-sal-log
--disable-epm
--without-lxml
--without-myspell-dicts

# use stuff from the system
--with-system-altlinuxhyph
--with-system-cppunit
--with-system-curl
--with-system-expat
--with-system-fontconfig
--with-system-freetype
--with-system-graphite
--with-system-harfbuzz
--with-system-hunspell
--with-system-icu
--with-system-lcms2
--with-system-libpng
--with-system-libtiff
--with-system-libwebp
--with-system-libxml
--with-system-mythes
--with-system-nss
--with-system-openssl
--with-system-zstd

# use internal libraries
--without-system-abseil
--without-system-argon2
--without-system-boost
--without-system-clucene
--without-system-coinmp
--without-system-dragonbox
--without-system-frozen
--without-system-glm
--without-system-libabw
--without-system-libcdr
--without-system-libcmis
--without-system-libebook
--without-system-libeot
--without-system-libepubgen
--without-system-libetonyek
--without-system-libexttextcat
--without-system-libfixmath
--without-system-libfreehand
--without-system-liblangtag
--without-system-libmspub
--without-system-libmwaw
--without-system-libnumbertext
--without-system-libodfgen
--without-system-libpagemaker
--without-system-libqxp
--without-system-librevenge
--without-system-libstaroffice
--without-system-libvisio
--without-system-libwpd
--without-system-libwpg
--without-system-libwps
--without-system-libzmf
--without-system-mdds
--without-system-odbc
--without-system-orcus
--without-system-redland
--without-system-sane
--without-system-xmlsec
--without-system-zxcvbn
--without-system-zxing
