From 4e64162c2a0f19f7d3a6b3a907b7638090e152b3 Mon Sep 17 00:00:00 2001 From: Ben Sartor Date: Sat, 30 Dec 2023 22:35:34 +0100 Subject: [PATCH] simlar update 2.11.0 --- metadata/org.simlar.yml | 130 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 128 insertions(+), 2 deletions(-) diff --git a/metadata/org.simlar.yml b/metadata/org.simlar.yml index 974b992ec7..a9162a2539 100644 --- a/metadata/org.simlar.yml +++ b/metadata/org.simlar.yml @@ -766,12 +766,138 @@ Builds: - no-google-services - ignore-git-dirty-version + - versionName: 2.11.0 (alwaysOnline) + versionCode: 211001 + commit: 2.11.0 + subdir: app + sudo: + - apt-get update + - apt-get install -y build-essential doxygen meson nasm pkg-config python3-pystache + yasm openjdk-17-jdk-headless + - update-java-alternatives -a + - apt-get install -y -t bullseye-backports cmake + gradle: + - alwaysOnline + srclibs: + - linphone-sdk@5.3.2 + prebuild: sed -i -e '/repositories/,+5d' -e 's/versionCode .*/versionCode $$VERCODE$$/' + build.gradle + build: + - export LINPHONE_SDK_VERSION=$(sed -n "s/^[[:space:]]*liblinphoneVersion[[:space:]]*=[[:space:]]*\"\([0-9\.]*\)\"/\1/p" + build.gradle) + - echo "Using Linphone SDK" $LINPHONE_SDK_VERSION + - pushd $$linphone-sdk$$ + - git checkout $LINPHONE_SDK_VERSION + - 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 + - cmake --preset=android-sdk -B build-sdk -DLINPHONESDK_ANDROID_ARCHS="armv7" + -DCMAKE_BUILD_TYPE=Release -DENABLE_GPL_THIRD_PARTIES=ON -DENABLE_NON_FREE_FEATURES=ON + -DENABLE_PQCRYPTO=ON + - cmake --build build-sdk --parallel $(nproc) + - popd + - mkdir -p libs/linphone-sdk/$LINPHONE_SDK_VERSION/ + - cp $$linphone-sdk$$/build-sdk/linphone-sdk/bin/outputs/aar/linphone-sdk-android-release.aar + libs/linphone-sdk/$LINPHONE_SDK_VERSION/ + - rm -rf $$linphone-sdk$$/build-sdk/ + ndk: r25b + gradleprops: + - no-google-services + - ignore-git-dirty-version + + - versionName: 2.11.0 (alwaysOnline) + versionCode: 211002 + commit: 2.11.0 + subdir: app + sudo: + - apt-get update + - apt-get install -y build-essential doxygen meson nasm pkg-config python3-pystache + yasm openjdk-17-jdk-headless + - update-java-alternatives -a + - apt-get install -y -t bullseye-backports cmake + gradle: + - alwaysOnline + srclibs: + - linphone-sdk@5.3.2 + prebuild: sed -i -e '/repositories/,+5d' -e 's/versionCode .*/versionCode $$VERCODE$$/' + build.gradle + build: + - export LINPHONE_SDK_VERSION=$(sed -n "s/^[[:space:]]*liblinphoneVersion[[:space:]]*=[[:space:]]*\"\([0-9\.]*\)\"/\1/p" + build.gradle) + - echo "Using Linphone SDK" $LINPHONE_SDK_VERSION + - pushd $$linphone-sdk$$ + - git checkout $LINPHONE_SDK_VERSION + - 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 + - cmake --preset=android-sdk -B build-sdk -DLINPHONESDK_ANDROID_ARCHS="x86" + -DCMAKE_BUILD_TYPE=Release -DENABLE_GPL_THIRD_PARTIES=ON -DENABLE_NON_FREE_FEATURES=ON + -DENABLE_PQCRYPTO=ON + - cmake --build build-sdk --parallel $(nproc) + - popd + - mkdir -p libs/linphone-sdk/$LINPHONE_SDK_VERSION/ + - cp $$linphone-sdk$$/build-sdk/linphone-sdk/bin/outputs/aar/linphone-sdk-android-release.aar + libs/linphone-sdk/$LINPHONE_SDK_VERSION/ + - rm -rf $$linphone-sdk$$/build-sdk/ + ndk: r25b + gradleprops: + - no-google-services + - ignore-git-dirty-version + + - versionName: 2.11.0 (alwaysOnline) + versionCode: 211003 + commit: 2.11.0 + subdir: app + sudo: + - apt-get update + - apt-get install -y build-essential doxygen meson nasm pkg-config python3-pystache + yasm openjdk-17-jdk-headless + - update-java-alternatives -a + - apt-get install -y -t bullseye-backports cmake + gradle: + - alwaysOnline + srclibs: + - linphone-sdk@5.3.2 + prebuild: sed -i -e '/repositories/,+5d' -e 's/versionCode .*/versionCode $$VERCODE$$/' + build.gradle + build: + - export LINPHONE_SDK_VERSION=$(sed -n "s/^[[:space:]]*liblinphoneVersion[[:space:]]*=[[:space:]]*\"\([0-9\.]*\)\"/\1/p" + build.gradle) + - echo "Using Linphone SDK" $LINPHONE_SDK_VERSION + - pushd $$linphone-sdk$$ + - git checkout $LINPHONE_SDK_VERSION + - 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 + - cmake --preset=android-sdk -B build-sdk -DLINPHONESDK_ANDROID_ARCHS="arm64" + -DCMAKE_BUILD_TYPE=Release -DENABLE_GPL_THIRD_PARTIES=ON -DENABLE_NON_FREE_FEATURES=ON + -DENABLE_PQCRYPTO=ON + - cmake --build build-sdk --parallel $(nproc) + - popd + - mkdir -p libs/linphone-sdk/$LINPHONE_SDK_VERSION/ + - cp $$linphone-sdk$$/build-sdk/linphone-sdk/bin/outputs/aar/linphone-sdk-android-release.aar + libs/linphone-sdk/$LINPHONE_SDK_VERSION/ + - rm -rf $$linphone-sdk$$/build-sdk/ + ndk: r25b + gradleprops: + - no-google-services + - ignore-git-dirty-version + MaintainerNotes: |- We pull linphone-sdk at the tag defined in app/build.gradle. We patch linphone-sdk to remove GMS and Firebase, thus UpstreamNonFree. + Enabling Post Quantum Encryption requires the linphone-sdk build option ENABLE_NON_FREE_FEATURES. + However this does not mean including non free third party software just that this software is + not covered by the commercial licensing agreement proposed by Belledonne Communications and that + e.g. codec patentes need to be checked. In this case liboqs is included. See: + https://gitlab.linphone.org/BC/public/linphone-sdk#note-regarding-third-party-components-subject-to-license + https://openquantumsafe.org/liboqs/ ArchivePolicy: 9 AutoUpdateMode: None UpdateCheckMode: None -CurrentVersion: 2.10.1 (alwaysOnline) -CurrentVersionCode: 210013 +CurrentVersion: 2.11.0 (alwaysOnline) +CurrentVersionCode: 211003