blob: 522e4d15cc2640157edd66fc8329c6fb001231bc (
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
|
# Maintainer: Eragon <eragon at eragon dot re>
# Contributor: Moritz Poldrack <moritz at poldrack dot dev>
# Contributor: tinywrkb <tinywrkb@gmail.com>
# Contributor: dnkl
pkgname=yambar-wayland
_pkgname=yambar
pkgver=1.9.0
pkgrel=5
pkgdesc="Simplistic and highly configurable status panel for Wayland (No X11 support)"
arch=('any')
url=https://codeberg.org/dnkl/yambar
license=('MIT')
conflicts=('yambar')
provides=('yambar')
makedepends=(
'meson'
'ninja'
'scdoc'
'tllist')
depends=(
'wayland'
'pixman'
'libyaml'
'libudev.so'
'libpulse'
'pipewire'
'fcft')
# FIXME : I can't test if theses are really optional - Eragon
optdepends=(
'alsa-lib: for the ALSA module'
'json-c: for the XKB module'
'libmpdclient: for the MPD module')
source=("${pkgname}-${pkgver}.tar.gz::https://codeberg.org/dnkl/${_pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('46f3002338f451c154678167bf3d5f593307954b6f381c50ddef2726b1a8c811')
build() {
cd $_pkgname
meson --buildtype=release \
--prefix=/usr \
--wrap-mode=nofallback \
-Db_lto=true \
-Dbackend-x11=disabled \
-Dbackend-wayland=enabled \
./build
ninja -C build
}
check() {
cd $_pkgname
ninja -C build test
}
package() {
cd $_pkgname
DESTDIR="${pkgdir}/" ninja -C build install
}
|