PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/gui/mangohud/PAGBUILD.yaml main

49 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
pkgname: mangohud
pkgver: '0.8.4'
pkgrel: '1'
pkgdesc: 'Vulkan/OpenGL FPS overlay (MangoHud) z wykresami i statystykami GPU/CPU'
url: 'https://github.com/flightlessmango/MangoHud'
arch: x86_64
license:
- MIT

depends:
- xorg-libx11
- libxkbcommon
- wayland
- dbus
- gcc

makedepends:
- meson
- ninja
- xorg-libx11
- libxkbcommon
- wayland
- dbus
- python
- pkgconf
- gcc

source:
- 'https://github.com/flightlessmango/MangoHud/archive/refs/tags/v${pkgver}.tar.gz'
sha256sums:
- 0f79671dbc825f33d7014088cb7750c166934ade26bbd6007a171aa2d960cd2f

build: |
  cd MangoHud-${pkgver}

  # Uwaga: generator pagbuild zamienia literalne "=disabled" na "=false",
  # a te opcje są typu feature/combo (nie bool). Przekazujemy przez zmienną,
  # żeby ominąć tę zamianę.
  OFF=disabled
  meson setup build --prefix=/usr --buildtype=release \
    -Dwith_xnvctrl=$OFF \
    -Dwith_nvml=$OFF \
    -Dmangoplot=$OFF

  meson compile -C build
  DESTDIR=${PKGDIR} meson install -C build

package: |
  true