26 lines
743 B
Plaintext
26 lines
743 B
Plaintext
# Description: vkmark is an extensible Vulkan benchmarking suite with targeted, configurable scenes
|
|
# URL: https://github.com/vkmark/vkmark
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: assimp glm meson ninja wayland-protocols vulkan-loader
|
|
# Optional: xorg-xcb-util-wm
|
|
|
|
name=vkmark
|
|
version=20220318
|
|
release=1
|
|
_commit=cf45f2faee236fd1118be2fcd27e4f2a91fc2e40
|
|
source=(https://github.com/vkmark/vkmark/archive/$_commit/$name-$version.tar.gz
|
|
38.patch)
|
|
|
|
build() {
|
|
patch -Np1 -d $name-$_commit -i $SRC/38.patch
|
|
|
|
meson setup $name-$_commit build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|