mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
13 lines
381 B
Bash
Executable File
13 lines
381 B
Bash
Executable File
#!/bin/sh
|
|
WAYSCAN=/usr/bin/wayland-scanner
|
|
WAYLAND_PROTOS=/usr/share/wayland-protocols
|
|
OUTPUT=gfx/common/wayland
|
|
|
|
if [ ! -d $OUTPUT ]; then
|
|
mkdir $OUTPUT
|
|
fi
|
|
|
|
#Generate xdg-shell header and .c files
|
|
$WAYSCAN client-header $WAYLAND_PROTOS/stable/xdg-shell/xdg-shell.xml $OUTPUT/xdg-shell.h
|
|
$WAYSCAN private-code $WAYLAND_PROTOS/stable/xdg-shell/xdg-shell.xml $OUTPUT/xdg-shell.c
|