blob: 39ecdd8aabe4be2d454a596c4dfdd31300bc67cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
# Maintainer: Joerg Weislogel <mutoroglin at posteo dot de>
pkgname=waybar-cava
pkgver=0.12.0
pkgrel=1
pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors, with module cava (Cross-platform Audio Visualizer)'
arch=('x86_64')
url='https://github.com/Alexays/Waybar/'
license=('MIT')
provides=('waybar')
conflicts=('waybar')
# 'libdate-tz.so'
depends=(
'gtkmm3'
'libjsoncpp.so'
'libsigc++'
'fmt'
'jack' 'libjack.so'
'wayland'
'spdlog'
'gtk-layer-shell'
'libupower-glib.so'
'upower'
'libevdev'
'libinput'
'libpulse'
'libnl'
'libappindicator-gtk3'
'libdbusmenu-gtk3'
'libmpdclient'
'libsndio.so'
'libxkbcommon'
'wireplumber'
'playerctl'
'libcava'
'glib2-devel'
)
makedepends=(
'cmake'
'catch2'
'meson'
'scdoc'
'wayland-protocols'
)
backup=(
etc/xdg/waybar/config.jsonc
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=('80454a0778176f575c112bdef9107f272621b578aa629bcc257ad9844a6c7165')
prepare() {
echo $(pwd)
}
build() {
cd "Waybar-${pkgver}"
meson setup \
--prefix=/usr \
--buildtype=plain \
--auto-features=disabled \
--wrap-mode=nodownload \
-Dexperimental=true \
-Ddbusmenu-gtk=enabled \
-Dlibinput=enabled \
-Dlibnl=enabled \
-Dupower_glib=enabled \
-Dmpris=enabled \
-Dpulseaudio=enabled \
-Dlibevdev=enabled \
-Dlibudev=enabled \
-Dmpd=enabled \
-Djack=enabled \
-Drfkill=enabled \
-Dsndio=enabled \
-Dsystemd=enabled \
-Dlogind=enabled \
-Dman-pages=enabled \
-Dwireplumber=enabled \
-Dcava=enabled \
-Dtests=disabled \
build
# -Dgtk-layer-shell=enabled \
ninja -C build
}
package() {
cd "${srcdir}/Waybar-${pkgver}"
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
|