aboutsummaryrefslogtreecommitdiffstats
path: root/community/snapcast/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-03-18 12:53:17 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-18 18:05:55 +0000
commit7b3abde00eaf6fa7c0b821dd26d461b6073b4aa7 (patch)
treee06b721b43c5f19099ef2647eb3f2d6619ec161b /community/snapcast/APKBUILD
parentbcf4bb34f8702cfc6f7811a7b0b421b47b52b91c (diff)
downloadaports-7b3abde00eaf6fa7c0b821dd26d461b6073b4aa7.tar.gz
aports-7b3abde00eaf6fa7c0b821dd26d461b6073b4aa7.tar.bz2
aports-7b3abde00eaf6fa7c0b821dd26d461b6073b4aa7.tar.xz
community/snapcast: upgrade to 0.19.0
Diffstat (limited to 'community/snapcast/APKBUILD')
-rw-r--r--community/snapcast/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/community/snapcast/APKBUILD b/community/snapcast/APKBUILD
index 8a6f551466..84a5cdac82 100644
--- a/community/snapcast/APKBUILD
+++ b/community/snapcast/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=snapcast
-pkgver=0.18.1
-pkgrel=1
+pkgver=0.19.0
+pkgrel=0
pkgdesc="Synchronous multi-room audio player"
url="https://github.com/badaix/snapcast"
arch="all"
@@ -22,22 +22,23 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/badaix/snapcast/archive/v$pk
options="!check" # No testsuite
build() {
- cmake \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_WITH_FLAC=ON \
-DBUILD_WITH_VORBIS=ON \
-DBUILD_WITH_OPUS=ON \
-DBUILD_WITH_AVAHI=ON
- make
+ make -C build
}
check() {
+ cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" make -C build install
mkdir -p "$pkgdir"/usr/share/man/man1
install client/snapclient.1 "$pkgdir"/usr/share/man/man1/snapclient.1.gz
@@ -72,7 +73,7 @@ server() {
"$subpkgdir"/etc/conf.d/"$subpkgname"
}
-sha512sums="047ca4a6532f2486387464d473c3e253d316fb64896f1a7cc10c61f7c153da9b76903c077cc71f7071423b8153b7b38348485cbe52544b11fe377653fe78cc58 snapcast-0.18.1.tar.gz
+sha512sums="0ea838e565b39a0e34de05fb96a591232990dabcd00b5f24ac86f8e8bb916bedcd3486d2ced6a4f7a83d0ea7926aacb604684743bb2d12838e9442878698076c snapcast-0.19.0.tar.gz
833ce6a5fecb023f32df340df98b5cfbecc765735d7133228dd703a6a0c7f2b67ac95aa787ac7119a2eb87e768e5c4deb12738d0b0354db3510d9047f9e9b24f snapcast-client.initd
fa353d7974d3a8b3b22ff009b762c7c4ee318f9f83e22762a9ebf550484b9fc3cc4dffd389b6d756630dc035cb86d5c5643541957785f8bbf71fe4915691c337 snapcast-client.confd
ff610e08274d317e0df9590de47f3425d23a38528f82b9998de04d73cf2167ddb6aad237ddce9864b6c36fff959afb6a892c554ce40fd3e3d62c1308b022b2bb snapcast-server.initd