diff options
author | Cem Keylan <cem@ckyln.com> | 2022-01-23 14:34:55 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-01-23 14:35:35 +0300 |
commit | c467d85a6d138da70b0cb1c2697101e41e6129ba (patch) | |
tree | a17c042c0f83c40a8e677db0e07fe5cffc62dce2 /wayland/cage/build | |
parent | 4029f0ec56dacc2f55e5bd0578b87d85c4e99336 (diff) | |
download | repository-c467d85a6d138da70b0cb1c2697101e41e6129ba.tar.gz |
cage: use old wlroots
Diffstat (limited to 'wayland/cage/build')
-rwxr-xr-x | wayland/cage/build | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/wayland/cage/build b/wayland/cage/build index 77a0e800..913220ab 100755 --- a/wayland/cage/build +++ b/wayland/cage/build @@ -1,6 +1,29 @@ #!/bin/sh -e +export WLROOTS_DIR="$PWD/pkg" + +( +cd wlroots + +export DESTDIR="$WLROOTS_DIR" + +cl-meson \ + --default-library=static \ + -Dexamples=false \ + -Dxwayland=enabled \ + -Dx11-backend=enabled \ + -Drenderers=gles2 \ + . output + +ninja -C output +ninja -C output install +) + export DESTDIR="$1" +export LDLIBS="$LDLIBS -L$WLROOTS_DIR/usr/lib $WLROOTS_DIR/usr/lib/libwlroots.a" +export LDFLAGS="$LDFLAGS -L$WLROOTS_DIR/usr/lib $WLROOTS_DIR/usr/lib/libwlroots.a" +export CFLAGS="$CFLAGS -I$WLROOTS_DIR/usr/include" +export PKG_CONFIG_PATH=$WLROOTS_DIR/usr/lib/pkgconfig cl-meson \ -Dman-pages=enabled \ |