GIR and package name differs, preventing build
While trying to add the master version of librest to my project, valac
complains that it can't find the GIR-file for the dependency:
error: Package `rest-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories
As far as I can tell this comes from the fact that the GIR is using an upper-case "R" (Rest-1.0
), while pkg-config (which is used by meson to tell valac
the package name) is using an lower-case (rest-1.0
).
Not sure if this affects other platforms outside of Vala, but there for valac
it prevents a build.
I think this could be solved by either changing the GIR name to lower-case, or to add an dedicated vapi generation to the build process.
Edited by CodedOre