blob: d53a2903d467b26a70e592920baec65b2a2a49dc (
plain)
1 # Description: vkmark is an extensible Vulkan benchmarking suite with targeted, configurable scenes
2 # URL: https://github.com/vkmark/vkmark
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: assimp glm meson ninja wayland-protocols vulkan-loader
5 # Optional: xorg-xcb-util-wm
6
7 name=vkmark
8 version=20220318
9 release=1
10 _commit=cf45f2faee236fd1118be2fcd27e4f2a91fc2e40
11 source=(https://github.com/vkmark/vkmark/archive/$_commit/$name-$version.tar.gz
12 38.patch)
13
14 build() {
15 patch -Np1 -d $name-$_commit -i $SRC/38.patch
16
17 meson setup $name-$_commit build \
18 --prefix=/usr \
19 --buildtype=plain \
20 --wrap-mode nodownload \
21 -D b_lto=true \
22 -D b_pie=true
23 meson compile -C build
24 DESTDIR=$PKG meson install -C build
25 }
|