mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
Plaintext
# Contributor: Luca Weiss <luca@z3ntu.xyz>
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
pkgname=waybar
|
|
pkgver=0.9.17
|
|
pkgrel=2
|
|
pkgdesc="Highly customizable Wayland bar for Sway and Wlroots based compositors"
|
|
url="https://github.com/Alexays/Waybar/"
|
|
# s390x: no wireplumber (but who uses it there anyway)
|
|
arch="all !s390x"
|
|
license="MIT"
|
|
depends="tzdata"
|
|
makedepends="
|
|
date-dev
|
|
eudev-dev
|
|
fmt-dev
|
|
gtk-layer-shell-dev
|
|
gtkmm3-dev
|
|
jsoncpp-dev
|
|
libdbusmenu-gtk3-dev
|
|
libinput-dev
|
|
libmpdclient-dev
|
|
libnl3-dev
|
|
meson
|
|
playerctl-dev
|
|
pulseaudio-dev
|
|
scdoc
|
|
spdlog-dev
|
|
sndio-dev
|
|
wireplumber-dev
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/Alexays/Waybar/archive/$pkgver/Waybar-$pkgver.tar.gz
|
|
config-fix-clock.patch
|
|
"
|
|
options="!check" # No test suite
|
|
builddir="$srcdir/Waybar-$pkgver"
|
|
|
|
build() {
|
|
# -Ddefault_library=shared - to override the project defaults.
|
|
abuild-meson \
|
|
-Ddefault_library=shared \
|
|
-Ddbusmenu-gtk=enabled \
|
|
-Dgtk-layer-shell=enabled \
|
|
-Dlibevdev=disabled \
|
|
-Dlibnl=enabled \
|
|
-Dlibudev=enabled \
|
|
-Dman-pages=enabled \
|
|
-Dmpd=enabled \
|
|
-Dmpris=enabled \
|
|
-Dpulseaudio=enabled \
|
|
-Drfkill=enabled \
|
|
-Dsndio=enabled \
|
|
-Dsystemd=disabled \
|
|
-Dwireplumber=enabled \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
51aba7649c0e2ad3ccf22f6ede3cdf9be9c84268d31d39c5eac62e150e3b115f5560b70ebd54242fd856abec0cca5eba405f1ec153cac4cd6623523f6b19189f Waybar-0.9.17.tar.gz
|
|
173857d836630925658af5d1c1aa3630fe91d08a8bad09a63d724fd6dc622fc063a9bc936008dfe776573a263f1a90ad9d9f3e11eba6930448dc0a132e106af2 config-fix-clock.patch
|
|
"
|