]> git.mdlowis.com Git - proto/labwc.git/commitdiff
meson: Use wrap files to manage dependencies
authorEzequiel Garcia <ezequiel@collabora.com>
Sat, 26 Jun 2021 09:41:03 +0000 (06:41 -0300)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 26 Jun 2021 17:12:24 +0000 (18:12 +0100)
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 [new file with mode: 0644]
subprojects/wlroots.wrap [new file with mode: 0644]

diff --git a/subprojects/seatd.wrap b/subprojects/seatd.wrap
new file mode 100644 (file)
index 0000000..534d9a0
--- /dev/null
@@ -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 (file)
index 0000000..31ce0ae
--- /dev/null
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://github.com/swaywm/wlroots
+revision = master