36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Template file for 'MangoHud'
|
|
pkgname=MangoHud
|
|
version=0.8.2
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Dwith_xnvctrl=disabled
|
|
-Dwith_nvml=disabled -Duse_system_spdlog=enabled -Dmangoapp=true"
|
|
hostmakedepends="Vulkan-Headers python3-Mako glslang pkg-config"
|
|
makedepends="libglvnd-devel dbus-devel vulkan-loader spdlog json-c++
|
|
wayland-devel libxkbcommon-devel glfw-devel glew-devel"
|
|
short_desc="Vulkan and OpenGL overlay for monitoring FPS, temperatures and more"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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=d5198ebf6cfdd2d8457c06bb11fdc3145012b666e81e669c958986675379e306
|
|
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
|
|
}
|
|
|
|
MangoHud-mangoapp_package() {
|
|
short_desc="Transparent background application with a built in mangohud"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/mangoapp
|
|
vmove usr/share/man/man1/mangoapp.1
|
|
}
|
|
}
|