void-packages/srcpkgs/MangoHud/template

25 lines
848 B
Bash

# Template file for 'MangoHud'
pkgname=MangoHud
version=0.7.0
revision=1
build_style=meson
configure_args="-Dwith_xnvctrl=disabled
-Dwith_nvml=disabled -Duse_system_spdlog=enabled"
hostmakedepends="python3-Mako glslang pkg-config"
makedepends="libglvnd-devel dbus-devel vulkan-loader-devel spdlog json-c++"
short_desc="Vulkan and OpenGL overlay for monitoring FPS, temperatures and more"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://github.com/flightlessmango/MangoHud"
distfiles="https://github.com/flightlessmango/MangoHud/releases/download/v${version}/MangoHud-v${version}-Source-DFSG.tar.xz"
checksum=222e15d4f3e679937f7594e2e5615aaae41b97d487eb7938b96b26eeb1fbcf35
python_version=3
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" -Ddynamic_string_tokens=false"
fi
post_install() {
vlicense LICENSE
}