-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: falkTX <falktx@falktx.com>
- Loading branch information
Showing
20 changed files
with
697 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/extras/Build/CMake/JUCEUtils.cmake b/extras/Build/CMake/JUCEUtils.cmake | ||
index 87929c4..23b56c4 100644 | ||
--- a/extras/Build/CMake/JUCEUtils.cmake | ||
+++ b/extras/Build/CMake/JUCEUtils.cmake | ||
@@ -137,7 +137,7 @@ function(_juce_find_linux_target_architecture result) | ||
set("${result}" "${match_result}" PARENT_SCOPE) | ||
endfunction() | ||
|
||
-if(CMAKE_SYSTEM_NAME STREQUAL "Linux") | ||
+if(CMAKE_SYSTEM_NAME STREQUAL "LinuxIgnoredForPawPaw") | ||
_juce_create_pkgconfig_target(JUCE_CURL_LINUX_DEPS libcurl) | ||
_juce_create_pkgconfig_target(JUCE_BROWSER_LINUX_DEPS webkit2gtk-4.0 gtk+-x11-3.0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/modules/juce_audio_devices/juce_audio_devices.h b/modules/juce_audio_devices/juce_audio_devices.h | ||
index e27163c..af02932 100644 | ||
--- a/modules/juce_audio_devices/juce_audio_devices.h | ||
+++ b/modules/juce_audio_devices/juce_audio_devices.h | ||
@@ -41,7 +41,6 @@ | ||
dependencies: juce_audio_basics, juce_events | ||
OSXFrameworks: CoreAudio CoreMIDI AudioToolbox | ||
iOSFrameworks: CoreAudio CoreMIDI AudioToolbox AVFoundation | ||
- linuxPackages: alsa | ||
mingwLibs: winmm | ||
|
||
END_JUCE_MODULE_DECLARATION | ||
diff --git a/modules/juce_audio_processors/juce_audio_processors.h b/modules/juce_audio_processors/juce_audio_processors.h | ||
index 4b3c999..349fc41 100644 | ||
--- a/modules/juce_audio_processors/juce_audio_processors.h | ||
+++ b/modules/juce_audio_processors/juce_audio_processors.h | ||
@@ -41,7 +41,7 @@ | ||
website: http://www.juce.com/juce | ||
license: GPL/Commercial | ||
|
||
- dependencies: juce_gui_extra, juce_audio_basics | ||
+ dependencies: juce_data_structures, juce_audio_basics | ||
OSXFrameworks: CoreAudio CoreMIDI AudioToolbox | ||
iOSFrameworks: AudioToolbox | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
diff --git a/extras/Build/CMake/JUCEConfig.cmake.in b/extras/Build/CMake/JUCEConfig.cmake.in | ||
index 3e5c97d..f2af3a8 100644 | ||
--- a/extras/Build/CMake/JUCEConfig.cmake.in | ||
+++ b/extras/Build/CMake/JUCEConfig.cmake.in | ||
@@ -20,10 +20,12 @@ | ||
|
||
@PACKAGE_INIT@ | ||
|
||
-if(NOT TARGET juce::juceaide) | ||
- add_executable(juce::juceaide IMPORTED) | ||
- set_target_properties(juce::juceaide PROPERTIES | ||
- IMPORTED_LOCATION "@PACKAGE_JUCEAIDE_PATH@") | ||
+set(PACKAGE_PREFIX_DIR "@CMAKE_INSTALL_PREFIX@") | ||
+ | ||
+if(NOT TARGET juceaide60) | ||
+ add_executable(juceaide60 IMPORTED GLOBAL) | ||
+ set_target_properties(juceaide60 PROPERTIES | ||
+ IMPORTED_LOCATION "${PACKAGE_PREFIX_DIR}/bin/juceaide60") | ||
endif() | ||
|
||
check_required_components("@PROJECT_NAME@") | ||
diff --git a/extras/Build/CMake/JUCEUtils.cmake b/extras/Build/CMake/JUCEUtils.cmake | ||
index 23b56c4..0d8fd93 100644 | ||
--- a/extras/Build/CMake/JUCEUtils.cmake | ||
+++ b/extras/Build/CMake/JUCEUtils.cmake | ||
@@ -414,7 +414,7 @@ function(_juce_add_au_resource_fork shared_code_target au_target) | ||
# In the end, it's simplest to generate a special single-purpose appconfig just for the | ||
# resource compiler. | ||
add_custom_command(OUTPUT "${secret_au_plugindefines}" | ||
- COMMAND juce::juceaide auplugindefines "${defs_file}" "${secret_au_plugindefines}" | ||
+ COMMAND juceaide60 auplugindefines "${defs_file}" "${secret_au_plugindefines}" | ||
DEPENDS "${defs_file}" | ||
VERBATIM) | ||
|
||
@@ -856,7 +856,7 @@ function(juce_add_binary_data target) | ||
list(APPEND binary_file_names "${juce_binary_data_folder}/${JUCE_ARG_HEADER_NAME}") | ||
|
||
add_custom_command(OUTPUT ${binary_file_names} | ||
- COMMAND juce::juceaide binarydata "${JUCE_ARG_NAMESPACE}" "${JUCE_ARG_HEADER_NAME}" | ||
+ COMMAND juceaide60 binarydata "${JUCE_ARG_NAMESPACE}" "${JUCE_ARG_HEADER_NAME}" | ||
${juce_binary_data_folder} ${JUCE_ARG_SOURCES} | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} | ||
DEPENDS ${JUCE_ARG_SOURCES} | ||
@@ -953,7 +953,7 @@ function(juce_generate_juce_header target) | ||
set(extra_args) | ||
|
||
add_custom_command(OUTPUT "${juce_header}" | ||
- COMMAND juce::juceaide header "${defs_file}" "${juce_header}" ${extra_args} | ||
+ COMMAND juceaide60 header "${defs_file}" "${juce_header}" ${extra_args} | ||
DEPENDS "${defs_file}" | ||
VERBATIM) | ||
endfunction() | ||
@@ -961,11 +961,11 @@ endfunction() | ||
# ================================================================================================== | ||
|
||
function(_juce_execute_juceaide) | ||
- if(NOT TARGET juce::juceaide) | ||
+ if(NOT TARGET juceaide60) | ||
message(FATAL_ERROR "The juceaide target does not exist") | ||
endif() | ||
|
||
- get_target_property(juceaide_location juce::juceaide IMPORTED_LOCATION) | ||
+ get_target_property(juceaide_location juceaide60 IMPORTED_LOCATION) | ||
|
||
if(NOT EXISTS "${juceaide_location}") | ||
message(FATAL_ERROR "juceaide was imported, but it doesn't exist!") | ||
@@ -1095,7 +1095,7 @@ function(_juce_configure_bundle source_target dest_target) | ||
MACOSX_BUNDLE_INFO_PLIST "${this_output_plist}") | ||
|
||
add_custom_command(OUTPUT "${this_output_pkginfo}" | ||
- COMMAND juce::juceaide pkginfo "${juce_kind_string}" "${this_output_pkginfo}" | ||
+ COMMAND juceaide60 pkginfo "${juce_kind_string}" "${this_output_pkginfo}" | ||
VERBATIM) | ||
|
||
set(output_folder "$<TARGET_BUNDLE_CONTENT_DIR:${dest_target}>") | ||
@@ -1187,7 +1187,7 @@ function(_juce_add_resources_rc source_target dest_target) | ||
set(resource_rc_file "${juce_library_code}/resources.rc") | ||
|
||
add_custom_command(OUTPUT "${resource_rc_file}" | ||
- COMMAND juce::juceaide rcfile "${input_info_file}" "${resource_rc_file}" | ||
+ COMMAND juceaide60 rcfile "${input_info_file}" "${resource_rc_file}" | ||
${dependency} | ||
VERBATIM) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/extras/Build/CMake/JUCEUtils.cmake b/extras/Build/CMake/JUCEUtils.cmake | ||
index 768dc8a..052d9b3 100644 | ||
--- a/extras/Build/CMake/JUCEUtils.cmake | ||
+++ b/extras/Build/CMake/JUCEUtils.cmake | ||
@@ -182,9 +182,9 @@ function(_juce_set_default_properties) | ||
set_property(GLOBAL PROPERTY JUCE_VST3_COPY_DIR "${prefix}/VST3") | ||
set_property(GLOBAL PROPERTY JUCE_AAX_COPY_DIR "${prefix}/Avid/Audio/Plug-Ins") | ||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux") | ||
- set_property(GLOBAL PROPERTY JUCE_VST_COPY_DIR "$ENV{HOME}/.vst") | ||
- set_property(GLOBAL PROPERTY JUCE_VST3_COPY_DIR "$ENV{HOME}/.vst3") | ||
- set_property(GLOBAL PROPERTY JUCE_LV2_COPY_DIR "$ENV{HOME}/.lv2") | ||
+ set_property(GLOBAL PROPERTY JUCE_VST_COPY_DIR "$ENV{DESTDIR}/usr/lib/vst") | ||
+ set_property(GLOBAL PROPERTY JUCE_VST3_COPY_DIR "$ENV{DESTDIR}/usr/lib/vst3") | ||
+ set_property(GLOBAL PROPERTY JUCE_LV2_COPY_DIR "$ENV{DESTDIR}/usr/lib/lv2") | ||
endif() | ||
endfunction() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/modules/juce_gui_basics/juce_gui_basics.h b/modules/juce_gui_basics/juce_gui_basics.h | ||
index 28097d128..fe635da32 100644 | ||
--- a/modules/juce_gui_basics/juce_gui_basics.h | ||
+++ b/modules/juce_gui_basics/juce_gui_basics.h | ||
@@ -88,7 +88,7 @@ | ||
the availability of Xinerama is queried during runtime. | ||
*/ | ||
#ifndef JUCE_USE_XINERAMA | ||
- #define JUCE_USE_XINERAMA 1 | ||
+ #define JUCE_USE_XINERAMA 0 | ||
#endif | ||
|
||
/** Config: JUCE_USE_XSHM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/extras/Build/CMake/JUCEHelperTargets.cmake b/extras/Build/CMake/JUCEHelperTargets.cmake | ||
index 97e4194..dadb5d3 100644 | ||
--- a/extras/Build/CMake/JUCEHelperTargets.cmake | ||
+++ b/extras/Build/CMake/JUCEHelperTargets.cmake | ||
@@ -48,15 +48,3 @@ endif() | ||
|
||
add_library(juce_recommended_lto_flags INTERFACE) | ||
add_library(juce::juce_recommended_lto_flags ALIAS juce_recommended_lto_flags) | ||
- | ||
-if((CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") OR (CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")) | ||
- target_compile_options(juce_recommended_lto_flags INTERFACE | ||
- $<$<CONFIG:Release>:$<IF:$<STREQUAL:"${CMAKE_CXX_COMPILER_ID}","MSVC">,-GL,-flto>>) | ||
- target_link_libraries(juce_recommended_lto_flags INTERFACE | ||
- $<$<CONFIG:Release>:$<$<STREQUAL:"${CMAKE_CXX_COMPILER_ID}","MSVC">:-LTCG>>) | ||
-elseif((CMAKE_CXX_COMPILER_ID STREQUAL "Clang") | ||
- OR (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") | ||
- OR (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) | ||
- target_compile_options(juce_recommended_lto_flags INTERFACE $<$<CONFIG:Release>:-flto>) | ||
- target_link_libraries(juce_recommended_lto_flags INTERFACE $<$<CONFIG:Release>:-flto>) | ||
-endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/extras/Build/CMake/JUCEUtils.cmake b/extras/Build/CMake/JUCEUtils.cmake | ||
index 3f59bea..786fc3a 100644 | ||
--- a/extras/Build/CMake/JUCEUtils.cmake | ||
+++ b/extras/Build/CMake/JUCEUtils.cmake | ||
@@ -84,7 +84,7 @@ define_property(TARGET PROPERTY JUCE_COPY_PLUGIN_AFTER_BUILD INHERITED | ||
FULL_DOCS "Whether or not plugins should be copied after building") | ||
set_property(GLOBAL PROPERTY JUCE_COPY_PLUGIN_AFTER_BUILD FALSE) | ||
|
||
-if((CMAKE_SYSTEM_NAME STREQUAL "Linux") OR (CMAKE_SYSTEM_NAME MATCHES ".*BSD")) | ||
+if((CMAKE_SYSTEM_NAME STREQUAL "LinuxIgnoredForPawPaw") OR (CMAKE_SYSTEM_NAME MATCHES ".*BSD")) | ||
_juce_create_pkgconfig_target(JUCE_CURL_LINUX_DEPS libcurl) | ||
_juce_create_pkgconfig_target(JUCE_BROWSER_LINUX_DEPS webkit2gtk-4.0 gtk+-x11-3.0) | ||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/modules/juce_audio_devices/juce_audio_devices.h b/modules/juce_audio_devices/juce_audio_devices.h | ||
index b407702..c7adc25 100644 | ||
--- a/modules/juce_audio_devices/juce_audio_devices.h | ||
+++ b/modules/juce_audio_devices/juce_audio_devices.h | ||
@@ -42,7 +42,6 @@ | ||
dependencies: juce_audio_basics, juce_events | ||
OSXFrameworks: CoreAudio CoreMIDI AudioToolbox | ||
iOSFrameworks: CoreAudio CoreMIDI AudioToolbox AVFoundation | ||
- linuxPackages: alsa | ||
mingwLibs: winmm | ||
|
||
END_JUCE_MODULE_DECLARATION | ||
diff --git a/modules/juce_audio_processors/juce_audio_processors.h b/modules/juce_audio_processors/juce_audio_processors.h | ||
index 25dcf0f..e363697 100644 | ||
--- a/modules/juce_audio_processors/juce_audio_processors.h | ||
+++ b/modules/juce_audio_processors/juce_audio_processors.h | ||
@@ -42,7 +42,7 @@ | ||
license: GPL/Commercial | ||
minimumCppStandard: 14 | ||
|
||
- dependencies: juce_gui_extra, juce_audio_basics | ||
+ dependencies: juce_data_structures, juce_audio_basics | ||
OSXFrameworks: CoreAudio CoreMIDI AudioToolbox | ||
iOSFrameworks: AudioToolbox | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
diff --git a/extras/Build/CMake/JUCEConfig.cmake.in b/extras/Build/CMake/JUCEConfig.cmake.in | ||
index 782c732..9f29061 100644 | ||
--- a/extras/Build/CMake/JUCEConfig.cmake.in | ||
+++ b/extras/Build/CMake/JUCEConfig.cmake.in | ||
@@ -20,10 +20,12 @@ | ||
|
||
@PACKAGE_INIT@ | ||
|
||
-if(NOT TARGET juce::juceaide) | ||
- add_executable(juce::juceaide IMPORTED) | ||
- set_target_properties(juce::juceaide PROPERTIES | ||
- IMPORTED_LOCATION "@PACKAGE_JUCEAIDE_PATH@") | ||
+set(PACKAGE_PREFIX_DIR "@CMAKE_INSTALL_PREFIX@") | ||
+ | ||
+if(NOT TARGET juceaide61) | ||
+ add_executable(juceaide61 IMPORTED GLOBAL) | ||
+ set_target_properties(juceaide61 PROPERTIES | ||
+ IMPORTED_LOCATION "${PACKAGE_PREFIX_DIR}/bin/juceaide61") | ||
endif() | ||
|
||
check_required_components("@PROJECT_NAME@") | ||
diff --git a/extras/Build/CMake/JUCEUtils.cmake b/extras/Build/CMake/JUCEUtils.cmake | ||
index 786fc3a..86af138 100644 | ||
--- a/extras/Build/CMake/JUCEUtils.cmake | ||
+++ b/extras/Build/CMake/JUCEUtils.cmake | ||
@@ -187,7 +187,7 @@ function(_juce_add_au_resource_fork shared_code_target au_target) | ||
# In the end, it's simplest to generate a special single-purpose appconfig just for the | ||
# resource compiler. | ||
add_custom_command(OUTPUT "${secret_au_plugindefines}" | ||
- COMMAND juce::juceaide auplugindefines "${defs_file}" "${secret_au_plugindefines}" | ||
+ COMMAND juceaide61 auplugindefines "${defs_file}" "${secret_au_plugindefines}" | ||
DEPENDS "${defs_file}" | ||
VERBATIM) | ||
|
||
@@ -409,7 +409,7 @@ function(juce_add_binary_data target) | ||
file(WRITE "${input_file_list}" "${newline_delimited_input}") | ||
|
||
add_custom_command(OUTPUT ${binary_file_names} | ||
- COMMAND juce::juceaide binarydata "${JUCE_ARG_NAMESPACE}" "${JUCE_ARG_HEADER_NAME}" | ||
+ COMMAND juceaide61 binarydata "${JUCE_ARG_NAMESPACE}" "${JUCE_ARG_HEADER_NAME}" | ||
${juce_binary_data_folder} "${input_file_list}" | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} | ||
DEPENDS "${input_file_list}" | ||
@@ -493,7 +493,7 @@ function(juce_generate_juce_header target) | ||
set(extra_args) | ||
|
||
add_custom_command(OUTPUT "${juce_header}" | ||
- COMMAND juce::juceaide header "${defs_file}" "${juce_header}" ${extra_args} | ||
+ COMMAND juceaide61 header "${defs_file}" "${juce_header}" ${extra_args} | ||
DEPENDS "${defs_file}" | ||
VERBATIM) | ||
endfunction() | ||
@@ -501,20 +501,20 @@ endfunction() | ||
# ================================================================================================== | ||
|
||
function(_juce_execute_juceaide) | ||
- if(NOT TARGET juce::juceaide) | ||
- message(FATAL_ERROR "The juceaide target does not exist") | ||
+ if(NOT TARGET juceaide61) | ||
+ message(FATAL_ERROR "The juceaide61 target does not exist") | ||
endif() | ||
|
||
- get_target_property(juceaide_location juce::juceaide IMPORTED_LOCATION) | ||
+ get_target_property(juceaide61_location juceaide61 IMPORTED_LOCATION) | ||
|
||
- if(NOT EXISTS "${juceaide_location}") | ||
- message(FATAL_ERROR "juceaide was imported, but it doesn't exist!") | ||
+ if(NOT EXISTS "${juceaide61_location}") | ||
+ message(FATAL_ERROR "juceaide61 was imported, but it doesn't exist!") | ||
endif() | ||
|
||
- execute_process(COMMAND "${juceaide_location}" ${ARGN} RESULT_VARIABLE result_variable) | ||
+ execute_process(COMMAND "${juceaide61_location}" ${ARGN} RESULT_VARIABLE result_variable) | ||
|
||
if(result_variable) | ||
- message(FATAL_ERROR "Running juceaide failed") | ||
+ message(FATAL_ERROR "Running juceaide61 failed") | ||
endif() | ||
endfunction() | ||
|
||
@@ -651,7 +651,7 @@ function(_juce_configure_bundle source_target dest_target) | ||
MACOSX_BUNDLE_INFO_PLIST "${this_output_plist}") | ||
|
||
add_custom_command(OUTPUT "${this_output_pkginfo}" | ||
- COMMAND juce::juceaide pkginfo "${juce_kind_string}" "${this_output_pkginfo}" | ||
+ COMMAND juceaide61 pkginfo "${juce_kind_string}" "${this_output_pkginfo}" | ||
VERBATIM) | ||
|
||
set(output_folder "$<TARGET_BUNDLE_CONTENT_DIR:${dest_target}>") | ||
@@ -743,7 +743,7 @@ function(_juce_add_resources_rc source_target dest_target) | ||
set(resource_rc_file "${juce_library_code}/resources.rc") | ||
|
||
add_custom_command(OUTPUT "${resource_rc_file}" | ||
- COMMAND juce::juceaide rcfile "${input_info_file}" "${resource_rc_file}" | ||
+ COMMAND juceaide61 rcfile "${input_info_file}" "${resource_rc_file}" | ||
${dependency} | ||
VERBATIM) | ||
|
Oops, something went wrong.