1#!/bin/sh -ue
2NAME=wlroots
3VERSION=0.19
4RELEASE=1
5SOURCE="https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/${VERSION}/wlroots-${VERSION}.tar.gz"
6BUILD_STYLE=meson
7BUILD_OPT="-Dxwayland=disabled -Dexamples=false -Dbackends=drm,libinput -Drenderers=gles2 -Dlibliftoff=disabled -Dxcb-errors=disabled -Dcolor-management=disabled"
8prebuild(){
9 sed -i 's/<libinput.h>/<libinput.h>\n#include <libudev.h>/' backend/libinput/tablet_*.c
10}
11. ${0%/*}/../../libsh/libdmake.sh