# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=pavucontrol
pkgver=5.0+r66+gc330506
pkgrel=1
epoch=1
pkgdesc="PulseAudio Volume Control"
url="https://freedesktop.org/software/pulseaudio/pavucontrol/"
arch=(armv7h)
license=(GPL-2.0-or-later)
depends=(
atkmm
gcc-libs
glib2
glibc
glibmm
gtk3
gtkmm3
json-glib
libcanberra
libpulse
libsigc++
)
makedepends=(
git
lynx
meson
)
#checkdepends=(tidy)
optdepends=("pulseaudio: Audio backend")
_commit=c330506815f78f77f6685cb40749679eae789d63 # master
source=("git+https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git#commit=$_commit")
b2sums=('5601fbcb53a5545e86bc179c3e2c2b8d1c0ad1b31a3251e90011368151495668493a6737e359cc6d9c2c5e8d8c964f137a96af69f1b984f7a31318619532360c')
pkgver() {
cd pavucontrol
git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd pavucontrol
}
build() {
arch-meson pavucontrol build
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: