git: ee6c2f31124e - main - audio/go-librespot: Update 0.7.1 => 0.9.0

From: Yusuf Yaman <nxjoseph_at_FreeBSD.org>
Date: Fri, 04 Sep 2026 21:23:59 UTC
The branch main has been updated by nxjoseph:

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

commit ee6c2f31124efc05d085f8e5b434b05cc15e00a2
Author:     Alexandre Biancalana <ale@biancalanas.net>
AuthorDate: 2026-09-04 21:19:28 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-09-04 21:23:44 +0000

    audio/go-librespot: Update 0.7.1 => 0.9.0
    
    While here, sort LIB_DEPENDS (pet portfmt).
    
    Changelogs:
    - https://github.com/devgianlu/go-librespot/releases/tag/v0.7.2
    - https://github.com/devgianlu/go-librespot/releases/tag/v0.7.3
    - https://github.com/devgianlu/go-librespot/releases/tag/v0.7.4
    - https://github.com/devgianlu/go-librespot/releases/tag/v0.8.0
    - https://github.com/devgianlu/go-librespot/releases/tag/v0.9.0
    
    PR:             298179
    Reported by:    Alexandre Biancalana <ale@biancalanas.net> (maintainer)
    Approved by:    osa, vvd (Mentors, implicit)
    MFH:            2026Q3
---
 audio/go-librespot/Makefile         | 16 +++++++---------
 audio/go-librespot/distinfo         | 10 +++++-----
 audio/go-librespot/files/config.yml | 20 ++++++++++++++++++++
 3 files changed, 32 insertions(+), 14 deletions(-)

diff --git a/audio/go-librespot/Makefile b/audio/go-librespot/Makefile
index 5eef2d76f419..adf53beefa19 100644
--- a/audio/go-librespot/Makefile
+++ b/audio/go-librespot/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	go-librespot
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.7.1
-PORTREVISION=	5
+DISTVERSION=	0.9.0
 CATEGORIES=	audio
 
 MAINTAINER=	ale@biancalanas.net
@@ -11,10 +10,11 @@ WWW=		https://github.com/devgianlu/go-librespot
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libogg.so:audio/libogg \
-		libasound.so:audio/alsa-lib \
-		libvorbis.so:audio/libvorbis \
-		libFLAC.so:audio/flac
+LIB_DEPENDS=	libasound.so:audio/alsa-lib \
+		libFLAC.so:audio/flac \
+		libmpg123.so:audio/mpg123 \
+		libogg.so:audio/libogg \
+		libvorbis.so:audio/libvorbis
 
 USES=		go:modules pkgconfig
 USE_RC_SUBR=	${PORTNAME}
@@ -22,9 +22,7 @@ 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=b030f614627bb83d51b76013a45686150543d5e9"
+GO_BUILDFLAGS=	-ldflags "-X github.com/devgianlu/go-librespot.version=${DISTVERSION}"
 
 post-install:
 	${MKDIR} ${STAGEDIR}${ETCDIR}
diff --git a/audio/go-librespot/distinfo b/audio/go-librespot/distinfo
index 9a137e28ce0e..b3e1bfc07133 100644
--- a/audio/go-librespot/distinfo
+++ b/audio/go-librespot/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1778425690
-SHA256 (go/audio_go-librespot/go-librespot-v0.7.1/v0.7.1.mod) = a826b5c42929f833ae5aca1124da2477ae3ebd84ca1f77a565f92ea56f26e92e
-SIZE (go/audio_go-librespot/go-librespot-v0.7.1/v0.7.1.mod) = 1799
-SHA256 (go/audio_go-librespot/go-librespot-v0.7.1/v0.7.1.zip) = d0cd6857f4267e7c6686353d0075281a54a1974c97de6e40e07c49c26d3f04a9
-SIZE (go/audio_go-librespot/go-librespot-v0.7.1/v0.7.1.zip) = 462904
+TIMESTAMP = 1788529917
+SHA256 (go/audio_go-librespot/go-librespot-v0.9.0/v0.9.0.mod) = a826b5c42929f833ae5aca1124da2477ae3ebd84ca1f77a565f92ea56f26e92e
+SIZE (go/audio_go-librespot/go-librespot-v0.9.0/v0.9.0.mod) = 1799
+SHA256 (go/audio_go-librespot/go-librespot-v0.9.0/v0.9.0.zip) = dbe9e75b1df9655255ce623b54fe1f7312787f052f529b8eb0fa2fc30dd6d857
+SIZE (go/audio_go-librespot/go-librespot-v0.9.0/v0.9.0.zip) = 648168
diff --git a/audio/go-librespot/files/config.yml b/audio/go-librespot/files/config.yml
index 60a087651df9..099fb37e5cb1 100644
--- a/audio/go-librespot/files/config.yml
+++ b/audio/go-librespot/files/config.yml
@@ -1 +1,21 @@
 log_disable_timestamp: true
+
+# Crossfade duration between tracks in milliseconds (0 to disable).
+#crossfade_duration: 0
+
+# Whether to wait for a reader to connect to the FIFO before starting playback,
+# instead of failing if none is present (e.g. snapcast with dryout).
+#audio_output_pipe_wait_for_reader: false
+
+# Whether to try Spotify accesspoints on ports 443 and 80 before the default
+# 4070, for networks that only allow those outbound. Does not affect the dealer
+# or spclient, which already use 443.
+#prefer_firewall_friendly_ports: false
+
+# On-disk cache for downloaded (encrypted) audio files, to avoid re-downloading
+# them from the CDN.
+#cache:
+#  enabled: false
+#  dir: ""
+#  size_limit: "1GB"
+