# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=paprefs
pkgver=1.2
pkgrel=2
pkgdesc="Configuration dialog for PulseAudio"
url="https://www.freedesktop.org/software/pulseaudio/paprefs/"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	glib-dev
	gtkmm3-dev
	libsigc++-dev
	meson
	pulseaudio-dev
	"
subpackages="$pkgname-lang"
source="https://www.freedesktop.org/software/pulseaudio/paprefs/paprefs-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

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

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
2bc50116528c150060711899c66976179e433f6be36f6b7806f0fd3f66346ce14037875e7f119dc205d2047c3998d78105fa7d7c397dfcf02fb8d3bfec34154c  paprefs-1.2.tar.xz
"