23 lines
855 B
Bash
23 lines
855 B
Bash
# Template file for 'MangoHud'
|
|
pkgname=MangoHud
|
|
version=0.6.1
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Duse_system_vulkan=enabled -Dwith_xnvctrl=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/archive/v${version}.tar.gz"
|
|
checksum=a1cb0bef85fd46a6e5e7426b86e0d16714e5ec68f96c724f6f53a357f516f78b
|
|
lib32files="/usr/bin/mangohud.x86 /usr/share/vulkan/implicit_layer.d/MangoHud.x86.json"
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
configure_args+=" --libdir=/usr/lib32"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|