From 88b8c199e3524b7c4e2667db3683c77d70f34a26 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Wed, 29 Sep 2021 10:53:41 -0700 Subject: feat(wm): working prototype --- vendor/sync | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'vendor') 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 -- cgit v1.2.1