From 8e4c7519edb3a3b4b457f649a8f5728fbcec33f0 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 22 Jun 2020 16:04:50 +0200 Subject: [PATCH] New package: MangoHud-0.4.1 --- srcpkgs/MangoHud/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/MangoHud/template diff --git a/srcpkgs/MangoHud/template b/srcpkgs/MangoHud/template new file mode 100644 index 00000000000..6d105e2bacd --- /dev/null +++ b/srcpkgs/MangoHud/template @@ -0,0 +1,24 @@ +# Template file for 'MangoHud' +pkgname=MangoHud +version=0.4.1 +revision=1 +create_wrksrc=yes +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 " +license="MIT" +homepage="https://github.com/flightlessmango/MangoHud" +distfiles="https://github.com/flightlessmango/MangoHud/releases/download/v${version}/MangoHud-v${version}-Source.tar.gz" +checksum=2ae39785bb091049d01661b8700cda610b9373b9c692c20d6ea64821e8e89d60 +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 +}