Package Details: mangohud-git 0.7.2.r110.g24d3cd9-1

Git Clone URL: https://aur.archlinux.org/mangohud-git.git (read-only, click to copy)
Package Base: mangohud-git
Description: A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more
Upstream URL: https://github.com/flightlessmango/MangoHud
Keywords: benchmark hud opengl overlay performance vulkan
Licenses: MIT
Conflicts: mangoapp, mangohud, mangohud-common-git
Provides: mangoapp, mangohud
Replaces: mangoapp
Submitter: dnmodder
Maintainer: dnmodder (jackun)
Last Packager: dnmodder
Votes: 25
Popularity: 0.36
First Submitted: 2020-02-06 22:40 (UTC)
Last Updated: 2024-12-08 18:34 (UTC)

Required by (28)

Sources (1)

Pinned Comments

d-air1 commented on 2024-05-21 03:05 (UTC)

Can whoever keeps flagging this out of date state why? This package is installing its own version of imgui and implot is not required. This package builds just fine without it. If for some reason you need that then can you have a discussion with the maintainer of the package instead of having everyone who uses this package get messages about it being out of date for the same reasons when it works just fine.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

XenHat commented on 2023-01-13 20:24 (UTC)

Not building in a clean chroot here, also getting /usr/bin/ld: /usr/lib/libGLEW.so: error adding symbols: file in wrong format

MithicSpirit commented on 2023-01-11 13:28 (UTC)

Getting a similar issue, but mine is failing earlier (at glew). Likely due to me building in a clean chroot.

dnmodder commented on 2023-01-11 11:39 (UTC)

I'll try to fix it today.

pkr commented on 2023-01-11 10:05 (UTC) (edited on 2023-01-11 10:07 (UTC) by pkr)

Hi, current version is not building. I'm suspecting the listing of a dependency is missing somewhere. At least this is what the error message suggests.

Take a look:


imgui| C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (GCC) 12.2.0")
imgui| C++ linker for the host machine: c++ ld.bfd 2.39.0
imgui| Library d3d9 skipped: feature dx9 disabled
imgui| Library d3d10 skipped: feature dx10 disabled
imgui| Library d3d11 skipped: feature dx11 disabled
imgui| Library d3d12 skipped: feature dx12 disabled
imgui| Library metal skipped: feature metal disabled
imgui| Run-time dependency glew found: YES 2.2.0
imgui| Dependency vulkan skipped: feature vulkan disabled
imgui| Found CMake: /usr/bin/cmake (3.25.1)
imgui| Run-time dependency glfw3 found: NO (tried pkgconfig and cmake)

mangohud/subprojects/imgui-1.81/meson.build:50:0: ERROR: Dependency "glfw3" not found, tried pkgconfig and cmake

italoghost commented on 2023-01-10 17:53 (UTC)

Hi! Since latest commits, MangoApp is being installed by default. Could you add it to the package too? It is useful for launching games with gamescope.

Samsagax commented on 2022-11-30 12:20 (UTC)

Thanks @dnmodder. Maybe take inspiration from stable mangohud and lib32-mangohud packages. They are split

dnmodder commented on 2022-11-28 01:47 (UTC)

@Samsagax I was trying but I think I'm going to separate this package in two, this one for 64 bits only and I'll create another one for 32 bits.

Samsagax commented on 2022-11-27 18:24 (UTC)

Hello. Could you add mangoapp to the build? Would be nice to have mangoapp-git alongside mangohud-git

dnmodder commented on 2022-07-14 16:10 (UTC)

@jackun I don't have much time lately to review this, I made you co-manager.

jackun commented on 2022-07-14 14:49 (UTC) (edited on 2022-07-14 15:29 (UTC) by jackun)

Updated master to use meson 0.60 install_tag. Uses mostly default tags except scriptsfor mangohud shell script and mangoapp for mangoapp stuff.

diff --git a/PKGBUILD b/PKGBUILD
index be438e2..bfd9c16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,8 +51,7 @@ package_mangohud-git() {
     optdepends=('bash: mangohud helper script'
                 'libxnvctrl: support for older NVIDIA GPUs')

-    DESTDIR="$pkgdir" ninja -C build64 install
-    rm -r "$pkgdir/usr/bin" "$pkgdir/usr/share/doc" "$pkgdir/usr/share/man"  "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.json"
+    meson install --destdir="$pkgdir" -C build64 --tags runtime
 }

 package_lib32-mangohud-git() {
@@ -63,8 +62,7 @@ package_lib32-mangohud-git() {
     replaces=('lib32-vulkan-mesa-layer-mango')
     optdepends=('lib32-libxnvctrl: support for older NVIDIA GPUs')

-    DESTDIR="$pkgdir" ninja -C build32 install
-    rm -r "$pkgdir/usr/bin" "$pkgdir/usr/share/doc" "$pkgdir/usr/share/man" "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.json"
+    meson install --destdir="$pkgdir" -C build32 --tags runtime
     mv "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.json" "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.x86.json"
 }

@@ -73,8 +71,7 @@ package_mangohud-common-git() {
     conflicts=('mangohud-common')
     provides=("mangohud-common=$pkgver")

-    DESTDIR="$pkgdir" ninja -C build64 install
-    rm -r "$pkgdir/usr/lib" "$pkgdir/usr/share/vulkan"
+    meson install --destdir="$pkgdir" -C build64 --tags man,doc,scripts

     install -Dm664 "$_pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$_pkgbase/LICENSE"
 }

Maybe mangohud-control too... (argh, needs separate build() too i guess)

build() {
...
    python -m build --wheel --no-isolation "$_pkgbase/control"
...
}

package_mangohud-control-git() {
    pkgdesc='A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more'
    conflicts=('mangohud-control')
    provides=("mangohud-control=$pkgver")

    python -m installer --destdir="$pkgdir" "$_pkgbase"/control/dist/*.whl
}