void-packages/srcpkgs/MangoHud/template

28 lines
927 B
Bash

# Template file for 'MangoHud'
pkgname=MangoHud
version=0.6.7.1
_version="${version%.*}-${version##*.}"
revision=3
build_style=meson
configure_args="-Duse_system_vulkan=enabled -Dwith_xnvctrl=disabled
-Dwith_nvml=disabled -Duse_system_spdlog=enabled"
hostmakedepends="Vulkan-Headers python3-Mako glslang pkg-config"
makedepends="libglvnd-devel dbus-devel vulkan-loader Vulkan-Headers
spdlog"
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=220abdc563e39727527b63ace9f7b8b1de0a53d4cf79b8bbed5794dbbf8db77a
post_patch() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
patch -Np0 -i ${FILESDIR}/musl.patch
fi
}
post_install() {
vlicense LICENSE
}