Make the subproject wrap file declare the dependencies it provides.
Remove the manual subproject invocation and allow Meson to select
whichever wlroots it finds which satisfies the version requirement --
either a system one via pkg-config, or the subproject fallback.
Use a dependency-generic method of acquiring wlroots configuration info
-- enabled features are present in the pkg-config file and additionally
exported as declare_dependency() variables, so there is no need to do C
preprocessor checks for it.
This ensures that Meson best practices are followed, and also...
Fixes#318
This is better than `revision = master` because:
- It enables labwc commits to be checked out and build without manually
having to find the right wlroots commit to build with
- The labwc master is always buildable without user intervention even
if there are breaking changes in the wlroots master branch
Suggested in issue #289
This simplifies building as there's no need to manually
git clone subprojects anymore.
Building is now as simple as:
meson build
ninja -C build
In order to update the subprojects, meson provides:
meson subprojects update