git: 87068b03461c - main - audio/gonic: update to 0.16.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Nov 2023 11:05:55 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=87068b03461ca459e0f1e051c0501e59559b1c8b commit 87068b03461ca459e0f1e051c0501e59559b1c8b Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2023-11-14 11:04:16 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2023-11-14 11:05:48 +0000 audio/gonic: update to 0.16.1 Changelog: https://github.com/sentriz/gonic/blob/v0.16.1/CHANGELOG.md Reported by: portscout --- audio/gonic/Makefile | 5 ++--- audio/gonic/distinfo | 10 +++++----- audio/gonic/files/gonic.in | 3 ++- audio/gonic/files/patch-scanner_scanner.go | 14 -------------- 4 files changed, 9 insertions(+), 23 deletions(-) diff --git a/audio/gonic/Makefile b/audio/gonic/Makefile index bc50717cdd42..dc114d6bd123 100644 --- a/audio/gonic/Makefile +++ b/audio/gonic/Makefile @@ -1,7 +1,6 @@ PORTNAME= gonic DISTVERSIONPREFIX= v -DISTVERSION= 0.15.2 -PORTREVISION= 2 +DISTVERSION= 0.16.1 CATEGORIES= audio net MAINTAINER= tagattie@FreeBSD.org @@ -15,7 +14,7 @@ LIB_DEPENDS= libtag.so:audio/taglib RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ mpv:multimedia/mpv -USES= go:modules pkgconfig sqlite +USES= go:modules,1.21 pkgconfig sqlite USE_RC_SUBR= ${PORTNAME} diff --git a/audio/gonic/distinfo b/audio/gonic/distinfo index 40b11dfe4348..6936819e9723 100644 --- a/audio/gonic/distinfo +++ b/audio/gonic/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1686175235 -SHA256 (go/audio_gonic/gonic-v0.15.2/v0.15.2.mod) = 36827e3efac39ff4dd818ee85e1320105bb6bdec38dfe2b1cbfcb10698ddda4d -SIZE (go/audio_gonic/gonic-v0.15.2/v0.15.2.mod) = 2670 -SHA256 (go/audio_gonic/gonic-v0.15.2/v0.15.2.zip) = e982c9cbd3f1a94747aa88745ab9af7ea524bd13c113eae8aa55d70eb1e60ec1 -SIZE (go/audio_gonic/gonic-v0.15.2/v0.15.2.zip) = 1656682 +TIMESTAMP = 1699952178 +SHA256 (go/audio_gonic/gonic-v0.16.1/v0.16.1.mod) = f80fe35f14dfec59d0fe2e62092da81670fa0b98437ed6edd54c17a517fb4156 +SIZE (go/audio_gonic/gonic-v0.16.1/v0.16.1.mod) = 2908 +SHA256 (go/audio_gonic/gonic-v0.16.1/v0.16.1.zip) = 7dcbd1704688486bdf694a0a1faa1287d740b22903b6a3f5595a27e5df29e114 +SIZE (go/audio_gonic/gonic-v0.16.1/v0.16.1.zip) = 2059696 diff --git a/audio/gonic/files/gonic.in b/audio/gonic/files/gonic.in index 154f544c447d..c028c471ee93 100644 --- a/audio/gonic/files/gonic.in +++ b/audio/gonic/files/gonic.in @@ -16,6 +16,7 @@ load_rc_config "${name}" # gonic_scan_interval # gonic_music_path # gonic_podcast_path +# gonic_playlists_path : ${gonic_enable:="NO"} : ${gonic_user:="gonic"} @@ -28,7 +29,7 @@ load_rc_config "${name}" pidfile=/var/run/gonic.pid procname="%%PREFIX%%/bin/gonic" command="/usr/sbin/daemon" -command_args="-cf -p ${pidfile} ${procname} ${gonic_music_path:+-music-path=${gonic_music_path}} ${gonic_podcast_path:+-podcast-path=${gonic_podcast_path}} ${gonic_cache_path:+-cache-path=${gonic_cache_path}} ${gonic_proxy_prefix:+-proxy-prefix=${gonic_proxy_prefix}} ${gonic_listen_addr:+-listen-addr=${gonic_listen_addr}} ${gonic_scan_interval:+-scan-interval=${gonic_scan_interval}} ${gonic_db_path:+-db-path=${gonic_db_path}} ${gonic_args}" +command_args="-cf -p ${pidfile} ${procname} ${gonic_music_path:+-music-path=${gonic_music_path}} ${gonic_podcast_path:+-podcast-path=${gonic_podcast_path}} ${gonic_playlists_path:+-playlists-path=${gonic_playlists_path}} ${gonic_cache_path:+-cache-path=${gonic_cache_path}} ${gonic_proxy_prefix:+-proxy-prefix=${gonic_proxy_prefix}} ${gonic_listen_addr:+-listen-addr=${gonic_listen_addr}} ${gonic_scan_interval:+-scan-interval=${gonic_scan_interval}} ${gonic_db_path:+-db-path=${gonic_db_path}} ${gonic_args}" gonic_startprecmd() { diff --git a/audio/gonic/files/patch-scanner_scanner.go b/audio/gonic/files/patch-scanner_scanner.go deleted file mode 100644 index e56bf3eaac2a..000000000000 --- a/audio/gonic/files/patch-scanner_scanner.go +++ /dev/null @@ -1,14 +0,0 @@ ---- scanner/scanner.go.orig 2023-06-07 22:14:47 UTC -+++ scanner/scanner.go -@@ -635,9 +635,9 @@ func statCreateTime(info fs.FileInfo) time.Time { - if !ok { - return time.Time{} - } -- if stat.Ctim.Sec == 0 { -+ if stat.Ctimespec.Sec == 0 { - return time.Time{} - } - //nolint:unconvert // Ctim.Sec/Nsec is int32 on arm/386, etc -- return time.Unix(int64(stat.Ctim.Sec), int64(stat.Ctim.Nsec)) -+ return time.Unix(int64(stat.Ctimespec.Sec), int64(stat.Ctimespec.Nsec)) - }