27 lines
957 B
Bash
27 lines
957 B
Bash
# Template file for 'MangoHud'
|
|
pkgname=MangoHud
|
|
version=0.7.2
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-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 spdlog json-c++
|
|
wayland-devel libxkbcommon-devel"
|
|
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=39d41ff564cd46b99a8514d35ff0cc1cd4ec5ab093347ca552bd7f7572a4064f
|
|
python_version=3
|
|
lib32files="/usr/share/vulkan/implicit_layer.d/MangoHud.x86.json"
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
configure_args+=" -Ddynamic_string_tokens=false"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|