diff --git a/srcpkgs/MangoHud-mangoapp b/srcpkgs/MangoHud-mangoapp new file mode 120000 index 00000000000..36bf513ad59 --- /dev/null +++ b/srcpkgs/MangoHud-mangoapp @@ -0,0 +1 @@ +MangoHud \ No newline at end of file diff --git a/srcpkgs/MangoHud/template b/srcpkgs/MangoHud/template index 4ecb46ed26e..7c11c0533e7 100644 --- a/srcpkgs/MangoHud/template +++ b/srcpkgs/MangoHud/template @@ -4,10 +4,10 @@ version=0.8.0 revision=1 build_style=meson configure_args="-Dwith_xnvctrl=disabled - -Dwith_nvml=disabled -Duse_system_spdlog=enabled" + -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" + wayland-devel libxkbcommon-devel glfw-devel glew-devel" short_desc="Vulkan and OpenGL overlay for monitoring FPS, temperatures and more" maintainer="Orphaned " license="MIT" @@ -24,3 +24,12 @@ 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 + } +}