External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
3.9KB

  1. --- hamburger-0.5.orig/CMakeLists.txt
  2. +++ hamburger-0.5/CMakeLists.txt
  3. @@ -76,23 +76,10 @@ project(Hamburger VERSION "${ProjectVers
  4. # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Ofast")
  5. # endif()
  6. -FetchContent_Declare(
  7. - JUCE
  8. - GIT_REPOSITORY https://github.com/juce-framework/JUCE.git
  9. - GIT_TAG 51d11a2be6d5c97ccf12b4e5e827006e19f0555a
  10. - GIT_PROGRESS TRUE
  11. - GIT_SHALLOW 1
  12. -)
  13. -
  14. -FetchContent_MakeAvailable(JUCE)
  15. +find_package(JUCE-7.0.12 REQUIRED)
  16. # set commit hash for use in general idk
  17. -execute_process(
  18. - COMMAND git log -1 --format=%h
  19. - WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
  20. - OUTPUT_VARIABLE GIT_HASH
  21. - OUTPUT_STRIP_TRAILING_WHITESPACE
  22. -)
  23. +set(GIT_HASH "0.5")
  24. if(APPLE)
  25. @@ -128,7 +115,7 @@ juce_add_plugin("${BaseTargetName}"
  26. VST3_COPY_DIR "${outdir}"
  27. VST_COPY_DIR "${outdir}"
  28. AU_COPY_DIR "${outdir}"
  29. - FORMATS VST3 Standalone AU # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
  30. + FORMATS LV2 VST VST3
  31. VST3_CATEGORIES Fx Distortion Dynamics
  32. )
  33. @@ -192,10 +179,10 @@ juce_add_binary_data("${BaseTargetName}B
  34. )
  35. set_target_properties("${BaseTargetName}BinaryData" PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
  36. -FetchContent_Declare (melatonin_perfetto
  37. - GIT_REPOSITORY https://github.com/sudara/melatonin_perfetto.git
  38. - GIT_SHALLOW 1
  39. - GIT_TAG origin/main)
  40. +# FetchContent_Declare (melatonin_perfetto
  41. +# GIT_REPOSITORY https://github.com/sudara/melatonin_perfetto.git
  42. +# GIT_SHALLOW 1
  43. +# GIT_TAG origin/main)
  44. # FetchContent_Declare (melatonin_inspector
  45. # GIT_REPOSITORY https://github.com/sudara/melatonin_inspector.git
  46. @@ -203,21 +190,21 @@ FetchContent_Declare (melatonin_perfetto
  47. # GIT_TAG origin/main
  48. # SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/melatonin_inspector)
  49. -FetchContent_Declare (clap-juce-extensions
  50. - GIT_REPOSITORY https://github.com/free-audio/clap-juce-extensions.git
  51. - GIT_SHALLOW 1
  52. - GIT_TAG origin/main)
  53. +# FetchContent_Declare (clap-juce-extensions
  54. +# GIT_REPOSITORY https://github.com/free-audio/clap-juce-extensions.git
  55. +# GIT_SHALLOW 1
  56. +# GIT_TAG origin/main)
  57. -FetchContent_MakeAvailable (clap-juce-extensions)
  58. +# FetchContent_MakeAvailable (clap-juce-extensions)
  59. if (PERFETTO)
  60. FetchContent_MakeAvailable (melatonin_perfetto)
  61. endif()
  62. -clap_juce_extensions_plugin(TARGET "${BaseTargetName}"
  63. -CLAP_ID "com.AviaryAudio.${PluginName}"
  64. -CLAP_FEATURES effect "distortion analog compressor" audio-effect)
  65. +# clap_juce_extensions_plugin(TARGET "${BaseTargetName}"
  66. +# CLAP_ID "com.AviaryAudio.${PluginName}"
  67. +# CLAP_FEATURES effect "distortion analog compressor" audio-effect)
  68. target_link_libraries("${BaseTargetName}"
  69. PRIVATE
  70. --- hamburger-0.5.orig/PluginProcessor.h
  71. +++ hamburger-0.5/PluginProcessor.h
  72. @@ -22,11 +22,11 @@
  73. // profiling
  74. // #include <melatonin_perfetto/melatonin_perfetto.h>
  75. -#include "clap-juce-extensions/clap-juce-extensions.h"
  76. +// #include "clap-juce-extensions/clap-juce-extensions.h"
  77. //==============================================================================
  78. -class AudioPluginAudioProcessor : public juce::AudioProcessor, public clap_juce_extensions::clap_properties
  79. +class AudioPluginAudioProcessor : public juce::AudioProcessor
  80. {
  81. public:
  82. @@ -117,4 +117,4 @@ private:
  83. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(AudioPluginAudioProcessor)
  84. -};
  85. \ No newline at end of file
  86. +};
  87. --- hamburger-0.5.orig/gui/PresetPanel.h
  88. +++ hamburger-0.5/gui/PresetPanel.h
  89. @@ -46,7 +46,7 @@ public:
  90. }
  91. const juce::Typeface::Ptr quicksandTypeface = juce::Typeface::createSystemTypefaceFor(BinaryData::QuicksandBold_ttf, BinaryData::QuicksandBold_ttfSize);
  92. - Font quicksandFont = juce::Font(FontOptions(quicksandTypeface));
  93. + Font quicksandFont = juce::Font(quicksandTypeface);
  94. void initFiles(bool ignoreCollapsedStates = false)
  95. {
  96. @@ -553,4 +553,4 @@ private:
  97. CustomListBoxModel listBoxModel;
  98. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(PresetPanel)
  99. -};
  100. \ No newline at end of file
  101. +};