git: d8967b99ffdb - main - audio/bespokesynth: update 1.1.0-20221006 → 1.2.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 08:01:09 UTC
The branch main has been updated by yuri:

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

commit d8967b99ffdb9ac5bfe12865b3a84589106da091
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-14 07:58:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-14 08:00:53 +0000

    audio/bespokesynth: update 1.1.0-20221006 → 1.2.1
    
    PR:             274457
    Reported by:    diizzy@
---
 audio/bespokesynth/Makefile                          | 12 +++++-------
 audio/bespokesynth/distinfo                          | 12 +++++++-----
 ...leton_discovery_NetworkByteStreamSerializable.hpp | 11 +++++++++++
 ...ableton-link_include_ableton_platforms_Config.hpp | 20 ++++++++++++++++++++
 ...on-link_include_ableton_platforms_linux_Clock.hpp | 11 +++++++++++
 audio/bespokesynth/pkg-plist                         |  5 +++++
 6 files changed, 59 insertions(+), 12 deletions(-)

diff --git a/audio/bespokesynth/Makefile b/audio/bespokesynth/Makefile
index cdba0cb8b647..1feb24032266 100644
--- a/audio/bespokesynth/Makefile
+++ b/audio/bespokesynth/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bespokesynth
-DISTVERSION=	1.1.0-20221006
-PORTREVISION=	2
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.2.1
 CATEGORIES=	audio
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -10,9 +10,7 @@ WWW=		https://www.bespokesynth.com/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		incompatible with the latest JUCE (juce-7.0.3), see https://github.com/BespokeSynth/BespokeSynth/issues/1047
-
-BUILD_DEPENDS=	juce>0:devel/juce \
+BUILD_DEPENDS=	juce706>0:devel/juce706 \
 		pybind11>0:devel/pybind11
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libfreetype.so:print/freetype2 \
@@ -26,11 +24,11 @@ USE_GL=		gl
 USE_GITHUB=	yes
 GH_ACCOUNT=	BespokeSynth
 GH_PROJECT=	BespokeSynth
-GH_TAGNAME=	616ad67
 
 DATADIR=	${PREFIX}/share/BespokeSynth
 
-GH_TUPLE=	chriskohlhoff:asio:01b4e87c04abd4daec58e40463bcdc150085b269:chriskohlhoff_asio/libs/link/modules/asio-standalone \
+GH_TUPLE=	Ableton:link:a4e4c2f:ableton/libs/ableton-link \
+			chriskohlhoff:asio:01b4e87:ableton_asio/libs/ableton-link/modules/asio-standalone \
 		surge-synthesizer:tuning-library:eb8617be49ac3c2436cf54de6bff94a1b1c94acf:surge_synthesizer_tuning_library/libs/tuning-library \
 		ODDSound:MTS-ESP:fcfaa59a043d515d288c9d587bf61a0a7d7571a8:ODDSound_MTS_ESP/libs/oddsound-mts/MTS-ESP \
 		Ableton:link:a4e4c2f3e598e28e5bea90002f954b997b8c8c53:Ableton_link/libs/link \
