File tree Expand file tree Collapse file tree 6 files changed +40
-1
lines changed
project/addons/godot-steam-audio/bin Expand file tree Collapse file tree 6 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 1313 id : vars
1414 run : |
1515 echo "COMMIT_SHORT_SHA=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
16+ - uses : nttld/setup-ndk@v1
17+ id : setup-ndk
18+ with :
19+ ndk-version : r23c
20+ add-to-path : true
21+ link-to-sdk : true
1622 - uses : actions/setup-python@v5
1723 - name : install-deps
1824 run : |
2834 unzip steamaudio_4.5.3.zip 'steamaudio/lib/**/*' -d src/lib
2935 cp src/lib/steamaudio/lib/linux-x64/* project/addons/godot-steam-audio/bin/
3036 cp src/lib/steamaudio/lib/windows-x64/* project/addons/godot-steam-audio/bin/
37+ cp src/lib/steamaudio/lib/android-armv8/* project/addons/godot-steam-audio/bin/android/arm64
38+ cp src/lib/steamaudio/lib/android-x64/* project/addons/godot-steam-audio/bin/android/x86_64
3139 - name : build-ext
3240 run : |
3341 make release
Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ install-steam-audio:
77 cp src/lib/steamaudio/lib/linux-x64/libphonon.so project/addons/godot-steam-audio/bin
88
99release :
10- scons platform=linux target=template_debug && scons platform=windows target=template_debug && \
10+ scons platform=android arch=arm64 target=template_release && scons platform=android arch=x86_64 target=template_release && \
11+ scons platform=android arch=arm64 target=template_debug && scons platform=android arch=x86_64 target=template_debug && \
12+ scons platform=linux target=template_debug && scons platform=windows target=template_debug && \
1113 scons platform=linux target=template_release && scons platform=windows target=template_release
1214 mkdir godot-steam-audio-demo
1315 mkdir godot-steam-audio
Original file line number Diff line number Diff line change @@ -23,6 +23,19 @@ elif env["platform"] == "windows":
2323elif env ["platform" ] == "macos" :
2424 env .Append (LIBPATH = [f'{ steam_audio_lib_path } /osx' ])
2525 env .Append (LIBS = ["libphonon.dylib" ])
26+ elif env ["platform" ] == "android" :
27+ if env ["arch" ] == "arm64" :
28+ env .Append (LIBPATH = [f'{ steam_audio_lib_path } /android-armv8' ])
29+ env .Append (LIBS = ["libphonon.so" ])
30+ if env ["arch" ] == "arm32" :
31+ env .Append (LIBPATH = [f'{ steam_audio_lib_path } /android-armv7' ])
32+ env .Append (LIBS = ["libphonon.so" ])
33+ if env ["arch" ] == "x86_64" :
34+ env .Append (LIBPATH = [f'{ steam_audio_lib_path } /android-x64' ])
35+ env .Append (LIBS = ["libphonon.so" ])
36+ if env ["arch" ] == "x86_32" :
37+ env .Append (LIBPATH = [f'{ steam_audio_lib_path } /android-x32' ])
38+ env .Append (LIBS = ["libphonon.so" ])
2639
2740if env ["target" ] in ["editor" , "template_debug" ]:
2841 doc_data = env .GodotCPPDocData ("src/gen/doc_data.gen.cpp" , source = Glob ("doc_classes/*.xml" ))
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ compatibility_minimum = 4.3
77
88linux.x86_64.debug ="res://addons/godot-steam-audio/bin/libgodot-steam-audio.linux.template_debug.x86_64.so"
99linux.x86_64.release = "res://addons/godot-steam-audio/bin/libgodot-steam-audio.linux.template_release.x86_64.so"
10+ android.x86_64.debug ="res://addons/godot-steam-audio/bin/libgodot-steam-audio.android.template_debug.x86_64.so"
11+ android.x86_64.release = "res://addons/godot-steam-audio/bin/libgodot-steam-audio.android.template_release.x86_64.so"
12+ android.arm64.debug ="res://addons/godot-steam-audio/bin/libgodot-steam-audio.android.template_debug.arm64.so"
13+ android.arm64.release = "res://addons/godot-steam-audio/bin/libgodot-steam-audio.android.template_release.arm64.so"
1014windows.x86_64.debug = "res://addons/godot-steam-audio/bin/libgodot-steam-audio.windows.template_debug.x86_64.dll"
1115windows.x86_64.release = "res://addons/godot-steam-audio/bin/libgodot-steam-audio.windows.template_release.x86_64.dll"
1216macos.debug = "res://addons/godot-steam-audio/bin/libgodot-steam-audio.macos.template_debug.universal.dylib"
@@ -40,3 +44,15 @@ linux.x86_64.debug = {
4044linux.x86_64.release = {
4145 "res://addons/godot-steam-audio/bin/libphonon.so": ""
4246}
47+ android.x86_64.debug = {
48+ "res://addons/godot-steam-audio/bin/android/x86_64/libphonon.so": ""
49+ }
50+ android.x86_64.release = {
51+ "res://addons/godot-steam-audio/bin/android/x86_64/libphonon.so": ""
52+ }
53+ android.arm64.debug = {
54+ "res://addons/godot-steam-audio/bin/android/arm64/libphonon.so": ""
55+ }
56+ android.arm64.release = {
57+ "res://addons/godot-steam-audio/bin/android/arm64/libphonon.so": ""
58+ }
You can’t perform that action at this time.
0 commit comments