# Maintainer: Brett Cornwall # Maintainer: Maxim Baz <$pkgname at maximbaz dot com> pkgname=waybar pkgver=0.9.17 pkgrel=1 pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors' arch=('x86_64') url="https://github.com/Alexays/Waybar/" license=('MIT') depends=( 'gtkmm3' 'libjsoncpp.so' 'libsigc++' 'fmt' 'jack' 'libjack.so' 'wayland' 'libdate-tz.so' 'libspdlog.so' 'gtk-layer-shell' 'libupower-glib.so' 'upower' 'libevdev' 'libinput' 'libpulse' 'libnl' 'libappindicator-gtk3' 'libdbusmenu-gtk3' 'libmpdclient' 'libsndio.so' 'libxkbcommon' 'libwireplumber' 'playerctl' ) makedepends=( 'cmake' 'catch2' 'meson' 'scdoc' # For generating manpages 'wayland-protocols' ) backup=( etc/xdg/waybar/config etc/xdg/waybar/style.css ) optdepends=( 'otf-font-awesome: Icons in the default configuration' ) source=("$pkgname-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz") sha256sums=('da6f448be343a593ee092486fb4744502aa1e6ad85f4eccc3670d0b84a2a4266') build() { cd "Waybar-$pkgver" # TODO tests depend on catch2 v3 meson --prefix=/usr \ --buildtype=plain \ --auto-features=enabled \ --wrap-mode=nodownload \ -Dtests=disabled \ build ninja -C build } package() { cd "Waybar-$pkgver" DESTDIR="$pkgdir" ninja -C build install install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" }