Merge branch 'linphone41' into 'master'

Linphone - prepare for 4.1

Closes #1623

See merge request fdroid/fdroiddata!4524
This commit is contained in:
Licaon_Kter 2019-05-14 14:57:36 +00:00
commit aabd9ab424
2 changed files with 43 additions and 1 deletions

View file

@ -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
View file

@ -0,0 +1,2 @@
Repo Type:git
Repo:https://gitlab.linphone.org/BC/public/linphone-sdk