Commit graph

6 commits

Author SHA1 Message Date
Eli Schwartz
33326fc086 meson: use proper dependency fallback for wlroots
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

Backport of 2656cf525f to v0.5
2022-05-10 02:13:22 +02:00
Johan Malm
e1328c055d wlroots.wrap: use 0.15.1 2022-02-07 16:53:37 +00:00
Johan Malm
a54ce40e1c wlroots.wrap: add .git to url to avoid redirection warning 2022-01-04 21:27:59 +00:00
Johan Malm
be300764b5 build: use wlroots 0.15.0 2021-12-26 22:42:51 +00:00
Johan Malm
ceb54d0236 wlroots.wrap: set url to https://gitlab.freedesktop.org/wlroots/wlroots 2021-11-01 22:07:18 +00:00
Ezequiel Garcia
ccfa7a60db meson: Use wrap files to manage dependencies
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
2021-06-26 18:12:24 +01:00