27 lines
877 B
Bash
27 lines
877 B
Bash
# Template file for 'MangoHud'
|
|
pkgname=MangoHud
|
|
version=0.6.3
|
|
revision=2
|
|
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 <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=c0d27e1f3ab1fce99ea1cfb48afe97dcad1c78dfc72c9ab9dbcb0ce2366909ec
|
|
|
|
post_patch() {
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
patch -Np0 -i ${FILESDIR}/musl.patch
|
|
fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|