Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2024 19:45:35 GMT
From:      Joel Bodenmann <jbo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1f326a00c927 - main - audio/cava: Add pkg-message
Message-ID:  <202404181945.43IJjZoD071204@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbo:

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

commit 1f326a00c927b8336c8742544b9814fcc25f7233
Author:     bsdcode <bsdcode@disroot.org>
AuthorDate: 2024-04-18 15:40:52 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2024-04-18 19:45:09 +0000

    audio/cava: Add pkg-message
    
    Add a pkg-message to inform new users about required setup steps.
    
    PR:                     277152
    Approved by:            tcberner (mentor), Adam Jimerson <vendion@gmail.com> (maintainer)
    Differential Revision:  https://reviews.freebsd.org/D44676
---
 audio/cava/Makefile             |  2 ++
 audio/cava/files/pkg-message.in | 16 ++++++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/audio/cava/Makefile b/audio/cava/Makefile
index 395876186052..ba533cdb17b0 100644
--- a/audio/cava/Makefile
+++ b/audio/cava/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cava
 DISTVERSION=	0.10.1
+PORTREVISION=	1
 CATEGORIES=	audio
 
 MAINTAINER=	vendion@gmail.com
@@ -23,6 +24,7 @@ CONFIGURE_ARGS=	--disable-input-alsa \
 PLIST_FILES=	bin/cava
 PORTDOCS=	README.md
 PORTEXAMPLES=	config
+SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=		DOCS EXAMPLES VT
 OPTIONS_DEFAULT=	GLSL JACK NCURSES OSS PORTAUDIO PULSEAUDIO SDL SNDIO VT
diff --git a/audio/cava/files/pkg-message.in b/audio/cava/files/pkg-message.in
new file mode 100644
index 000000000000..506384b89f88
--- /dev/null
+++ b/audio/cava/files/pkg-message.in
@@ -0,0 +1,16 @@
+[
+{ type: install
+  message: <<EOM
+If you want to visualize your currently played back audio then be aware that the
+audio backends OSS and sndio can't feed the outgoing audio directly into CAVA
+without further setup:
+
+* For OSS you need to use audio/virtual_oss in order to create a loopback
+  audio device.
+* For sndio you need to start a sndio server and create a monitoring
+  sub-device.
+
+Please see %%DOCSDIR%%/README.md for additional help and instructions.
+EOM
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404181945.43IJjZoD071204>