Package Details: mangohud-git 0.6.8.r66.g8450291-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: mangohud, mangohud-common, mangohud-common-git
Provides: mangohud, mangohud-common
Replaces: mangohud-common-git
Submitter: dnmodder
Maintainer: dnmodder (jackun)
Last Packager: dnmodder
Votes: 15
Popularity: 0.41
First Submitted: 2020-02-06 22:40 (UTC)
Last Updated: 2023-01-25 03:24 (UTC)

Required by (15)

Sources (1)

Latest Comments

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

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
}

italoghost commented on 2022-07-14 03:15 (UTC) (edited on 2022-07-14 03:16 (UTC) by italoghost)

Hi!

I am receiving an error of conflicting svg and xml files:

erro: falha ao efetuar a transação (arquivos conflitantes)
/usr/share/icons/hicolor/scalable/apps/io.github.flightlessmango.mangohud.svg existe tanto em "mangohud-common-git" como em "lib32-mangohud-git"
/usr/share/metainfo/io.github.flightlessmango.mangohud.metainfo.xml existe tanto em "mangohud-common-git" como em "lib32-mangohud-git"
/usr/share/icons/hicolor/scalable/apps/io.github.flightlessmango.mangohud.svg existe tanto em "mangohud-common-git" como em "mangohud-git"
/usr/share/metainfo/io.github.flightlessmango.mangohud.metainfo.xml existe tanto em "mangohud-common-git" como em "mangohud-git"
/usr/share/icons/hicolor/scalable/apps/io.github.flightlessmango.mangohud.svg existe tanto em "lib32-mangohud-git" como em "mangohud-git"
/usr/share/metainfo/io.github.flightlessmango.mangohud.metainfo.xml existe tanto em "lib32-mangohud-git" como em "mangohud-git"
Ocorreram erros e, portanto, nenhum pacote foi atualizado.

I suspect that it has something related to this commit as I was prompted with an warning that "appstreamcli" could not been found.

But even after installing the appstream package I couldn't install mangohud due to the errors above.

churro commented on 2022-05-05 19:00 (UTC)

From what I see here https://github.com/flightlessmango/MangoHud#dependencies dbus and libxnvctrl should be marked as optional dependencies (the latter is marked as optional here but also as a make dependency anyway).

dnmodder commented on 2022-03-17 03:46 (UTC)

The problem is now fixed, thanks to Mubashshir, he made some useful changes and mailed them to me. I don't understand what Mangoapp is for outside of GameScope and Steam Deck so for now it's not enabled in this package.

Billli11 commented on 2022-03-16 07:27 (UTC) (edited on 2022-03-16 08:14 (UTC) by Billli11)

@zany130

add

mv "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.json" "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.x86.json"

under

mv "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.json" "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.x86.json"

should fix it.

Also there are a PKBUILD in the repo now. Should we update the file base on that?

zany130 commented on 2022-03-16 00:51 (UTC)

when trying to install alongside mangohud-git it gives this

error lib32-mangohud-git: /usr/share/vulkan/implicit_layer.d/libMangoApp.json exists in filesystem (owned by mangohud-git)