File crypt-cmakelists.patch of Package vitling-crypt
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0104d4d..67718f8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12 CACHE STRING "Minimum OS X deployment vers
project(CRYPT_SYNTH_PLUGIN VERSION 2.1.0)
-add_subdirectory(JUCE)
+find_package(JUCE CONFIG REQUIRED)
juce_add_plugin(Crypt2SynthPlugin
VERSION 2.1.0 # Set this if the plugin version is different to the project version
@@ -31,13 +31,14 @@ juce_add_plugin(Crypt2SynthPlugin
NEEDS_MIDI_OUTPUT FALSE # Does the plugin need midi output?
IS_MIDI_EFFECT FALSE # Is this plugin a MIDI effect?
EDITOR_WANTS_KEYBOARD_FOCUS FALSE # Does the editor need keyboard focus?
- COPY_PLUGIN_AFTER_BUILD TRUE # Should the plugin be installed to a default location after building?
+ COPY_PLUGIN_AFTER_BUILD FALSE # Should the plugin be installed to a default location after building?
PLUGIN_MANUFACTURER_CODE Vitl # A four-character manufacturer id with at least one upper-case character
PLUGIN_CODE Crp2 # A unique four-character plugin id with at least one upper-case character
DESCRIPTION "Hyper-Unison Synthesiser from Bow Church/Vitling"
VST3_CATEGORIES "Instrument Synth Stereo"
AU_MAIN_TYPE "kAudioUnitType_MusicDevice"
- FORMATS VST3 AU Standalone # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
+ FORMATS LV2 VST VST3 AU Standalone # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
+ LV2URI "https://github.com/vitling/crypt"
BUNDLE_ID "xyz.vitling.plugins.crypt2"
HARDENED_RUNTIME_ENABLED TRUE
PRODUCT_NAME "Crypt2") # The name of the final executable, which can differ from the target name
@@ -53,6 +54,7 @@ target_compile_definitions(Crypt2SynthPlugin
JUCE_WEB_BROWSER=0
JUCE_USE_CURL=0
JUCE_VST3_CAN_REPLACE_VST2=0
+ JUCE_JACK=1
# We don't have to display the splash screen since we're using JUCE
# under the GPL
@@ -65,4 +67,4 @@ target_link_libraries(Crypt2SynthPlugin PRIVATE
Crypt2SynthPluginData
juce::juce_audio_utils
juce::juce_dsp)
-
\ No newline at end of file
+