# Template file for 'MangoHud' pkgname=MangoHud version=0.6.4 revision=1 wrksrc="MangoHud-v${version}" build_style=meson configure_args="-Duse_system_vulkan=enabled -Dwith_xnvctrl=disabled -Dwith_nvml=disabled" hostmakedepends="Vulkan-Headers python3-Mako glslang pkg-config" makedepends="libglvnd-devel dbus-devel vulkan-loader Vulkan-Headers" short_desc="Vulkan and OpenGL overlay for monitoring FPS, temperatures and more" maintainer="John " 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=a26443cf36ee1282e7f64bb80c0cb1e6bfbb150ebc74d72adc37bcc3d1c10e4a post_patch() { if [ "$XBPS_TARGET_LIBC" = "musl" ]; then patch -Np0 -i ${FILESDIR}/musl.patch fi } post_install() { vlicense LICENSE }