diff --git a/audio/bespokesynth/distinfo b/audio/bespokesynth/distinfo
index 4fa0a241ab74..8167da2eb3b1 100644
--- a/audio/bespokesynth/distinfo
+++ b/audio/bespokesynth/distinfo
@@ -1,8 +1,10 @@
-TIMESTAMP = 1669872132
-SHA256 (BespokeSynth-BespokeSynth-1.1.0-20221006-616ad67_GH0.tar.gz) = efec4b60a8421c6123536535da1975867e58a37693c79d415de4fe656497d00f
-SIZE (BespokeSynth-BespokeSynth-1.1.0-20221006-616ad67_GH0.tar.gz) = 22153257
-SHA256 (chriskohlhoff-asio-01b4e87c04abd4daec58e40463bcdc150085b269_GH0.tar.gz) = c8cce67ed6035887cdfc1fff62b6c994f03940fef6b19b8ff6e5e4177b0e335e
-SIZE (chriskohlhoff-asio-01b4e87c04abd4daec58e40463bcdc150085b269_GH0.tar.gz) = 1512738
+TIMESTAMP = 1699935506
+SHA256 (BespokeSynth-BespokeSynth-v1.2.1_GH0.tar.gz) = f57046d732afda6c8b0008f682f5a4c807c87a324a9fe675c2065c8df8e68507
+SIZE (BespokeSynth-BespokeSynth-v1.2.1_GH0.tar.gz) = 22232039
+SHA256 (Ableton-link-a4e4c2f_GH0.tar.gz) = b6abb0e0c463294cb3024e3ea7e3755c7bb6817a15a5e34b958c711241feb380
+SIZE (Ableton-link-a4e4c2f_GH0.tar.gz) = 1898125
+SHA256 (chriskohlhoff-asio-01b4e87_GH0.tar.gz) = 850455c43e8847cf8dd1fd915ebdf0fd36a79aac670b81c923593d71e37a0b81
+SIZE (chriskohlhoff-asio-01b4e87_GH0.tar.gz) = 1512233
 SHA256 (surge-synthesizer-tuning-library-eb8617be49ac3c2436cf54de6bff94a1b1c94acf_GH0.tar.gz) = f533cfa378e26da495b2364af5ff86e509e31b984e2cad7f20fdc81b0e421b26
 SIZE (surge-synthesizer-tuning-library-eb8617be49ac3c2436cf54de6bff94a1b1c94acf_GH0.tar.gz) = 140236
 SHA256 (ODDSound-MTS-ESP-fcfaa59a043d515d288c9d587bf61a0a7d7571a8_GH0.tar.gz) = 7daff00bae1295d099cd7ffec143ddd3df36bd55f2906fd227245d2608aa42dd
diff --git a/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_discovery_NetworkByteStreamSerializable.hpp b/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_discovery_NetworkByteStreamSerializable.hpp
new file mode 100644
index 000000000000..650ce7af497e
--- /dev/null
+++ b/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_discovery_NetworkByteStreamSerializable.hpp
@@ -0,0 +1,11 @@
+--- libs/ableton-link/include/ableton/discovery/NetworkByteStreamSerializable.hpp.orig	2023-11-14 04:48:57 UTC
++++ libs/ableton-link/include/ableton/discovery/NetworkByteStreamSerializable.hpp
+@@ -22,7 +22,7 @@
+ #include <ableton/platforms/asio/AsioWrapper.hpp>
+ #if defined(LINK_PLATFORM_MACOSX)
+ #include <ableton/platforms/darwin/Darwin.hpp>
+-#elif defined(LINK_PLATFORM_LINUX)
++#elif defined(LINK_PLATFORM_LINUX) || defined(__FreeBSD__)
+ #include <ableton/platforms/linux/Linux.hpp>
+ #elif defined(LINK_PLATFORM_WINDOWS)
+ #include <ableton/platforms/windows/Windows.hpp>
diff --git a/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_platforms_Config.hpp b/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_platforms_Config.hpp
new file mode 100644
index 000000000000..f327eef98699
--- /dev/null
+++ b/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_platforms_Config.hpp
@@ -0,0 +1,20 @@
+--- libs/ableton-link/include/ableton/platforms/Config.hpp.orig	2023-11-14 04:52:16 UTC
++++ libs/ableton-link/include/ableton/platforms/Config.hpp
+@@ -36,7 +36,7 @@
+ #include <ableton/platforms/darwin/ThreadFactory.hpp>
+ #include <ableton/platforms/posix/ScanIpIfAddrs.hpp>
+ #include <ableton/platforms/stl/Random.hpp>
+-#elif defined(LINK_PLATFORM_LINUX)
++#elif defined(LINK_PLATFORM_LINUX) || defined(__FreeBSD__)
+ #include <ableton/platforms/asio/Context.hpp>
+ #include <ableton/platforms/linux/Clock.hpp>
+ #include <ableton/platforms/posix/ScanIpIfAddrs.hpp>
+@@ -77,7 +77,7 @@ using IoContext = platforms::asio::Context<platforms::
+   platforms::darwin::ThreadFactory>;
+ using Random = platforms::stl::Random;
+ 
+-#elif defined(LINK_PLATFORM_LINUX)
++#elif defined(LINK_PLATFORM_LINUX) || defined(__FreeBSD__)
+ using Clock = platforms::linux::ClockMonotonicRaw;
+ using Random = platforms::stl::Random;
+ #ifdef __linux__
diff --git a/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_platforms_linux_Clock.hpp b/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_platforms_linux_Clock.hpp
new file mode 100644
index 000000000000..08564cc7e25f
--- /dev/null
+++ b/audio/bespokesynth/files/patch-libs_ableton-link_include_ableton_platforms_linux_Clock.hpp
@@ -0,0 +1,11 @@
+--- libs/ableton-link/include/ableton/platforms/linux/Clock.hpp.orig	2023-11-14 04:55:52 UTC
++++ libs/ableton-link/include/ableton/platforms/linux/Clock.hpp
+@@ -53,7 +53,7 @@ class Clock (public)
+ };
+ 
+ using ClockMonotonic = Clock<CLOCK_MONOTONIC>;
+-using ClockMonotonicRaw = Clock<CLOCK_MONOTONIC_RAW>;
++using ClockMonotonicRaw = Clock<CLOCK_MONOTONIC>;
+ 
+ } // namespace linux
+ } // namespace platforms
diff --git a/audio/bespokesynth/pkg-plist b/audio/bespokesynth/pkg-plist
index 5503797c5394..f8259391018b 100644
--- a/audio/bespokesynth/pkg-plist
+++ b/audio/bespokesynth/pkg-plist
@@ -4,6 +4,7 @@ bin/BespokeSynth
 %%DATADIR%%/resource/help.txt
 %%DATADIR%%/resource/iosevka-type-light.ttf
 %%DATADIR%%/resource/noise.jpg
