Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adjust build for juce7 update
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jul 12, 2022
1 parent af1152e commit b88fedd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -38,6 +38,7 @@ bin/vst
build/
debian
intermediate
juce_lv2_helper
lv2_ttl_generator

scripts/*.h
Expand Down Expand Up @@ -79,4 +80,5 @@ libs/juce*/source/modules/*/native/javaopt/
libs/juce*/source/modules/*/native/oboe/
libs/juce*/source/modules/*/native/*_android_*
libs/juce*/source/modules/*/native/*_ios_*
libs/juce*/source/modules/*/native/accessibility/*_test.cpp
libs/juce*/source/tools
6 changes: 5 additions & 1 deletion libs/juce-plugin/JucePluginMain.cpp
Expand Up @@ -20,7 +20,11 @@
#if JucePlugin_Build_AU
#include "modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm"
#elif JucePlugin_Build_LV2
#include "modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp"
#if JUCE_MAJOR_VERSION >= 7
#include "modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp"
#else
#include "modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp"
#endif
#elif JucePlugin_Build_RTAS
#include "modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp"
#elif JucePlugin_Build_VST
Expand Down
3 changes: 3 additions & 0 deletions libs/juce7/AppConfig.h
Expand Up @@ -9,6 +9,9 @@
#ifndef BUILD_JUCE_APPCONFIG_H_INCLUDED
#define BUILD_JUCE_APPCONFIG_H_INCLUDED

// needed for some plugins
// #define JUCE_MODAL_LOOPS_PERMITTED 1

#define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
#define JUCE_MODULE_AVAILABLE_juce_audio_formats 1
#define JUCE_MODULE_AVAILABLE_juce_audio_plugin_client 1
Expand Down
1 change: 1 addition & 0 deletions ports-juce7/meson.build
Expand Up @@ -56,6 +56,7 @@ build_flags_plugin_vst3 = [
'-DJucePlugin_Build_VST=0',
'-DJucePlugin_Build_VST3=1',
'-DJucePlugin_Build_Standalone=0',
'-Wno-non-virtual-dtor',
]

###############################################################################
Expand Down

0 comments on commit b88fedd

Please sign in to comment.