git: 0eac3a9dfa88 - main - audio/unflac: Console tool for frame accurate audio image + cue sheet splitting

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 18 Nov 2024 00:58:56 UTC
The branch main has been updated by fuz:

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

commit 0eac3a9dfa88c902a37b4aae089a6efd2c229cd4
Author:     Ivan <bsd@abinet.ru>
AuthorDate: 2024-11-16 15:56:06 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-18 00:57:55 +0000

    audio/unflac: Console tool for frame accurate audio image + cue sheet splitting
    
    A command line tool for fast frame accurate audio image + cue sheet splitting.
    It can be used to split single flac file to flack tracks to simplify collection
    management
    
    WWW: https://git.sr.ht/~ft/unflac
---
 audio/Makefile         |  1 +
 audio/unflac/Makefile  | 19 +++++++++++++++++++
 audio/unflac/distinfo  |  7 +++++++
 audio/unflac/pkg-descr |  3 +++
 4 files changed, 30 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index 09847e8fce42..3841889f6863 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -823,6 +823,7 @@
     SUBDIR += umix
     SUBDIR += umodplayer
     SUBDIR += umurmur
+    SUBDIR += unflac
     SUBDIR += vamp-plugin-sdk
     SUBDIR += vban
     SUBDIR += vgmplay
diff --git a/audio/unflac/Makefile b/audio/unflac/Makefile
new file mode 100644
index 000000000000..9fbd1c6eec1d
--- /dev/null
+++ b/audio/unflac/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	unflac
+DISTVERSION=	1.3
+CATEGORIES=	audio
+
+MAINTAINER=	bsd@abinet.ru
+COMMENT=	Console tool for frame accurate audio image + cue sheet splitting
+WWW=		https://git.sr.ht/~ft/unflac
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	ffmpeg:multimedia/ffmpeg
+
+USES=		go:modules
+GO_MODULE=	git.sr.ht/~ft/unflac@v0.0.0-20240408174655-b5026a6dfc5a
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/audio/unflac/distinfo b/audio/unflac/distinfo
new file mode 100644
index 000000000000..5ff542e7d8c3
--- /dev/null
+++ b/audio/unflac/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1731766879
+SHA256 (go/audio_unflac/unflac-1.3/1.3.tar.gz) = 29cf865fdffeae3f98e821eb4e747e42fb3a431b51810c1142d4225322a80fe4
+SIZE (go/audio_unflac/unflac-1.3/1.3.tar.gz) = 8213
+SHA256 (go/audio_unflac/unflac-1.3/v0.0.0-20240408174655-b5026a6dfc5a.mod) = b6d33db861b2510a99c311bd2d678259b438d55d26bdc0b0281f80b68804dc61
+SIZE (go/audio_unflac/unflac-1.3/v0.0.0-20240408174655-b5026a6dfc5a.mod) = 372
+SHA256 (go/audio_unflac/unflac-1.3/v0.0.0-20240408174655-b5026a6dfc5a.zip) = cab05aef1334e40627a7a637dd45727ac33c0eab4c845472f5c8564f82c8b18f
+SIZE (go/audio_unflac/unflac-1.3/v0.0.0-20240408174655-b5026a6dfc5a.zip) = 11308
diff --git a/audio/unflac/pkg-descr b/audio/unflac/pkg-descr
new file mode 100644
index 000000000000..97562278ccec
--- /dev/null
+++ b/audio/unflac/pkg-descr
@@ -0,0 +1,3 @@
+A command line tool for fast frame accurate audio image + cue sheet splitting.
+It can be used to split single flac file to flack tracks to simplify collection
+management