Skip to content

Commit

Permalink
Tweaks for fixing JUCE support
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Nov 7, 2024
1 parent c9412fd commit f59001c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins-dep/package/juce-6.0/toolchainfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l")
set(CROSSCOMPILING TRUE)
set(CROSSCOMPILING_EMULATOR qemu-arm-static -L "${TARGET_DIR}")
endif()

set(JUCE_AUDIOPROCESSOR_NO_GUI TRUE)
set(JUCE_MOD_BUILD TRUE)
3 changes: 3 additions & 0 deletions plugins-dep/package/juce-6.1/toolchainfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l")
set(CROSSCOMPILING TRUE)
set(CROSSCOMPILING_EMULATOR qemu-arm-static -L "${TARGET_DIR}")
endif()

set(JUCE_AUDIOPROCESSOR_NO_GUI TRUE)
set(JUCE_MOD_BUILD TRUE)
13 changes: 13 additions & 0 deletions plugins-dep/package/juce-7.0/05_always-generate-lv2-helper.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4262a9852..4f2dcfa6b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -163,7 +163,7 @@ install(FILES "${JUCE_BINARY_DIR}/JUCEConfigVersion.cmake"
"${JUCE_CMAKE_UTILS_DIR}/juce_LinuxSubprocessHelper.cpp"
DESTINATION "${JUCE_INSTALL_DESTINATION}")

-if(("${CMAKE_SOURCE_DIR}" STREQUAL "${JUCE_SOURCE_DIR}") AND (NOT JUCE_BUILD_HELPER_TOOLS))
+if("${CMAKE_SOURCE_DIR}" STREQUAL "${JUCE_SOURCE_DIR}")
_juce_add_lv2_manifest_helper_target()

if(TARGET juce_lv2_helper)
3 changes: 3 additions & 0 deletions plugins-dep/package/juce-7.0/toolchainfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l")
set(CROSSCOMPILING TRUE)
set(CROSSCOMPILING_EMULATOR qemu-arm-static -L "${TARGET_DIR}")
endif()

set(JUCE_AUDIOPROCESSOR_NO_GUI TRUE)
set(JUCE_MOD_BUILD TRUE)

0 comments on commit f59001c

Please sign in to comment.