Flatten Meson build files

Review Request #1953 — Created Oct. 24, 2022 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

We use a new enough version that we can take advantage of a few shortcuts so that entire files don't need to be wrapped in a huge if.

Also, passing the dependency object directly to summary prints YES+the version, instead of just YES. Unfortunately, there's a bug with using a disabler, so some of them can't do that (yet).

Configured with defaults and configured with

$ meson setup \
  -Davahi=disabled \
  -Dconsoleui=false \
  -Dgtkui=false \
  -Dintrospection=false \
  -Dkwallet=disabled \
  -Dlibgadu=disabled \
  -Dlibsecret=disabled \
  -Dmeanwhile=disabled \
  -Dsilc=disabled \
  -Dx=false \
  -Dzephyr=disabled \
  -Dunity-integration=disabled \
  -Dgplugin:lua=false \
  -Dgplugin:python3=false \
  -Dgplugin:vapi=false \
  -Ddynamic-prpls=bonjour

to disable almost everything.

Commits

Files