git: c770880d7cc0 - main - audio/vst3sdk: Update 3.7.4_build_25 → 3.7.7_build_19

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 05 Mar 2023 19:03:05 UTC
The branch main has been updated by yuri:

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

commit c770880d7cc07a0e3516f740d186ead7e0feaddf
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-05 18:54:38 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-05 19:03:03 +0000

    audio/vst3sdk: Update 3.7.4_build_25 → 3.7.7_build_19
---
 audio/dexed/Makefile                               |  2 +-
 audio/vst3sdk/Makefile                             | 17 ++++++------
 audio/vst3sdk/distinfo                             | 30 +++++++++++-----------
 .../patch-cmake_modules_SMTG__AddSMTGLibrary.cmake |  6 ++---
 .../patch-cmake_modules_SMTG__AddVST3AuV2.cmake    | 11 ++++++++
 .../files/patch-pluginterfaces_base_fplatform.h    |  8 +++---
 ...c.sdk_source_vst_auwrapper_again_CMakeLists.txt | 13 ----------
 audio/vst3sdk/pkg-plist                            | 18 ++++++++++---
 8 files changed, 56 insertions(+), 49 deletions(-)

diff --git a/audio/dexed/Makefile b/audio/dexed/Makefile
index d50b38503dbb..52ae318f155c 100644
--- a/audio/dexed/Makefile
+++ b/audio/dexed/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	dexed
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.6-16
 DISTVERSIONSUFFIX=	-g1df9a58
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	audio
 PKGNAMESUFFIX=	-synth
 
diff --git a/audio/vst3sdk/Makefile b/audio/vst3sdk/Makefile
index 336390967b97..a8c5c04f174f 100644
--- a/audio/vst3sdk/Makefile
+++ b/audio/vst3sdk/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	vst3sdk
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.7.4_build_25
-PORTREVISION=	1
+DISTVERSION=	3.7.7_build_19
 CATEGORIES=	audio
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -30,18 +29,18 @@ USE_XORG=	ice sm x11 xcb xext
 USE_GITHUB=	yes
 GH_ACCOUNT=	steinbergmedia
 GH_TUPLE=	\
-		steinbergmedia:vst3_base:f69df71891fbc76f872d43d0f3a357c6fb04ae2a:steinbergmedia_vst3_base/base \
-		steinbergmedia:vst3_cmake:fe588a391d77711b6d0a7ee83c10e17f1659b1dc:steinbergmedia_vst3_cmake/cmake \
-		steinbergmedia:vst3_doc:6f0b515351af4f574e90eb609b38693195d27d67:steinbergmedia_vst3_doc/doc \
-		steinbergmedia:vst3_pluginterfaces:2ad397ade5b51007860bedb3b01b8afd2c5f6fba:steinbergmedia_vst3_pluginterfaces/pluginterfaces \
-		steinbergmedia:vst3_public_sdk:bc459feee68803346737901471441fd4829ec3f9:steinbergmedia_vst3_public_sdk/public.sdk \
-		steinbergmedia:vstgui:6431f630f65f630c52ec1dfbb93d39d40600c41c:steinbergmedia_vstgui/vstgui4 \
+		steinbergmedia:vst3_base:ea2bac9:steinbergmedia_vst3_base/base \
+		steinbergmedia:vst3_cmake:bd2a55a:steinbergmedia_vst3_cmake/cmake \
+		steinbergmedia:vst3_doc:d5397c9:steinbergmedia_vst3_doc/doc \
+		steinbergmedia:vst3_pluginterfaces:bc5ff0f:steinbergmedia_vst3_pluginterfaces/pluginterfaces \
+		steinbergmedia:vst3_public_sdk:bbb0538:steinbergmedia_vst3_public_sdk/public.sdk \
+		steinbergmedia:vstgui:91c4105:steinbergmedia_vstgui/vstgui4
 
 SHEBANG_FILES=	vstgui4/vstgui/uidescription/editing/createuidescdata.sh
 
 PORTSCOUT=	limit:^.*\d\.\d # prevent tags like vstsdk370_31_07_2020_build_116
 
