From ccfa7a60dbbd9798200235b28ce791d922aa07b5 Mon Sep 17 00:00:00 2001 From: Ezequiel Garcia Date: Sat, 26 Jun 2021 06:41:03 -0300 Subject: [PATCH] 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 --- subprojects/seatd.wrap | 4 ++++ subprojects/wlroots.wrap | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 subprojects/seatd.wrap create mode 100644 subprojects/wlroots.wrap diff --git a/subprojects/seatd.wrap b/subprojects/seatd.wrap new file mode 100644 index 00000000..534d9a04 --- /dev/null +++ b/subprojects/seatd.wrap @@ -0,0 +1,4 @@ +[wrap-git] +url=https://git.sr.ht/~kennylevinsen/seatd +revision=master + diff --git a/subprojects/wlroots.wrap b/subprojects/wlroots.wrap new file mode 100644 index 00000000..31ce0aec --- /dev/null +++ b/subprojects/wlroots.wrap @@ -0,0 +1,3 @@ +[wrap-git] +url = https://github.com/swaywm/wlroots +revision = master