By the way, meson's error message for this situation was very unhelpful. See https://bugzilla.gnome.org/794313 where gnome-bluetooth was affected. (I simply added the extra dependencies to the Debian package once I figured out what happened.)
Thanks, Jeremy Bicha