git: 0394af6d7fb7 - main - audio/stk: Make JACK backend default

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 10 Aug 2023 16:34:59 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0394af6d7fb72e5fd3d3e4bd2cbb2e30c9568354

commit 0394af6d7fb72e5fd3d3e4bd2cbb2e30c9568354
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-08-10 14:42:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-08-10 16:34:57 +0000

    audio/stk: Make JACK backend default
    
    ... because the OSS option is not currently fully supported.
---
 audio/stk/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/audio/stk/Makefile b/audio/stk/Makefile
index 47d7f4160734..80fa927837ef 100644
--- a/audio/stk/Makefile
+++ b/audio/stk/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	stk
 DISTVERSION=	5.0.0
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://ccrma.stanford.edu/software/stk/release/
 
@@ -23,7 +24,7 @@ LDFLAGS+=	-pthread
 
 OPTIONS_RADIO=		BACKEND
 OPTIONS_RADIO_BACKEND=	JACK OSS
-OPTIONS_DEFAULT=	OSS
+OPTIONS_DEFAULT=	JACK
 
 BACKEND_DESC=		Audio Backend
 
@@ -31,6 +32,9 @@ JACK_CONFIGURE_WITH=	jack
 JACK_LIB_DEPENDS=	libjack.so:audio/jack
 
 OSS_CONFIGURE_WITH=	oss
+# OSS option appears to make real-time functionality in STK broken
+# (example https://www.music.mcgill.ca/~gary/618/week2/node16.html),
+# also see https://github.com/thestk/stk/issues/141#issuecomment-1673488078
 
 post-install:
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} rawwaves ${STAGEDIR}${DATADIR}