diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-31 10:43:41 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-31 10:43:41 +0200 |
| commit | 2e7586e841f8f964f2e919c47bab6cb22088e84f (patch) | |
| tree | 1579b4aa3443a637e2bd08ecf04270f2d86bd93e /Makefile | |
| parent | f6ba9909d64f8986efd7833252f9444175aa0fac (diff) | |
fix up config and includes
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -89,6 +89,7 @@ clear: rm -rf build rm -f *.o *-protocol.h *-protocol.c rm -f ./hyprctl/hyprctl + rm -rf ./wlroots/build all: make config @@ -113,4 +114,16 @@ uninstall: rm -f ${PREFIX}/bin/hyprctl rm -rf ${PREFIX}/share/hyprland -config: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o wlr-screencopy-unstable-v1-protocol.o idle-protocol.o ext-workspace-unstable-v1-protocol.o pointer-constraints-unstable-v1-protocol.o +protocols: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o wlr-screencopy-unstable-v1-protocol.o idle-protocol.o ext-workspace-unstable-v1-protocol.o pointer-constraints-unstable-v1-protocol.o + +config: + make protocols + + sed -i -E 's/(soversion = 11)([^032]|$$)/soversion = 11032/g' ./wlroots/meson.build + + rm -rf ./wlroots/build + + cd wlroots && meson ./build --prefix=/usr --buildtype=release + cd wlroots && ninja -C build/ + + cd wlroots && sudo cp ./build/libwlroots.so.11032 /usr/lib/ |
