meson: also build VAPI in addition to GIR for libnma
Adding a manual call to
gnome.generate_vapi() should do the trick.
However, meson also has support for automatically generating the .gir and .vapi files in a
*library() call - setting the
vala_gir keywords and using using
install: [true, include_dir, true, true] (or equivalent) should be enough to make it work automatically, without having to call the methods from the
gnome module manually.
An example for this can be seen here, where I ported the
granite library to meson: https://github.com/elementary/granite/blob/master/lib/meson.build#L66
Building and shipping the VAPI file upstream would allow some elementary projects to drop their downstream VAPI files for libnma.