[0.27.0] meson build system fails when unity not found
Submitted by Dominique Leuenberger
Link to original bug (#784062)
Description
While packaging up shotwell 0.27.0, I tried switching to meson.
Besides the issues already addressed in https://git.gnome.org/browse/shotwell/commit?id=d44130a4cf9de5a24719c404588829bd60ba5f57 (I tried with adding shotwell.py and git-hash into the source dirs), my build failed with:
Dependency unity found: NO ^^^ is marked as optional in meson.build. so that is ok [...] error: Package `unity' not found in specified Vala API directories or GObject-Introspection GIR directories Compilation failed: 1 error(s), 0 warning(s)
yet, build failed if unity is not present.
(for now I just keep the build with autotools, that worked)
Version: 0.27.x
Resolution: RESOLVED FIXED