mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-06 06:06:56 +00:00
Linphone update
This commit is contained in:
parent
ff8a9c79ff
commit
df42e9abd1
1 changed files with 53 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ Description: |-
|
|||
* UpstreamNonFree - We patch linphone-sdk to remove GMS and Firebase
|
||||
|
||||
RepoType: git
|
||||
Repo: git://git.linphone.org/linphone-android.git
|
||||
Repo: https://gitlab.linphone.org/BC/public/linphone-android.git
|
||||
|
||||
Builds:
|
||||
- versionName: 2.3.2-fdroid
|
||||
|
|
@ -805,9 +805,59 @@ Builds:
|
|||
antifeatures:
|
||||
- UpstreamNonFree
|
||||
|
||||
- versionName: 4.5.6
|
||||
versionCode: 4560
|
||||
commit: 4.5.6
|
||||
timeout: 20000
|
||||
sudo:
|
||||
- apt-get update || apt-get update
|
||||
- apt-get install -y doxygen pkgconf python3-pystache python3-six yasm
|
||||
- apt-get install -y -t stretch-backports-sloppy libarchive13
|
||||
- apt-get install -y -t stretch-backports cmake
|
||||
patch:
|
||||
- 4.5.2.patch
|
||||
gradle:
|
||||
- yes
|
||||
output: app/build/outputs/apk/release/linphone-android-release-*.apk
|
||||
srclibs:
|
||||
- linphone-sdk@5.0.49
|
||||
rm:
|
||||
- app/google-services.json
|
||||
prebuild:
|
||||
- pushd $$linphone-sdk$$
|
||||
- git submodule update --init --recursive
|
||||
- rm -R liblinphone/wrappers/java/classes/org/linphone/core/tools/firebase
|
||||
- sed -i -e '/import com.google.firebase.FirebaseApp/d' -e '/FirebaseApp.initializeApp/d'
|
||||
liblinphone/wrappers/java/classes/org/linphone/core/tools/PushNotificationUtils.java
|
||||
- popd
|
||||
- sed -i -e '/com.google.firebase/d' $$linphone-sdk$$/cmake/Android/gradle/build.gradle.cmake
|
||||
build.gradle app/build.gradle
|
||||
- sed -i -e '/google-services/d' build.gradle
|
||||
- sed -i -e '/keystore/d' -e '/repositories/,+17d' -e 's/${project.version}/$$VERSION$$/g'
|
||||
-e '/com.google.gms.google-services/d' -e '/org.linphone:linphone-sdk-android/d'
|
||||
-e "s/'\*.jar'/'linphone-sdk-android-release.aar'/" app/build.gradle
|
||||
- sed -i -e '/FirebaseCrashlytics/d' app/src/main/java/org/linphone/core/CoreContext.kt
|
||||
- sed -i -e 's|https://www.linphone.org/releases||' -e 's|push_notification=.*|push_notification=0|'
|
||||
app/src/main/assets/linphonerc_default
|
||||
- sed -i -e '/ndk.dir/d' local.properties
|
||||
build:
|
||||
- pushd $$linphone-sdk$$
|
||||
- mkdir build-sdk
|
||||
- cd build-sdk
|
||||
- cmake .. -DENABLE_GPL_THIRD_PARTIES=YES -DLINPHONESDK_PLATFORM=Android -DLINPHONESDK_ANDROID_ARCHS="arm64,
|
||||
armv7, x86" -DCMAKE_BUILD_TYPE=Release
|
||||
- cmake --build . --parallel $(nproc)
|
||||
- popd
|
||||
- mkdir app/libs
|
||||
- cp $$linphone-sdk$$/build-sdk/linphone-sdk/bin/outputs/aar/linphone-sdk-android-release.aar
|
||||
app/libs/
|
||||
ndk: r21e
|
||||
antifeatures:
|
||||
- UpstreamNonFree
|
||||
|
||||
MaintainerNotes: We patch linphone-sdk to remove GMS and Firebase, thus UpstreamNonFree.
|
||||
|
||||
AutoUpdateMode: None
|
||||
UpdateCheckMode: None
|
||||
CurrentVersion: 4.5.2
|
||||
CurrentVersionCode: 4520
|
||||
CurrentVersion: 4.5.6
|
||||
CurrentVersionCode: 4560
|
||||
|
|
|
|||
Loading…
Reference in a new issue