git: b17f2f1d390b - main - audio/qtractor: Add VST3 option

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 17 Apr 2022 23:24:20 UTC
The branch main has been updated by yuri:

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

commit b17f2f1d390b31c475590b8adfe6551c234116f5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-04-17 23:23:31 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-04-17 23:24:13 +0000

    audio/qtractor: Add VST3 option
---
 audio/qtractor/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/audio/qtractor/Makefile b/audio/qtractor/Makefile
index f429f9abd7bc..7d912ddba9a7 100644
--- a/audio/qtractor/Makefile
+++ b/audio/qtractor/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	qtractor
 DISTVERSIONPREFIX=	qtractor_
 DISTVERSION=	0_9_26
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/rncbc/qtractor/archive/refs/tags/
 DISTNAME=	${PORTNAME}_${DISTVERSION}
@@ -39,6 +40,15 @@ USE_QT=		core gui widgets xml buildtools_build linguisttools_build qmake_build
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}_${DISTVERSION}
 
+OPTIONS_DEFINE=		VST3
+#OPTIONS_DEFAULT=	VST3
+
+VST3_DESC=		Enable VST3 plug-in support
+VST3_CMAKE_BOOL=	CONFIG_VST3
+#VST3_CMAKE_ON=		-DCONFIG_VST3SDK=${LOCALBASE}/include/vst3sdk
+VST3_BUILD_DEPENDS=	vst3sdk>0:audio/vst3sdk
+VST3_BROKEN=		https://github.com/rncbc/qtractor/issues/331
+
 post-patch:
 	@${REINPLACE_CMD} \
 		's|the ALSA Sequencer kernel module (snd-seq-midi)|alsa-seq-server (installed by audio/alsa-seq-server)|' \