aboutsummaryrefslogtreecommitdiffstats
path: root/testing/paprefs/APKBUILD
blob: 65cfe1a6e416875ba323da21e675b2f2f3b7ad3d (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=paprefs
pkgver=1.1
pkgrel=0
pkgdesc="Configuration dialog for PulseAudio"
url="https://freedesktop.org/software/pulseaudio/paprefs/"
arch="all !s390x" # Limited by pulseaudio
license="GPL-2.0-or-later"
makedepends="
	meson
	pulseaudio-dev
	gtkmm3-dev
	libsigc++-dev
	glib-dev
	"
subpackages="$pkgname-lang"
source="http://freedesktop.org/software/pulseaudio/paprefs/paprefs-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libdir=/usr/lib \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="4203fcb485b40223a5c8672fdbbd2875a25d05d85366773015728f54a17020098ee9e9fd1c02180c01799e100b99389c970855fc1bd69921d32d8e43c749ce76  paprefs-1.1.tar.xz"