void-packages/srcpkgs/glmark2/template

21 lines
837 B
Bash

# Template file for 'glmark2'
pkgname=glmark2
version=2021.02
revision=2
build_style=meson
configure_args="-Dflavors=x11-gl,x11-glesv2,drm-gl,wayland-gl,wayland-glesv2,drm-glesv2"
hostmakedepends="pkg-config wayland-devel"
makedepends="libjpeg-turbo-devel libpng-devel libX11-devel MesaLib-devel wayland-devel
wayland-protocols"
short_desc="OpenGL 2.0 and ES 2.0 benchmark"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-3.0-or-later"
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
}