Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [NEW] audio/termsonic v0.2
To:
Russ Sharek <bsdclown@disroot.org>
Cc:
ports@openbsd.org
Date:
Sat, 21 Dec 2024 09:52:06 +0000

Download raw body.

Thread
On 2024/12/21 02:37, Russ Sharek wrote:
> Hello all!
> 
> Here's a port of termsonic v0.2, a TUI client for subsonic compatible
> music streaming servers like gonic and navidrome.
> 
> I've tested this briefly with navidrome, and have been running it with
> my own gonic server for the last couple of months. It's been extremely
> reliable in both cases.
> 
> While a relatively new project, The developer has been friendly and
> responsive to feedback. They happily upstreamed a couple of fixes to get
> things working on OpenBSD without patches.
> 
> homepage: https://git.sixfoisneuf.fr/termsonic
> 
> As for the port itself, enormous thanks are due to Aaron Bieber for help
> getting the do-build parts working. I'd have been lost without the
> assistance.
> 
> I'm currently hosting the vendored packages on my server, and can
> continue to do so as needed. I'm excited to finally have both a client 
> and server in ports.
> 
> Feedback, cluebats, and OK's warmly welcomed. :)
> 
> 
> -R.

A few suggested tweaks (and rm -r files)


--- Makefile.orig	Sat Dec 21 09:43:57 2024
+++ Makefile	Sat Dec 21 09:50:15 2024
@@ -1,4 +1,4 @@
-COMMENT =		A Subsonic client running in your terminal
+COMMENT =		Subsonic client running in your terminal
 
 DISTNAME =		termsonic-0.2
 
@@ -12,10 +12,8 @@ HOMEPAGE =		https://git.sixfoisneuf.fr/termsonic/
 # cd ../; mv termsonic termsonic-0.2
 # tar -czvf termsonic-0.2.tar.gz termsonic-0.2
 
-DISTFILES.bsdclown =	termsonic-0.2.tar.gz
+SITES =			https://russ.whirling.top/distfiles/
 
-SITES.bsdclown =	https://russ.whirling.top/distfiles/
-
 MAINTAINER =		Russ Sharek <bsdclown@disroot.org>
 
 # GPL3
@@ -35,7 +33,7 @@ do-build:
 
 post-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/termsonic
-	${SUBST_DATA} ${FILESDIR}/termsonic.toml \
+	${SUBST_DATA} ${WRKSRC}/config.toml.example \
 		${PREFIX}/share/examples/termsonic/termsonic.toml
 
 .include <bsd.port.mk>