To disable some dependencies or features, use meson options -Dfeature=false or -Ddisable-feature=yes depending on the case.