Skip to content

Commit 80bbc6c

Browse files
committed
[juce] update 8.0.8 + windows arm support
1 parent 0f7c301 commit 80bbc6c

File tree

6 files changed

+54
-4
lines changed

6 files changed

+54
-4
lines changed

ports/juce/arm-neon.patch

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
diff --git a/modules/juce_dsp/juce_dsp.h b/modules/juce_dsp/juce_dsp.h
2+
index a76bc37189..54076969f3 100644
3+
--- a/modules/juce_dsp/juce_dsp.h
4+
+++ b/modules/juce_dsp/juce_dsp.h
5+
@@ -92,7 +92,7 @@
6+
#endif
7+
#endif
8+
9+
- #if JUCE_64BIT && JUCE_WINDOWS
10+
+ #if JUCE_64BIT && JUCE_WINDOWS && !JUCE_CLANG
11+
#include <arm64_neon.h>
12+
#else
13+
#include <arm_neon.h>
14+
--
15+
2.48.1
16+

ports/juce/debug-break.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
diff --git a/modules/juce_core/system/juce_PlatformDefs.h b/modules/juce_core/system/juce_PlatformDefs.h
2+
index 3312736598..83322c4e09 100644
3+
--- a/modules/juce_core/system/juce_PlatformDefs.h
4+
+++ b/modules/juce_core/system/juce_PlatformDefs.h
5+
@@ -93,8 +93,18 @@ namespace juce
6+
#define JUCE_BREAK_IN_DEBUGGER { __builtin_debugtrap(); }
7+
#elif JUCE_ANDROID
8+
#define JUCE_BREAK_IN_DEBUGGER { __builtin_trap(); }
9+
+#elif JUCE_ARM
10+
+ #if JUCE_NO_INLINE_ASM
11+
+ #define JUCE_BREAK_IN_DEBUGGER { }
12+
+ #else
13+
+ #define JUCE_BREAK_IN_DEBUGGER { __asm__ volatile(".inst 0xd4200000"); }
14+
+ #endif
15+
#else
16+
- #define JUCE_BREAK_IN_DEBUGGER { __asm int 3 }
17+
+ #if JUCE_NO_INLINE_ASM
18+
+ #define JUCE_BREAK_IN_DEBUGGER { }
19+
+ #else
20+
+ #define JUCE_BREAK_IN_DEBUGGER { __asm int 3 }
21+
+ #endif
22+
#endif
23+
24+
#if JUCE_CLANG && defined (__has_feature) && ! defined (JUCE_ANALYZER_NORETURN)
25+
--
26+
2.48.1
27+

ports/juce/portfile.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ vcpkg_from_github(
44
OUT_SOURCE_PATH SOURCE_PATH
55
REPO juce-framework/JUCE
66
REF "${VERSION}"
7-
SHA512 ca404d94f8f79d9644f391342807dde279d1d313ef597a5d7fa88760e0459f2639cb98b6523c3ae71b2641357df63353c1f32e9b33dd9f050f5651fba470ec33
7+
SHA512 19a7a6971d41241372dd83a9889de7393a3676382cce8bcd4a663c39d6e2aa54089bbfbb7dfa3586678d57f6a0e3c16edec53e2460a13062dd461dbe9a01abbb
88
HEAD_REF master
99
PATCHES
1010
0001-build-allow-setting-JUCE_PLUGINHOST_LADSPA.patch
@@ -17,6 +17,8 @@ vcpkg_from_github(
1717
vcpkg-compile-definitions.diff
1818
avoid-macos-15-deprecations.patch
1919
0005-feat-add-forEach-method-to-ProcessorChain.patch
20+
debug-break.patch
21+
arm-neon.patch
2022
)
2123
file(REMOVE_RECURSE "${SOURCE_PATH}/modules/juce_audio_devices/native/oboe")
2224

ports/juce/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
33
"name": "juce",
4-
"version": "8.0.7",
4+
"version": "8.0.8",
55
"description": "Open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, AAX and LV2 audio plug-ins and plug-in hosts",
66
"homepage": "https://juce.com",
77
"license": null,

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4057,7 +4057,7 @@
40574057
"port-version": 0
40584058
},
40594059
"juce": {
4060-
"baseline": "8.0.7",
4060+
"baseline": "8.0.8",
40614061
"port-version": 0
40624062
},
40634063
"jwt-cpp": {

versions/j-/juce.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
22
"versions": [
33
{
4-
"git-tree": "e91c4756043103745502c0b0ce8d9e0097509396",
4+
"git-tree": "66ff586aca9f87a097996564542ec594891fbec5",
5+
"version": "8.0.8",
6+
"port-version": 0
7+
},
8+
{
9+
"git-tree": "3921944ee1f5042f321a60da0a0b80a0cc2f765d",
510
"version": "8.0.7",
611
"port-version": 0
712
},

0 commit comments

Comments
 (0)