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

recipes/gui/waybar/PAGBUILD.yaml main

57 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
pkgname: waybar
pkgver: '0.15.0'
pkgrel: '4'
pkgdesc: Highly customizable Wayland bar for Sway and Wlroots based compositors.
url: 'https://github.com/Alexays/Waybar'
arch: x86_64
license:
- MIT
depends:
- gtkmm
- atkmm
- cairomm
- fmt
- glib
- glibmm
- gtk-layer-shell
- gtk3
- jack
- libdbusmenu-gtk
- libnl
- libsigc++
- libxkbcommon
- pipewire
- pulseaudio
- systemd
- upower
- wayland
makedepends:
- systemd
- meson
- wayland-protocols
- catch2
- spdlog
source:
- 'https://github.com/Alexays/Waybar/archive/refs/tags/${pkgver}.tar.gz'
sha256sums:
- 21c2bbef88c40473c355003582f9331d2f9b8a01efdcce0935edfc5f6b023a3e
build: |

  cd ${pkgname}-${pkgver}

  sed -i '1i#define HAVE_WLR' include/factory.hpp
  sed -i '2i#define USE_EXPERIMENTAL' include/factory.hpp
  mkdir build
  cd    build

  meson setup ..                \
         --prefix=/usr          \
              --buildtype=release

  ninja

  DESTDIR=${PKGDIR} ninja install

  install -Dm644 ../LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
package: |
  true