aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-03-14 12:57:50 +0000
committerGitHub <[email protected]>2023-03-14 12:57:50 +0000
commit5dc1a5fec631ddd0136af28c901e8c962548d497 (patch)
tree92068b313e3ac66caf3b5256a5b67ec973515a46 /Makefile
parente749af7b60386f4ff414ef3e2e804523046e46a9 (diff)
downloadHyprland-5dc1a5fec631ddd0136af28c901e8c962548d497.tar.gz
Hyprland-5dc1a5fec631ddd0136af28c901e8c962548d497.zip
input: text-input-v1 support (#1778)
support zwp_text_input_v1 --------- Co-authored-by: Mihai Fufezan <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 12613b27..4aaed5e9 100644
--- a/Makefile
+++ b/Makefile
@@ -131,6 +131,16 @@ fractional-scale-v1-protocol.c:
fractional-scale-v1-protocol.o: fractional-scale-v1-protocol.h
+text-input-unstable-v1-protocol.h:
+ $(WAYLAND_SCANNER) server-header \
+ $(WAYLAND_PROTOCOLS)/unstable/text-input/text-input-unstable-v1.xml $@
+
+text-input-unstable-v1-protocol.c:
+ $(WAYLAND_SCANNER) private-code \
+ $(WAYLAND_PROTOCOLS)/unstable/text-input/text-input-unstable-v1.xml $@
+
+text-input-unstable-v1-protocol.o: text-input-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$(shell nproc)
@@ -196,7 +206,7 @@ uninstall:
rm -f ${PREFIX}/share/man/man1/Hyprland.1
rm -f ${PREFIX}/share/man/man1/hyprctl.1
-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 linux-dmabuf-unstable-v1-protocol.o hyprland-toplevel-export-v1-protocol.o wlr-foreign-toplevel-management-unstable-v1-protocol.o fractional-scale-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 tablet-unstable-v2-protocol.o wlr-output-power-management-unstable-v1-protocol.o linux-dmabuf-unstable-v1-protocol.o hyprland-toplevel-export-v1-protocol.o wlr-foreign-toplevel-management-unstable-v1-protocol.o fractional-scale-v1-protocol.o text-input-unstable-v1-protocol.o
fixwlr:
sed -i -E 's/(soversion = 12)([^032]|$$)/soversion = 12032/g' subprojects/wlroots/meson.build