Skip to content

Commit

Permalink
Update Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
gen2brain committed Jun 21, 2023
1 parent ebac463 commit 9def9b0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions raylib/external/scripts/glfw-generate-wayland.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ git clone --depth 1 https://gitlab.freedesktop.org/wayland/wayland-protocols.git
cd $TMPDIR
cd wayland

rm -f "$GLGLFW_PATH"/wayland-client-protocol.c
rm -f "$GLGLFW_PATH"/wayland-client-protocol.h
rm -f "$GLGLFW_PATH"/wayland-client-protocol-code.h

wayland-scanner private-code ./protocol/wayland.xml "$GLGLFW_PATH"/wayland-client-protocol-code.h
Expand All @@ -19,17 +19,17 @@ wayland-scanner client-header ./protocol/wayland.xml "$GLGLFW_PATH"/wayland-clie
cd $TMPDIR
cd wayland-protocols

rm -f "$GLGLFW_PATH"/wayland-xdg-shell-client-protocol.c
rm -f "$GLGLFW_PATH"/wayland-xdg-shell-client-protocol.h
rm -f "$GLGLFW_PATH"/wayland-xdg-shell-client-protocol-code.h
rm -f "$GLGLFW_PATH"/wayland-xdg-decoration-client-protocol.c
rm -f "$GLGLFW_PATH"/wayland-xdg-decoration-client-protocol.h
rm -f "$GLGLFW_PATH"/wayland-xdg-decoration-client-protocol-code.h
rm -f "$GLGLFW_PATH"/wayland-viewporter-client-protocol.c
rm -f "$GLGLFW_PATH"/wayland-viewporter-client-protocol.h
rm -f "$GLGLFW_PATH"/wayland-viewporter-client-protocol-code.h
rm -f "$GLGLFW_PATH"/wayland-relative-pointer-unstable-v1-client-protocol.c
rm -f "$GLGLFW_PATH"/wayland-relative-pointer-unstable-v1-client-protocol.h
rm -f "$GLGLFW_PATH"/wayland-relative-pointer-unstable-v1-client-protocol-code.h
rm -f "$GLGLFW_PATH"/wayland-pointer-constraints-unstable-v1-client-protocol.c
rm -f "$GLGLFW_PATH"/wayland-pointer-constraints-unstable-v1-client-protocol.h
rm -f "$GLGLFW_PATH"/wayland-pointer-constraints-unstable-v1-client-protocol-code.h
rm -f "$GLGLFW_PATH"/wayland-idle-inhibit-unstable-v1-client-protocol.c
rm -f "$GLGLFW_PATH"/wayland-idle-inhibit-unstable-v1-client-protocol.h
rm -f "$GLGLFW_PATH"/wayland-idle-inhibit-unstable-v1-client-protocol-code.h

wayland-scanner private-code ./stable/xdg-shell/xdg-shell.xml "$GLGLFW_PATH"/wayland-xdg-shell-client-protocol-code.h
Expand Down

0 comments on commit 9def9b0

Please sign in to comment.