git: 50ab1ba01366 - main - audio/go-librespot: Update 0.5.0 => 0.5.3

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sun, 09 Nov 2025 14:01:13 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=50ab1ba013662957172001317b41a1c5c6dadc1a

commit 50ab1ba013662957172001317b41a1c5c6dadc1a
Author:     Alexandre Biancalana <ale@biancalanas.net>
AuthorDate: 2025-11-09 13:50:28 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-11-09 14:00:40 +0000

    audio/go-librespot: Update 0.5.0 => 0.5.3
    
    Changelogs:
    https://github.com/devgianlu/go-librespot/releases/tag/v0.5.1
    https://github.com/devgianlu/go-librespot/releases/tag/v0.5.2
    https://github.com/devgianlu/go-librespot/releases/tag/v0.5.3
    
    While here split long line GO_BUILDFLAGS.
    
    PR:     290910
---
 audio/go-librespot/Makefile | 10 ++++++----
 audio/go-librespot/distinfo | 10 +++++-----
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/audio/go-librespot/Makefile b/audio/go-librespot/Makefile
index ffdbe4a063ed..b92709660cf2 100644
--- a/audio/go-librespot/Makefile
+++ b/audio/go-librespot/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	go-librespot
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.5.0
-PORTREVISION=	3
+DISTVERSION=	0.5.3
 CATEGORIES=	audio
 
 MAINTAINER=	ale@biancalanas.net
@@ -13,7 +12,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libogg.so:audio/libogg \
 		libasound.so:audio/alsa-lib \
-		libvorbis.so:audio/libvorbis
+		libvorbis.so:audio/libvorbis \
+		libFLAC.so:audio/flac
 
 USES=		go:modules pkgconfig
 USE_RC_SUBR=	${PORTNAME}
@@ -21,7 +21,9 @@ USE_RC_SUBR=	${PORTNAME}
 GO_MODULE=	github.com/devgianlu/go-librespot
 
 GO_TARGET=	./cmd/daemon:${PREFIX}/bin/go-librespot
-GO_BUILDFLAGS=	-ldflags "-X github.com/devgianlu/go-librespot.version=${DISTVERSION} -X github.com/devgianlu/go-librespot.commit=fc55ed0"
+GO_BUILDFLAGS=	-ldflags "\
+		-X github.com/devgianlu/go-librespot.version=${DISTVERSION} \
+		-X github.com/devgianlu/go-librespot.commit=ab178ff"
 
 post-install:
 	${MKDIR} ${STAGEDIR}${ETCDIR}
diff --git a/audio/go-librespot/distinfo b/audio/go-librespot/distinfo
index 6880489138e4..8086a2b1c63c 100644
--- a/audio/go-librespot/distinfo
+++ b/audio/go-librespot/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1759670837
-SHA256 (go/audio_go-librespot/go-librespot-v0.5.0/v0.5.0.mod) = dfb7c599404395927cf1755213c311f48ea63344b30f1f516be4c57bb4ea8654
-SIZE (go/audio_go-librespot/go-librespot-v0.5.0/v0.5.0.mod) = 1828
-SHA256 (go/audio_go-librespot/go-librespot-v0.5.0/v0.5.0.zip) = db94a0c511f586d5e1662417c82c1debf1bc01934440d22e2dc37ab18a78d2eb
-SIZE (go/audio_go-librespot/go-librespot-v0.5.0/v0.5.0.zip) = 424569
+TIMESTAMP = 1762685080
+SHA256 (go/audio_go-librespot/go-librespot-v0.5.3/v0.5.3.mod) = dfb7c599404395927cf1755213c311f48ea63344b30f1f516be4c57bb4ea8654
+SIZE (go/audio_go-librespot/go-librespot-v0.5.3/v0.5.3.mod) = 1828
+SHA256 (go/audio_go-librespot/go-librespot-v0.5.3/v0.5.3.zip) = 1bb1f08e099cce605847f436264b2f46e0256d58dc53cb8bceee5f72d3e5d9d7
+SIZE (go/audio_go-librespot/go-librespot-v0.5.3/v0.5.3.zip) = 458975