summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f06a0cbb61f28b5d3234bc9ce35e582510dcfb59 (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
pkgname=pulsecontrol-git
pkgver=0.9
pkgrel=1
pkgdesc="A fork of pavucontrol aiming at better UX"
url="https://gitlab.freedesktop.org/oxayotl/pavucontrol/-/tree/fork"
arch=(x86_64)
license=(GPL)
depends=(
  gtkmm-4.0
  json-glib
  libcanberra
  libadwaita
)
makedepends=(
  git
  meson
)
checkdepends=(tidy)
optdepends=("pulseaudio: Audio backend")
source=("git+https://gitlab.freedesktop.org/oxayotl/pavucontrol.git#branch=fork")
b2sums=('SKIP')

pkgver() {
  cd pavucontrol
  git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}

prepare() {
  cd pavucontrol
}

build() {
  arch-meson pavucontrol build -Dlynx=false
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  meson install -C build --destdir "$pkgdir"
}

# vim:set sw=2 sts=-1 et: