summaryrefslogtreecommitdiff
path: root/community/vkmark/APKBUILD
blob: 01b1252ce3802d322e22fffd485c559a7f8e34d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=vkmark
pkgver=0_git20220909
pkgrel=0
_commit="30d2cd37f0566589d90914501fc7c51a4e51f559"
pkgdesc="Vulkan benchmark"
url="https://github.com/vkmark/vkmark"
arch="all !s390x" # blocked by assimp
license="LGPL-2.1-or-later"
makedepends="
	assimp-dev
	glm-dev
	meson
	vulkan-loader-dev
	wayland-dev
	wayland-protocols
	xcb-util-wm-dev
	"
subpackages="$pkgname-doc"
source="https://github.com/vkmark/vkmark/archive/$_commit/vkmark-$_commit.tar.gz"
builddir="$srcdir/vkmark-$_commit"

build() {
	abuild-meson \
		. output
	meson compile -C output
}

check() {
	# Skip failing "util image file reads" test
	meson test --no-rebuild --print-errorlogs -C output --test-args "exclude:Scenario: util image file reads"
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
c4d388c52bd565603e98e936f35118f96df6b991ad1bf52670e0052fb3e8c2f2d96485e93b26a0796a1eb0ba316416c87ca925eabecf2263613c91e9c2c2d5a7  vkmark-30d2cd37f0566589d90914501fc7c51a4e51f559.tar.gz
"