summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-30 22:41:24 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-30 22:41:24 +0200
commitf96b611651f5bbaf2b0401d44f4250f699b15be2 (patch)
tree5a55fd918a984e455ef2c9db553deef4764b1664 /Makefile
parent4211b37e22791793cb948e447e2ba4d798af3859 (diff)
support wlr-output-power-management
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 04bb72de..b1f120ce 100644
--- a/Makefile
+++ b/Makefile
@@ -81,6 +81,16 @@ idle-protocol.c:
idle-protocol.o: idle-protocol.h
+wlr-output-power-management-unstable-v1-protocol.h:
+ $(WAYLAND_SCANNER) server-header \
+ protocols/wlr-output-power-management-unstable-v1.xml $@
+
+wlr-output-power-management-unstable-v1-protocol.c:
+ $(WAYLAND_SCANNER) private-code \
+ protocols/wlr-output-power-management-unstable-v1.xml $@
+
+wlr-output-power-management-unstable-v1-protocol.o: wlr-output-power-management-unstable-v1-protocol.h
+
legacyrenderer:
mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DLEGACY_RENDERER:STRING=true -H./ -B./build -G Ninja
cmake --build ./build --config Release --target all -j 10
@@ -133,7 +143,7 @@ uninstall:
rm -f /usr/lib/libwlroots.so.11032
rm -rf ${PREFIX}/share/hyprland
-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 tablet-unstable-v2-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 tablet-unstable-v2-protocol.o wlr-output-power-management-unstable-v1-protocol.o
fixwlr:
sed -i -E 's/(soversion = 11)([^032]|$$)/soversion = 11032/g' subprojects/wlroots/meson.build