Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/rebuildDependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
os: ubuntu-latest
conan_profiles: '["android-64-ndk", "base/android-system"]'
conan_system_libs: zlib
- platform: android-x86
os: ubuntu-latest
before_install: android-32.sh
conan_profiles: '["android-x86-ndk", "base/android-system"]'
conan_system_libs: zlib
- platform: android-x64
os: ubuntu-latest
conan_profiles: '["android-x64-ndk", "base/android-system"]'
Expand Down
20 changes: 20 additions & 0 deletions conan_profiles/android-x86
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
include(base/android)

[settings]
arch=x86
os.api_level=21

[conf]
# remove after switching to API level >= 24
{% set file_funcs_macros = ['fseeko=fseek', 'ftello=ftell'] %}
flac/*:tools.build:defines={{ file_funcs_macros }}
luajit/*:tools.build:defines={{ file_funcs_macros }}
opusfile/*:tools.build:defines={{ file_funcs_macros }}

[options]
# Workaround for linker error:
# "relocation R_386_32 cannot be used against local symbol; recompile with -fPIC"
# Force mpg123 to build as shared to avoid non-PIC ASM objects on Android x86
mpg123/*:shared=True


2 changes: 2 additions & 0 deletions conan_profiles/android-x86-ndk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include(android-x86)
include(base/android-ndk)
1 change: 0 additions & 1 deletion conan_profiles/base/common
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ninja/1.12.1
[replace_requires]
# TODO: remove after https://github.com/conan-io/conan-center-index/pull/27125 is merged
# Qt 5 depends on 0.4.8, but it doesn't build for iOS
md4c/0.4.8: md4c/0.5.2

[conf]
tools.cmake.cmaketoolchain:generator=Ninja
Expand Down
Loading