diff --git a/audio/go-librespot/Makefile b/audio/go-librespot/Makefile index b025b007000e..adf53beefa19 100644 --- a/audio/go-librespot/Makefile +++ b/audio/go-librespot/Makefile @@ -1,33 +1,31 @@ PORTNAME= go-librespot DISTVERSIONPREFIX= v -DISTVERSION= 0.7.1 -PORTREVISION= 4 +DISTVERSION= 0.9.0 CATEGORIES= audio MAINTAINER= ale@biancalanas.net COMMENT= Yet another open-source Spotify Connect client, written in Go 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} 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} ${INSTALL_DATA} ${FILESDIR}/config.yml ${STAGEDIR}${ETCDIR}/config.yml.sample .include 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" +