aboutsummaryrefslogtreecommitdiffstats
path: root/community/snapcast/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-21 09:58:48 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-21 10:50:25 -0300
commit82e41f25dee027dd772a39c1c37822b2050dfcf5 (patch)
tree49d26661bb4d04372d8708015cc7c17d361d0c38 /community/snapcast/APKBUILD
parent7b8246d05af5de7c821934fab5843b7a5c2a08c2 (diff)
downloadaports-82e41f25dee027dd772a39c1c37822b2050dfcf5.tar.gz
aports-82e41f25dee027dd772a39c1c37822b2050dfcf5.tar.bz2
aports-82e41f25dee027dd772a39c1c37822b2050dfcf5.tar.xz
community/snapcast: upgrade to 0.16.0
Diffstat (limited to 'community/snapcast/APKBUILD')
-rw-r--r--community/snapcast/APKBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/community/snapcast/APKBUILD b/community/snapcast/APKBUILD
index 23f0499a41..7f9d93c697 100644
--- a/community/snapcast/APKBUILD
+++ b/community/snapcast/APKBUILD
@@ -1,19 +1,19 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=snapcast
-pkgver=0.15.0
-pkgrel=4
+pkgver=0.16.0
+pkgrel=0
pkgdesc="Synchronous multi-room audio player"
url="https://github.com/badaix/snapcast"
arch="all"
-license="GPL-3.0"
+license="GPL-3.0-or-later"
depends="$pkgname-client $pkgname-server"
makedepends="asio-dev bash avahi-dev flac-dev libvorbis-dev alsa-lib-dev aixlog popl"
pkgusers="$pkgname"
pkggroups="$pkgname audio"
install="$pkgname-client.pre-install $pkgname-server.pre-install"
subpackages="$pkgname-doc $pkgname-client $pkgname-server"
-source="$pkgname-$pkgver.tar.gz::https://github.com/badaix/$pkgname/archive/v$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/badaix/snapcast/archive/v$pkgver.tar.gz
respect-optimization-level.patch
$pkgname-client.initd
@@ -21,21 +21,17 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/badaix/$pkgname/archive/v$pk
$pkgname-server.initd
$pkgname-server.confd
"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
client/snapclient --help > /dev/null
server/snapserver --help > /dev/null
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" installclient installserver
}
@@ -47,9 +43,9 @@ client() {
mv "$pkgdir"/usr/bin/snapclient \
"$subpkgdir"/usr/bin/
- install -Dm755 "$srcdir"/"$subpkgname.initd" \
+ install -Dm755 "$srcdir/$subpkgname.initd" \
"$subpkgdir"/etc/init.d/"$subpkgname"
- install -Dm644 "$srcdir"/"$subpkgname.confd" \
+ install -Dm644 "$srcdir/$subpkgname.confd" \
"$subpkgdir"/etc/conf.d/"$subpkgname"
}
@@ -61,14 +57,14 @@ server() {
mv "$pkgdir"/usr/bin/snapserver \
"$subpkgdir"/usr/bin/
- install -Dm755 "$srcdir"/"$subpkgname.initd" \
+ install -Dm755 "$srcdir/$subpkgname.initd" \
"$subpkgdir"/etc/init.d/"$subpkgname"
- install -Dm644 "$srcdir"/"$subpkgname.confd" \
+ install -Dm644 "$srcdir/$subpkgname.confd" \
"$subpkgdir"/etc/conf.d/"$subpkgname"
}
-sha512sums="3751eeaa9be4ffd5c7633b8770f36e87360ab83004f090a8350e377f60a79d9502b92b92c5c9c35f513705e6484d113de9942f0a896824d7c5f806ba0010e84e snapcast-0.15.0.tar.gz
-85792a3edf8de76228d8114992f6fdfba6321aeca29d1f773038e88b96e1d6cdf9b6e3993eb09da934c8f561977827cb57f4b435c99405e5a2b4645edd2b5bd2 respect-optimization-level.patch
+sha512sums="fbffb276ae32a576b225464f586e66a5462e7b9649df2435db30fe8cede8eda971250680950d27ea3f5d243783ac56dc7e3a77858bcc66c0912d3a8092355592 snapcast-0.16.0.tar.gz
+9a4d35ffc4146f29ab0eef0fbb4444f50f4bb3fe3b8f30aaef90f8300819523b111f3ab672229dc72854b2d8cefe361caf9c29883983758e5e3f96913f134bc4 respect-optimization-level.patch
833ce6a5fecb023f32df340df98b5cfbecc765735d7133228dd703a6a0c7f2b67ac95aa787ac7119a2eb87e768e5c4deb12738d0b0354db3510d9047f9e9b24f snapcast-client.initd
fa353d7974d3a8b3b22ff009b762c7c4ee318f9f83e22762a9ebf550484b9fc3cc4dffd389b6d756630dc035cb86d5c5643541957785f8bbf71fe4915691c337 snapcast-client.confd
ff610e08274d317e0df9590de47f3425d23a38528f82b9998de04d73cf2167ddb6aad237ddce9864b6c36fff959afb6a892c554ce40fd3e3d62c1308b022b2bb snapcast-server.initd