glmark2: work around a build race with wayland headers

This commit is contained in:
q66 2021-09-14 12:13:39 +02:00
parent 159779c8ab
commit aa581556cb

View file

@ -14,3 +14,8 @@ homepage="https://github.com/glmark2/glmark2"
changelog="https://raw.githubusercontent.com/glmark2/glmark2/master/NEWS"
distfiles="https://github.com/glmark2/glmark2/archive/${version}.tar.gz"
checksum=bebadb78c13aea5e88ed892e5563101ccb745b75f1dc86a8fc7229f00d78cbf1
pre_build() {
# this file is racey, so pre-generate it ahead of time
ninja -C build src/xdg-shell-client-protocol.h
}