Subject: [PATCH] community/gonic: upgrade to 0.13.1

From: Alex McGrath <[email-masked]>
Date: Wed, 22 Sep 2021 12:39:20 +0100

---

This also removes the dependency on binutils-gold so it can also
hopefully build on riscv

 community/gonic/APKBUILD | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/community/gonic/APKBUILD b/community/gonic/APKBUILD
index 9d85d9f211..f3fde04949 100644
--- a/community/gonic/APKBUILD
+++ b/community/gonic/APKBUILD
@@ -1,16 +1,16 @@
 # Contributor: Alex McGrath <[email-masked]>
 # Maintainer: Alex McGrath <[email-masked]>
 pkgname=gonic
-pkgver=0.12.3
-pkgrel=3
+pkgver=0.13.1
+pkgrel=0
+
 pkgdesc="Subsonic compatible music streaming server"
 url="https://github.com/sentriz/gonic"
-# riscv64 blocked by binutils-gold
-arch="all !riscv64"
+arch="all"
 license="GPL-3.0-or-later"
 subpackages="$pkgname-openrc"
 depends="ffmpeg sqlite"
-makedepends="binutils-gold go alsa-lib-dev taglib-dev zlib-dev"
+makedepends="go alsa-lib-dev taglib-dev zlib-dev"
 install="$pkgname.pre-install"
 source="gonic-$pkgver.tar.gz::https://github.com/sentriz/gonic/archive/v$pkgver.tar.gz
 	gonic.initd
@@ -20,7 +20,7 @@ export GOPATH="$srcdir"
 export GO111MODULES=on
 
 build() {
-	./_do_build_server
+	go build -o gonic ./cmd/gonic/gonic.go
 }
 
 check() {
@@ -44,7 +44,7 @@ cleanup_srcdir() {

 sha512sums="
-e12553f532be68c1a343503df0ab8e6923c316f8669afcb7e41aa600a706fbd13f89346e5fffe816c5dd878a07239fbb3c030008aa63055060d28f91dbe78211  gonic-0.12.3.tar.gz
+e280142498ec0c636e0a8c0373877b7aaec6fe43d882f16bbad8bf98b1a34f6c6e06a51aa06a507bb1a353d117e40decd241ec1d2c4cfc40d0b8905d352ed388  gonic-0.13.1.tar.gz
 e8a65612bffd1b62175968cc34a227393364ea6fedd661854bf515cc7306e9266d823544989b671f99beb72b6caf83728fa7c7fd9eedbc85a3e34ea84c1ce269  gonic.initd
 bce2f839f98e2b66010f14e52265a061644867109e43062672bdf3850de51ab8d7b61ea38d7f223de25cf91105ef441b0c1969afc812763702397ed60c0fba4f  gonic.confd
 "
-- 
2.33.0