+%%DATADIR%%/resource/osc_support.txt
 %%DATADIR%%/resource/python_stubs/bespoke/__init__.pyi
 %%DATADIR%%/resource/python_stubs/drumplayer/__init__.pyi
 %%DATADIR%%/resource/python_stubs/drumsequencer/__init__.pyi
@@ -25,6 +26,7 @@ bin/BespokeSynth
 %%DATADIR%%/resource/tooltips_esp.txt
 %%DATADIR%%/resource/tooltips_ru.txt
 %%DATADIR%%/resource/tooltips_tr.txt
+%%DATADIR%%/resource/userdata_original/controllers/APC Key 25 MIDI 1.json
 %%DATADIR%%/resource/userdata_original/controllers/APC Mini.json
 %%DATADIR%%/resource/userdata_original/controllers/Ableton Push 2 Live Port.json
 %%DATADIR%%/resource/userdata_original/controllers/Akai MIDImix.json
@@ -40,6 +42,7 @@ bin/BespokeSynth
 %%DATADIR%%/resource/userdata_original/controllers/FCB1010_4.json
 %%DATADIR%%/resource/userdata_original/controllers/FCB1010_9.json
 %%DATADIR%%/resource/userdata_original/controllers/Generic 4x4.json
+%%DATADIR%%/resource/userdata_original/controllers/LPX MIDI.json
 %%DATADIR%%/resource/userdata_original/controllers/Launch Control.json
 %%DATADIR%%/resource/userdata_original/controllers/Launchpad Mini.json
 %%DATADIR%%/resource/userdata_original/controllers/Launchpad S.json
@@ -50,6 +53,7 @@ bin/BespokeSynth
 %%DATADIR%%/resource/userdata_original/controllers/Maschine Jam.json
 %%DATADIR%%/resource/userdata_original/controllers/Maschine Mikro MK2 In.json
 %%DATADIR%%/resource/userdata_original/controllers/Midi Fighter Twister.json
+%%DATADIR%%/resource/userdata_original/controllers/MiniFreak MiniFreak MIDI.json
 %%DATADIR%%/resource/userdata_original/controllers/PANORAMA P4.json
 %%DATADIR%%/resource/userdata_original/controllers/QUNEO.json
 %%DATADIR%%/resource/userdata_original/controllers/SL MkII MIDI 1.json
@@ -180,6 +184,7 @@ bin/BespokeSynth
 %%DATADIR%%/resource/userdata_original/scripts/drumsynth_randomize.py
 %%DATADIR%%/resource/userdata_original/scripts/echo.py
 %%DATADIR%%/resource/userdata_original/scripts/euclid.py
+%%DATADIR%%/resource/userdata_original/scripts/lpx_programmer_mode.py
 %%DATADIR%%/resource/userdata_original/scripts/midicontroller_input.py
 %%DATADIR%%/resource/userdata_original/scripts/modulecreation.py
 %%DATADIR%%/resource/userdata_original/scripts/nanokontrol_to_m185.py