added wayland protocol generation script and updated wayland protocol files
This commit is contained in:
parent
061469c442
commit
0ac55844c9
8 changed files with 312 additions and 8 deletions
17
raylib/external/scripts/glfw-generate-wayland.sh
vendored
Executable file
17
raylib/external/scripts/glfw-generate-wayland.sh
vendored
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
TMPDIR="/tmp"
|
||||
GLGLFW_PATH="`pwd`/../glfw/src"
|
||||
|
||||
cd $TMPDIR
|
||||
git clone https://github.com/wayland-project/wayland-protocols
|
||||
cd wayland-protocols
|
||||
|
||||
wayland-scanner code ./unstable/pointer-constraints/pointer-constraints-unstable-v1.xml "$GLGLFW_PATH"/wayland-pointer-constraints-unstable-v1-client-protocol.c
|
||||
wayland-scanner client-header ./unstable/pointer-constraints/pointer-constraints-unstable-v1.xml "$GLGLFW_PATH"/wayland-pointer-constraints-unstable-v1-client-protocol.h
|
||||
|
||||
wayland-scanner code ./unstable/relative-pointer/relative-pointer-unstable-v1.xml "$GLGLFW_PATH"/wayland-relative-pointer-unstable-v1-client-protocol.c
|
||||
wayland-scanner client-header ./unstable/relative-pointer/relative-pointer-unstable-v1.xml "$GLGLFW_PATH"/wayland-relative-pointer-unstable-v1-client-protocol.h
|
||||
|
||||
wayland-scanner code ./unstable/idle-inhibit/idle-inhibit-unstable-v1.xml "$GLGLFW_PATH"/wayland-idle-inhibit-unstable-v1-client-protocol.c
|
||||
wayland-scanner client-header ./unstable/idle-inhibit/idle-inhibit-unstable-v1.xml "$GLGLFW_PATH"/wayland-idle-inhibit-unstable-v1-client-protocol.h
|
Loading…
Add table
Add a link
Reference in a new issue