summaryrefslogtreecommitdiff
path: root/testing/noson/APKBUILD
blob: 2beaa50e44c82e018309df57235a9738c9d906db (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
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=noson
pkgver=2.8.6
pkgrel=1
pkgdesc="An easy client interface to drive SONOS player"
url="https://github.com/janbar/noson"
arch="all"
license="GPL-3.0-only"
subpackages="$pkgname-dev $pkgname-dbg"
makedepends="
	cmake
	flac-dev
	openssl-dev>3
	pulseaudio-dev
	zlib-dev
	"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/janbar/noson/archive/$pkgver.tar.gz
	"
options="!check" # No unit tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=1
	make -C build
}

package() {
	make DESTDIR="$pkgdir" install -C build
}

sha512sums="
88cb6b60eab117ffb3e55f64e99349c73704272b8ab1595ca06ba1bd4027636116673bbfcdf67f8790f0aa59fd0b2bc77522ab87e62f678431126d5cfa4d7973  noson-2.8.6.tar.gz
"