MinNDK needed is r16b
Ref: https://gitlab.linphone.org/BC/public/linphone-sdk/blob/master/cmake/LinphoneSdkCheckBuildToolsAndroid.cmake#L31
This commit is contained in:
parent
1c5098cc8a
commit
5d3eaf384e
|
@ -441,7 +441,47 @@ Builds:
|
||||||
- make copy-libs
|
- make copy-libs
|
||||||
ndk: r16b
|
ndk: r16b
|
||||||
|
|
||||||
AutoUpdateMode: None
|
- versionName: '4.1'
|
||||||
|
versionCode: 4124
|
||||||
|
commit: '4.1'
|
||||||
|
sudo:
|
||||||
|
- apt-get update || apt-get update
|
||||||
|
- apt-get install -y --no-install-recommends cmake -t stretch-backports
|
||||||
|
- apt-get install -y doxygen pkgconf python-pystache python-six yasm
|
||||||
|
gradle:
|
||||||
|
- yes
|
||||||
|
output: app/build/outputs/apk/release/linphone-android-release-*.apk
|
||||||
|
srclibs:
|
||||||
|
- linphone-sdk@4.2
|
||||||
|
rm:
|
||||||
|
- app/src/main/java/org/linphone/firebase/Firebase*.java
|
||||||
|
- app/google-services.json
|
||||||
|
prebuild:
|
||||||
|
- sed -i -e '/google-services/d' build.gradle
|
||||||
|
- sed -i -e '/keystore/d' -e '/repositories/,+5d' app/build.gradle
|
||||||
|
- sed -i -e 's|"kill_service_with_task_manager">true<|"kill_service_with_task_manager">false<|'
|
||||||
|
-e 's|"check_for_update_when_app_starts">true<|"check_for_update_when_app_starts">false<|'
|
||||||
|
app/src/main/res/values/non_localizable_custom.xml
|
||||||
|
- sed -i -e 's!https://www.linphone.org/releases!!' app/src/main/res/raw/linphonerc_default
|
||||||
|
scanignore:
|
||||||
|
- app/build.gradle
|
||||||
|
build:
|
||||||
|
- pushd $$linphone-sdk$$
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
- mkdir build-sdk
|
||||||
|
- cd build-sdk
|
||||||
|
- cmake .. -DLINPHONESDK_PLATFORM=Android -DLINPHONESDK_ANDROID_ARCHS="arm64,
|
||||||
|
armv7, x86, x86_64" -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- cmake --build . --parallel $(nproc)
|
||||||
|
- popd
|
||||||
|
- cp $$linphone-sdk$$/build-sdk/linphone-sdk/bin/outputs/aar/linphone-sdk-android-release.aar
|
||||||
|
linphone-sdk-android/
|
||||||
|
ndk: r16b
|
||||||
|
|
||||||
|
MaintainerNotes: Main repo for linphone-sdk is upstreams private Gitlab instance with
|
||||||
|
submodules, should we switch the main Repo link too?
|
||||||
|
|
||||||
|
AutoUpdateMode: Version %v
|
||||||
UpdateCheckMode: Tags
|
UpdateCheckMode: Tags
|
||||||
CurrentVersion: '4.1'
|
CurrentVersion: '4.1'
|
||||||
CurrentVersionCode: 4124
|
CurrentVersionCode: 4124
|
||||||
|
|
2
srclibs/linphone-sdk.txt
Normal file
2
srclibs/linphone-sdk.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Repo Type:git
|
||||||
|
Repo:https://gitlab.linphone.org/BC/public/linphone-sdk
|
Loading…
Reference in a new issue