diff --git a/audio/dexed/Makefile b/audio/dexed/Makefile index ea41f2c750d7..671f3570e907 100644 --- a/audio/dexed/Makefile +++ b/audio/dexed/Makefile @@ -1,70 +1,71 @@ PORTNAME= dexed DISTVERSIONPREFIX= v -DISTVERSION= 0.9.7 +DISTVERSION= 0.9.8-17 +DISTVERSIONSUFFIX= -g5a07eb1 CATEGORIES= audio PKGNAMESUFFIX= -synth MAINTAINER= yuri@FreeBSD.org COMMENT= DX7 FM multi plaform/multi format plugin WWW= https://asb2m10.github.io/dexed/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= compilation fails due to the 'mb' variable conflict, pending https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283492 BUILD_DEPENDS= libX11>0:x11/libX11 \ libXcursor>0:x11/libXcursor \ libXinerama>0:x11/libXinerama \ libXrandr>0:x11/libXrandr LIB_DEPENDS= libfreetype.so:print/freetype2 \ libjack.so:audio/jack \ libpng16.so:graphics/png \ libasound.so:audio/alsa-lib # see https://github.com/asb2m10/dexed/issues/343 about the ALSA use USES= cmake dos2unix localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= asb2m10 GH_TUPLE= \ steinbergmedia:vst3sdk:e9895dc9ef20bedd93a0fde5ad664bc8b56d4338:steinbergmedia_vst3sdk/libs/vst3sdk \ surge-synthesizer:tuning-library:601c0eabff31fff8a543b49d3e48073f338f413c:surge_synthesizer_tuning_library/libs/tuning-library \ surge-synthesizer:surgesynthteam_tuningui:54f9a74cd55cdb33fb4d32d706067626857cfc75:surge_synthesizer_surgesynthteam_tuningui/libs/surgesynthteam_tuningui \ ODDSound:MTS-ESP:514ed958b38e5ab501999f902a2427ebe6232a78:ODDSound_MTS_ESP/libs/MTS-ESP \ juce-framework:JUCE:d054f0d14dcac387aebda44ce5d792b5e7a625b3:juce_framework_JUCE/libs/JUCE \ free-audio:clap-juce-extensions:4491bc30223cecf8ff495de943510863b71a7a81:free_audio_clap_juce_extensions/libs/clap-juce-extensions \ free-audio:clap:df8f16c69ba1c1a15fb105f0c5a2e5b9ac6be742:free_audio_clap/libs/clap-juce-extensions/clap-libs/clap \ free-audio:clap-helpers:7b53a685e11465154b4ccba3065224dbcbf8a893:free_audio_clap_helpers/libs/clap-juce-extensions/clap-libs/clap-helpers DOS2UNIX_GLOB= *.cpp *.h PLIST_FILES= bin/Dexed OPTIONS_DEFINE= VST3 #OPTIONS_DEFAULT= VST3 VST3_DESC= Build the VST3 plugin VST3_BUILD_DEPENDS= vst3sdk>0:audio/vst3sdk VST3_CXXFLAGS= -DJUCE_CUSTOM_VST3_SDK=1 -fPIC VST3_PLIST_FILES= lib/vst3/Dexed.so VST3_BROKEN= VST3 plugin fails to build, see https://github.com/asb2m10/dexed/issues/433 CXXFLAGS+= -DJUCE_INCLUDE_PNGLIB_CODE=0 # to fix build on powerpc64le, see bug#265446, https://github.com/juce-framework/JUCE/issues/1094 CXXFLAGS+= -fPIC # workaround for ld: error: relocation R_X86_64_PC32 cannot be used against symbol 'BinaryData::LFO_36_26_png'; recompile with -fPIC #CXXFLAGS+= -DJUCE_CUSTOM_VST3_SDK=1 LDFLAGS+= -lpng16 PORTSCOUT= skipv:nightly post-patch-VST3-off: @${REINPLACE_CMD} -e 's/FORMATS AU VST3 Standalone/FORMATS AU Standalone/' ${WRKSRC}/Source/CMakeLists.txt do-install: # workaround for https://github.com/asb2m10/dexed/issues/342 ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Source/Dexed_artefacts/Release/Standalone/Dexed ${STAGEDIR}${PREFIX}/bin do-install-VST3-on: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst3 ${INSTALL_LIB} ${BUILD_WRKSRC}/Source/Dexed_artefacts/Release/VST3/Dexed.vst3/Contents/*/Dexed.so ${STAGEDIR}${PREFIX}/lib/vst3 .include diff --git a/audio/dexed/distinfo b/audio/dexed/distinfo index a5902ebe2ba0..7c18d5d78670 100644 --- a/audio/dexed/distinfo +++ b/audio/dexed/distinfo @@ -1,19 +1,19 @@ -TIMESTAMP = 1720976597 -SHA256 (asb2m10-dexed-v0.9.7_GH0.tar.gz) = 0b2c90ecc14768c10c9e06f1fe0678738d71ca733f896579105391ce49c6c103 -SIZE (asb2m10-dexed-v0.9.7_GH0.tar.gz) = 15966257 +TIMESTAMP = 1762664890 +SHA256 (asb2m10-dexed-v0.9.8-17-g5a07eb1_GH0.tar.gz) = a001362c72ae1bd4e50d72c743701633846f8d9c7618e036487290dda63e13d8 +SIZE (asb2m10-dexed-v0.9.8-17-g5a07eb1_GH0.tar.gz) = 15970581 SHA256 (steinbergmedia-vst3sdk-e9895dc9ef20bedd93a0fde5ad664bc8b56d4338_GH0.tar.gz) = 8e2e5cb30bc57f2503bdfef5946e72a3a166b527f8b63775dbcde5c232ac9801 SIZE (steinbergmedia-vst3sdk-e9895dc9ef20bedd93a0fde5ad664bc8b56d4338_GH0.tar.gz) = 416373 SHA256 (surge-synthesizer-tuning-library-601c0eabff31fff8a543b49d3e48073f338f413c_GH0.tar.gz) = c714bbcafb695315bd56a6e82f3d2db4a0923a76895b4b59e615987cb7b58000 SIZE (surge-synthesizer-tuning-library-601c0eabff31fff8a543b49d3e48073f338f413c_GH0.tar.gz) = 152641 SHA256 (surge-synthesizer-surgesynthteam_tuningui-54f9a74cd55cdb33fb4d32d706067626857cfc75_GH0.tar.gz) = c95f5610f9f965bfea6b3cdf14a54a0479486ed8ba82c0c0830da7ee9cd07da0 SIZE (surge-synthesizer-surgesynthteam_tuningui-54f9a74cd55cdb33fb4d32d706067626857cfc75_GH0.tar.gz) = 10997 SHA256 (ODDSound-MTS-ESP-514ed958b38e5ab501999f902a2427ebe6232a78_GH0.tar.gz) = c184c81aa83cb533e5d05ceeeccad716e4d294b87a12510ec9d43be682b60f6c SIZE (ODDSound-MTS-ESP-514ed958b38e5ab501999f902a2427ebe6232a78_GH0.tar.gz) = 1328114 SHA256 (juce-framework-JUCE-d054f0d14dcac387aebda44ce5d792b5e7a625b3_GH0.tar.gz) = c1a16c614787a8666896392bdff9e24571b6b0893be8db6a963ed629c8e5b058 SIZE (juce-framework-JUCE-d054f0d14dcac387aebda44ce5d792b5e7a625b3_GH0.tar.gz) = 19419992 SHA256 (free-audio-clap-juce-extensions-4491bc30223cecf8ff495de943510863b71a7a81_GH0.tar.gz) = ba84419c9691741add29d241e1a2578677528971eee1d7a0b2eccc77e1c86223 SIZE (free-audio-clap-juce-extensions-4491bc30223cecf8ff495de943510863b71a7a81_GH0.tar.gz) = 69038 SHA256 (free-audio-clap-df8f16c69ba1c1a15fb105f0c5a2e5b9ac6be742_GH0.tar.gz) = 8d683a56092447b3be59e794e693dee61e2965fb4fbbeb2f97888389a6454818 SIZE (free-audio-clap-df8f16c69ba1c1a15fb105f0c5a2e5b9ac6be742_GH0.tar.gz) = 2342648 SHA256 (free-audio-clap-helpers-7b53a685e11465154b4ccba3065224dbcbf8a893_GH0.tar.gz) = eaf5869b2b40dcfc71a1e3f73167a2255c2fc2d53f553f813b6c051e54df1374 SIZE (free-audio-clap-helpers-7b53a685e11465154b4ccba3065224dbcbf8a893_GH0.tar.gz) = 38227 diff --git a/audio/dexed/files/patch-Source_PluginData.cpp b/audio/dexed/files/patch-Source_PluginData.cpp deleted file mode 100644 index 978d97954d32..000000000000 --- a/audio/dexed/files/patch-Source_PluginData.cpp +++ /dev/null @@ -1,26 +0,0 @@ -- from Bug 265342 - audio/dexed: fix build on armv7 arm64 - ---- Source/PluginData.cpp.orig 2022-07-20 04:30:35 UTC -+++ Source/PluginData.cpp -@@ -103,18 +103,14 @@ void Cartridge::packProgram(uint8_t *src, int idx, Str - * This function normalize data that comes from corrupted sysex. - * It used to avoid engine crashing upon extreme values - */ --char normparm(char value, char max, int id) { -- if ( value <= max && value >= 0 ) -+uint8_t normparm(uint8_t value, uint8_t max, int id) { -+ if ( value <= max ) - return value; - - // if this is beyond the max, we expect a 0-255 range, normalize this - // to the expected return value; and this value as a random data. - -- value = abs(value); -- -- char v = ((float)value)/255 * max; -- -- return v; -+ return ((float)value)/255 * max; - } - - void Cartridge::unpackProgram(uint8_t *unpackPgm, int idx) { diff --git a/audio/dexed/files/patch-Source_PluginProcessor.h b/audio/dexed/files/patch-Source_PluginProcessor.h deleted file mode 100644 index 5610de891ba0..000000000000 --- a/audio/dexed/files/patch-Source_PluginProcessor.h +++ /dev/null @@ -1,13 +0,0 @@ -- from Bug 265342 - audio/dexed: fix build on armv7 arm64 - ---- Source/PluginProcessor.h.orig 2024-07-14 16:47:34 UTC -+++ Source/PluginProcessor.h -@@ -129,7 +129,7 @@ class DexedAudioProcessor : public AudioProcessor, pu - EngineOpl engineOpl; - - char clipboard[161]; -- char clipboardContent; -+ signed char clipboardContent; - - void resolvAppDir(); -