I was trying to port Cheese to use Meson, and hit a problem while trying to depend on libcanberra-gtk3. The pkg-config file is named libcanberra-gtk3, but the VAPI file is called libcanberra-gtk, so meson is not able to find the dependency by looking at the .pc file, as it expects the VAPI file name to match the name of the .pc file.
I spoke to Jussi (Meson maintainer), and he suggested just making a symlink from one VAPI file to the other (libcanberra-gtk3.vapi to libcanberra-gtk.vapi), which actually works fine. Either that, or installing a separate file, with the appropriate dependency version for GTK, would be great.
Created attachment 138742 [details] [review]
Install several vala vapi files
This is blocking more than just Cheese, so GNOME is likely to require this patch soon.
Lennart, it'd be easiest if you respond, so that we don't have to distro patch this all over the place.