-do-install:
+do-install: # workaround for https://github.com/steinbergmedia/vst3sdk/issues/77
 	${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
 .for dir in base pluginterfaces public.sdk
 	${INSTALL_DATA} `${FIND} ${WRKSRC}/${dir} \( -type f -iname "*.cpp" -or -iname "*.h" \)` ${STAGEDIR}${PREFIX}/include/${PORTNAME}
diff --git a/audio/vst3sdk/distinfo b/audio/vst3sdk/distinfo
index b7a910e120bc..d1e75a3051d9 100644
--- a/audio/vst3sdk/distinfo
+++ b/audio/vst3sdk/distinfo
@@ -1,15 +1,15 @@
-TIMESTAMP = 1650234815
-SHA256 (steinbergmedia-vst3sdk-v3.7.4_build_25_GH0.tar.gz) = 24f79a670d8f3c7aac34e1340f2d12763beabc9229d61b6f806d850675c8c5f6
-SIZE (steinbergmedia-vst3sdk-v3.7.4_build_25_GH0.tar.gz) = 417117
-SHA256 (steinbergmedia-vst3_base-f69df71891fbc76f872d43d0f3a357c6fb04ae2a_GH0.tar.gz) = 3b436ab7574a56adc1acde4dde6bbce74d1d7219b0458fc28662d209475173a7
-SIZE (steinbergmedia-vst3_base-f69df71891fbc76f872d43d0f3a357c6fb04ae2a_GH0.tar.gz) = 62998
-SHA256 (steinbergmedia-vst3_cmake-fe588a391d77711b6d0a7ee83c10e17f1659b1dc_GH0.tar.gz) = ac9470a21ae0851d59c85c1d009880c7da9b7d97285348c0b22c87c57fb8fec0
-SIZE (steinbergmedia-vst3_cmake-fe588a391d77711b6d0a7ee83c10e17f1659b1dc_GH0.tar.gz) = 20572
-SHA256 (steinbergmedia-vst3_doc-6f0b515351af4f574e90eb609b38693195d27d67_GH0.tar.gz) = a68019295e601ebae8273f68f7fe027703f0557836d808616da2b7833741af54
-SIZE (steinbergmedia-vst3_doc-6f0b515351af4f574e90eb609b38693195d27d67_GH0.tar.gz) = 41807147
-SHA256 (steinbergmedia-vst3_pluginterfaces-2ad397ade5b51007860bedb3b01b8afd2c5f6fba_GH0.tar.gz) = 3fefaba69511b6841b25be91dd754015fb3a59ffc9f105c3ad0e8ba9302f119b
-SIZE (steinbergmedia-vst3_pluginterfaces-2ad397ade5b51007860bedb3b01b8afd2c5f6fba_GH0.tar.gz) = 99486
-SHA256 (steinbergmedia-vst3_public_sdk-bc459feee68803346737901471441fd4829ec3f9_GH0.tar.gz) = 6bd96391f82dd940f99a532fec1998f53d8054da17e6de5d7b07ba8e688a48aa
-SIZE (steinbergmedia-vst3_public_sdk-bc459feee68803346737901471441fd4829ec3f9_GH0.tar.gz) = 12344154
-SHA256 (steinbergmedia-vstgui-6431f630f65f630c52ec1dfbb93d39d40600c41c_GH0.tar.gz) = 7d87deceee656e9c1f75492c7c021a726b57ec2cb4ff3402585bc0d87d166bd6
-SIZE (steinbergmedia-vstgui-6431f630f65f630c52ec1dfbb93d39d40600c41c_GH0.tar.gz) = 3670038
+TIMESTAMP = 1678040166
+SHA256 (steinbergmedia-vst3sdk-v3.7.7_build_19_GH0.tar.gz) = 3dd04a170659cfdfc4bdf5fc83e91577b66d1a72042b74b35bc225393511c938
+SIZE (steinbergmedia-vst3sdk-v3.7.7_build_19_GH0.tar.gz) = 416231
+SHA256 (steinbergmedia-vst3_base-ea2bac9_GH0.tar.gz) = 22a55e586cd5f04b08b74483f2aa1d577e09bd25109d0997dab1d5082b50da2c
+SIZE (steinbergmedia-vst3_base-ea2bac9_GH0.tar.gz) = 63697
+SHA256 (steinbergmedia-vst3_cmake-bd2a55a_GH0.tar.gz) = 2ee643cf4088265e1926db941042ff5a02d03eb153877d60d6a85bf2f6ea156c
+SIZE (steinbergmedia-vst3_cmake-bd2a55a_GH0.tar.gz) = 262859
+SHA256 (steinbergmedia-vst3_doc-d5397c9_GH0.tar.gz) = 4910b955639d7fa06327c9ebd56427245b398c5e23f56a1c2cc506312a90b51a
+SIZE (steinbergmedia-vst3_doc-d5397c9_GH0.tar.gz) = 38800535
+SHA256 (steinbergmedia-vst3_pluginterfaces-bc5ff0f_GH0.tar.gz) = 8aa7cb30f42891ed73f433653282db0371ae652cec15acf74cc43ab47e01554e
+SIZE (steinbergmedia-vst3_pluginterfaces-bc5ff0f_GH0.tar.gz) = 101507
+SHA256 (steinbergmedia-vst3_public_sdk-bbb0538_GH0.tar.gz) = 64a106179d73acf52c899bc1fa1e1630b2ea1c8d2b7d68eb5fb2e48e5492ad41
+SIZE (steinbergmedia-vst3_public_sdk-bbb0538_GH0.tar.gz) = 12410858
+SHA256 (steinbergmedia-vstgui-91c4105_GH0.tar.gz) = 4f2cc7592b6223521bebdd71a8e7c7e76b803b3fd0d578779a93646c528d476e
+SIZE (steinbergmedia-vstgui-91c4105_GH0.tar.gz) = 3554055
diff --git a/audio/vst3sdk/files/patch-cmake_modules_SMTG__AddSMTGLibrary.cmake b/audio/vst3sdk/files/patch-cmake_modules_SMTG__AddSMTGLibrary.cmake
index 13bca5871ef2..a039499b86c5 100644
--- a/audio/vst3sdk/files/patch-cmake_modules_SMTG__AddSMTGLibrary.cmake
+++ b/audio/vst3sdk/files/patch-cmake_modules_SMTG__AddSMTGLibrary.cmake
@@ -1,11 +1,11 @@
 - workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254489
 
---- cmake/modules/SMTG_AddSMTGLibrary.cmake.orig	2021-12-16 12:29:25 UTC
+--- cmake/modules/SMTG_AddSMTGLibrary.cmake.orig	2022-12-12 13:47:57 UTC
 +++ cmake/modules/SMTG_AddSMTGLibrary.cmake
-@@ -126,7 +126,7 @@ function(smtg_target_create_link_to_plugin target dest
+@@ -130,7 +130,7 @@ function(smtg_target_create_link_to_plugin target dest
          add_custom_command(
              TARGET ${target} POST_BUILD
-             COMMAND mkdir -p "${TARGET_DESTINATION}"
+             COMMAND ${CMAKE_COMMAND} -E make_directory "${TARGET_DESTINATION}"
 -            COMMAND ln -svfF "${TARGET_SOURCE}" "${TARGET_DESTINATION}"
 +            COMMAND ln -sv "${TARGET_SOURCE}" "${TARGET_DESTINATION}"
          )
diff --git a/audio/vst3sdk/files/patch-cmake_modules_SMTG__AddVST3AuV2.cmake b/audio/vst3sdk/files/patch-cmake_modules_SMTG__AddVST3AuV2.cmake
new file mode 100644
index 000000000000..1fa91e903676
--- /dev/null
+++ b/audio/vst3sdk/files/patch-cmake_modules_SMTG__AddVST3AuV2.cmake
@@ -0,0 +1,11 @@
+--- cmake/modules/SMTG_AddVST3AuV2.cmake.orig	2023-03-05 18:19:05 UTC
++++ cmake/modules/SMTG_AddVST3AuV2.cmake
+@@ -107,7 +107,7 @@ if (XCODE AND SMTG_COREAUDIO_SDK_PATH)
+ 		add_custom_command(TARGET ${target} POST_BUILD 
+ 			COMMAND /bin/mkdir "-p" ${outputdir}/${ARG_BUNDLE_NAME}.component/Contents/Resources
+ 			COMMAND /bin/rm "-f" "${outputdir}/${ARG_BUNDLE_NAME}.component/Contents/Resources/plugin.vst3"
+-			COMMAND /bin/ln "-svfF" "${outputdir}/$<TARGET_FILE_NAME:${ARG_VST3_PLUGIN_TARGET}>.vst3" "${outputdir}/${ARG_BUNDLE_NAME}.component/Contents/Resources/plugin.vst3"
++			COMMAND /bin/ln "-sv" "${outputdir}/$<TARGET_FILE_NAME:${ARG_VST3_PLUGIN_TARGET}>.vst3" "${outputdir}/${ARG_BUNDLE_NAME}.component/Contents/Resources/plugin.vst3"
+ 			COMMAND /bin/cp "-rpf" "${outputdir}/${ARG_BUNDLE_NAME}.component" "~/Library/Audio/Plug-Ins/Components/"
+ 		)
+ 
diff --git a/audio/vst3sdk/files/patch-pluginterfaces_base_fplatform.h b/audio/vst3sdk/files/patch-pluginterfaces_base_fplatform.h
index a56f1ff028ec..c170488b592c 100644
--- a/audio/vst3sdk/files/patch-pluginterfaces_base_fplatform.h
+++ b/audio/vst3sdk/files/patch-pluginterfaces_base_fplatform.h
@@ -1,6 +1,6 @@
---- pluginterfaces/base/fplatform.h.orig	2021-12-16 12:29:35 UTC
+--- pluginterfaces/base/fplatform.h.orig	2022-12-12 13:48:24 UTC
 +++ pluginterfaces/base/fplatform.h
-@@ -114,7 +114,7 @@
+@@ -117,7 +117,7 @@
  //-----------------------------------------------------------------------------
  // LINUX
  //-----------------------------------------------------------------------------
@@ -9,8 +9,8 @@
  	#define SMTG_OS_LINUX	1
  	#define SMTG_OS_MACOS	0
  	#define SMTG_OS_WINDOWS	0
-@@ -127,7 +127,7 @@
- 	#define SMTG_CPU_ARM_64	__aarch64__
+@@ -138,7 +138,7 @@
+ 	#endif
  	#define SMTG_CPU_ARM_64EC 0
  
 -	#include <endian.h>
diff --git a/audio/vst3sdk/files/patch-public.sdk_source_vst_auwrapper_again_CMakeLists.txt b/audio/vst3sdk/files/patch-public.sdk_source_vst_auwrapper_again_CMakeLists.txt
deleted file mode 100644
index 8e9e5768fe0d..000000000000
--- a/audio/vst3sdk/files/patch-public.sdk_source_vst_auwrapper_again_CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-- Workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254489
-
---- public.sdk/source/vst/auwrapper/again/CMakeLists.txt.orig	2021-12-16 12:29:36 UTC
-+++ public.sdk/source/vst/auwrapper/again/CMakeLists.txt
-@@ -33,7 +33,7 @@ if(SMTG_MAC AND XCODE AND SMTG_COREAUDIO_SDK_PATH AND 
-         COMMAND /bin/mkdir "-p" ${outputdir}/${target}.component/Contents/Resources
-         COMMAND /bin/rm "-f" "${outputdir}/${target}.component/Contents/Resources/plugin.vst3"
-         COMMAND /bin/ln "-svfF" "${outputdir}/again.vst3" "${outputdir}/${target}.component/Contents/Resources/plugin.vst3"
--        COMMAND /bin/ln "-svfF" "${outputdir}/${target}.component" "~/Library/Audio/Plug-Ins/Components/"
-+        COMMAND /bin/ln "-sv" "${outputdir}/${target}.component" "~/Library/Audio/Plug-Ins/Components/"
-     )
- 
-     execute_process(COMMAND xcrun --find Rez OUTPUT_VARIABLE OSX_REZ_COMMAND OUTPUT_STRIP_TRAILING_WHITESPACE)
diff --git a/audio/vst3sdk/pkg-plist b/audio/vst3sdk/pkg-plist
index cbc791f40bf9..a2b3fb416a05 100644
--- a/audio/vst3sdk/pkg-plist
+++ b/audio/vst3sdk/pkg-plist
@@ -89,7 +89,6 @@ include/vst3sdk/conststringtable.cpp
 include/vst3sdk/conststringtable.h
 include/vst3sdk/coreiids.cpp
 include/vst3sdk/dllmain.cpp
-include/vst3sdk/doc.cpp
 include/vst3sdk/doc.h
 include/vst3sdk/docAUv2.h
 include/vst3sdk/docAUv3.h
@@ -167,6 +166,7 @@ include/vst3sdk/iparameterclient.h
 include/vst3sdk/ipersistent.h
 include/vst3sdk/iplatform.h
 include/vst3sdk/ipluginbase.h
+include/vst3sdk/iplugincompatibility.h
 include/vst3sdk/iplugview.h
 include/vst3sdk/iplugviewcontentscalesupport.h
 include/vst3sdk/istringresult.h
@@ -198,6 +198,8 @@ include/vst3sdk/ivsttestplugprovider.h
 include/vst3sdk/ivstunits.h
 include/vst3sdk/iwindow.h
 include/vst3sdk/jackclient.cpp
+include/vst3sdk/json.h
+include/vst3sdk/jsoncxx.h
 include/vst3sdk/keycodes.h
 include/vst3sdk/keyswitch.cpp
 include/vst3sdk/keyswitch.h
@@ -362,6 +364,11 @@ include/vst3sdk/module.cpp
 include/vst3sdk/module.h
 include/vst3sdk/module_linux.cpp
 include/vst3sdk/module_win32.cpp
+include/vst3sdk/moduleinfo.h
+include/vst3sdk/moduleinfocreator.cpp
+include/vst3sdk/moduleinfocreator.h
+include/vst3sdk/moduleinfoparser.cpp
+include/vst3sdk/moduleinfoparser.h
 include/vst3sdk/moduleinit.cpp
 include/vst3sdk/moduleinit.h
 include/vst3sdk/mpeprocessor.cpp
@@ -378,6 +385,7 @@ include/vst3sdk/note_touch_controller.cpp
 include/vst3sdk/note_touch_controller.h
 include/vst3sdk/noteexpression.cpp
 include/vst3sdk/noteexpression.h
+include/vst3sdk/objcclassbuilder.h
 include/vst3sdk/openurl.cpp
 include/vst3sdk/openurl.h
 include/vst3sdk/optional.h
@@ -396,6 +404,8 @@ include/vst3sdk/platform.cpp
 include/vst3sdk/plug.cpp
 include/vst3sdk/plug.h
 include/vst3sdk/plugcids.h
+include/vst3sdk/plugcompat.cpp
+include/vst3sdk/plugcompat.h
 include/vst3sdk/plugcontroller.cpp
 include/vst3sdk/plugcontroller.h
 include/vst3sdk/plugentry.cpp
@@ -564,9 +574,9 @@ lib/vst3/A2EAF7DB320640F48EDE380DDF89562C_snapshot.png
 lib/vst3/A2EAF7DB320640F48EDE380DDF89562C_snapshot_2.0x.png
 lib/vst3/about.png
 lib/vst3/adelay.so
+lib/vst3/again-sampleaccurate.so
 lib/vst3/again.so
 lib/vst3/again.uidesc
-lib/vst3/again_sampleaccurate.so
 lib/vst3/againsimple.so
 lib/vst3/animation_knob.png
 lib/vst3/animation_knob_3x.png
@@ -582,14 +592,14 @@ lib/vst3/knob.png
 lib/vst3/knob2.png
 lib/vst3/legacymidiccout.so
 lib/vst3/mda-vst3.so
+lib/vst3/multiple-program-changes.so
 lib/vst3/note_expression_synth.uidesc
 lib/vst3/noteexpressionsynth.so
 lib/vst3/noteexpressiontext.so
 lib/vst3/panner.so
 lib/vst3/pitchnames.so
-lib/vst3/pitchnames.uidesc
 lib/vst3/plug.uidesc
-lib/vst3/prefetchablesupport.so
+lib/vst3/prefetchable.so
 lib/vst3/programchange.so
 lib/vst3/slider_background.png
 lib/vst3/slider_handle.png