aboutsummaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-09-29 10:53:41 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-09-29 10:53:41 -0700
commit88b8c199e3524b7c4e2667db3683c77d70f34a26 (patch)
treeafe6f897edf813e9cf2c9221f3eab3fee935a900 /vendor
parentb9a07a67b85e9192faa0e285b4419bd5ef242a03 (diff)
feat(wm): working prototype
Diffstat (limited to 'vendor')
-rwxr-xr-xvendor/sync16
1 files changed, 14 insertions, 2 deletions
diff --git a/vendor/sync b/vendor/sync
index cd3e040..96ae888 100755
--- a/vendor/sync
+++ b/vendor/sync
@@ -164,10 +164,21 @@ WLROOTS_TAG="0.14.1"
build_wlroots()
{
- git clone $WLROOTS wlroots
+ git clone $WLROOTS_URL
cd wlroots && git checkout $WLROOTS_TAG
- meson --prefix=$ROOT build/ && cd ninja -C build/
+ meson \
+ --prefix=$ROOT \
+ --includedir=include/vendor \
+ --libdir=lib/vendor \
+ -Ddefault_library=static \
+ build/ \
+ && ninja -C build/ \
+ && meson install -C build
+
+ mv $ROOT/lib/vendor/pkgconfig/* $ROOT/lib/pkgconfig
+ rm -rf $ROOT/lib/vendor/pkgconfig
+ cd $VENDOR
echo $WLROOTS_TAG > wlroots/build.tag
}
@@ -193,4 +204,5 @@ update nlopt $NLOPT_TAG
update musl $MUSL_TAG
update blas $BLAS_TAG
update zlib $ZLIB_TAG
+update wlroots $WLROOTS_TAG
# update glfw $GLFW_TAG