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
This commit is contained in:
Ezequiel Garcia 2021-06-26 06:41:03 -03:00 committed by Johan Malm
parent 448b3c5870
commit ccfa7a60db
2 changed files with 7 additions and 0 deletions

4
subprojects/seatd.wrap Normal file
View file

@ -0,0 +1,4 @@
[wrap-git]
url=https://git.sr.ht/~kennylevinsen/seatd
revision=master

3
subprojects/wlroots.wrap Normal file
View file

@ -0,0 +1,3 @@
[wrap-git]
url = https://github.com/swaywm/wlroots
revision = master