We need to reference the types file directly, because it won't be copied into the builddir by Meson — except for GTK, which needs to generate its own types file using configure_file().
Still a work in progress.