# Contributor: Danct12 # Maintainer: Danct12 pkgname=glmark2 pkgver=2023.01 pkgrel=0 pkgdesc="OpenGL 2.0 and ES 2.0 benchmark" url="https://github.com/glmark2/glmark2" arch="all" license="GPL-3.0-or-later" subpackages="$pkgname-doc" makedepends="python3 eudev-dev libjpeg-turbo-dev libpng-dev mesa-dev wayland-dev wayland-protocols" source="$pkgname-$pkgver.tar.gz::https://github.com/glmark2/glmark2/archive/$pkgver.tar.gz" options="!check" # no testsuite prepare() { default_prepare python3 ./waf configure --prefix=/usr --with-flavors drm-gl,drm-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2 } build() { python3 ./waf } package() { python3 ./waf install --destdir="$pkgdir" } sha512sums=" 5aaad56bb341e9c09d8dc78ac8d07d9af39f2414a158fd6e7c2717db2427d1b353408a874a8f38065e241474c674e8220d001652a5dd5a6c893ffe778cff9006 glmark2-2023.01.tar.gz "