From 325cb9b09aaae50d4cf1f8316d8434280d14020b Mon Sep 17 00:00:00 2001 From: relan Date: Sun, 25 Jul 2021 12:37:18 +0300 Subject: [PATCH] Update Element to 1.1.14 (40101140) Build Jitsi Meet SDK from source. --- metadata/im.vector.app.yml | 42 +++++++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 7 deletions(-) diff --git a/metadata/im.vector.app.yml b/metadata/im.vector.app.yml index 13cba07a8d..1a95f13e9c 100644 --- a/metadata/im.vector.app.yml +++ b/metadata/im.vector.app.yml @@ -454,13 +454,41 @@ Builds: - build.gradle ndk: r21e -MaintainerNotes: |- - Do not update unless requested by the Element team! The Element team will ping us whenever they feel a new release is ready. See https://github.com/vector-im/element-android/issues/3728 as an example of their release process. - build.gradle file is scanignored because upstream builds and publishes a libre build of the jitsi sdk in a custom maven repo. - The repo can be recreated by using tools/jitsi/build_jitsi_libs.sh - We use that build instead of doing our own for now as jitsi embeds a timstamp in the version number and it's a major pain to maintain. + - versionName: 1.1.14 + versionCode: 40101140 + commit: v1.1.14 + subdir: vector + sudo: + - apt-get update || apt-get update + - apt-get install -y -t stretch-backports npm jq + - sysctl fs.inotify.max_user_watches=524288 + - sysctl -p + gradle: + - fdroid + srclibs: + - jitsi-meet@android-sdk-3.1.0 + prebuild: + - sed -i -e '/com.google.gms.google-services/d' build.gradle ../build.gradle + - sed -i -e 's/enable true/enable false/g' build.gradle + - sed -i -e '/Jitsi repo/,/}/d' ../build.gradle + - sed -i -e '/google()/a\ mavenLocal()' ../build.gradle + - sed -i -e '/gplayImplementation(.*) {/,/}/d; /gplayImplementation/d' build.gradle + build: + - cd $$jitsi-meet$$ + - export LIBRE_BUILD=true + - npm install webpack-bundle-analyzer + - npm install + - mkdir -p "$HOME/.m2" + - bash android/scripts/release-sdk.sh "$HOME/.m2/repository" + - mkdir -p "$HOME/.m2/repository/org/webkit" + - cp -r node_modules/jsc-android/dist/org/webkit/android-jsc "$HOME/.m2/repository/org/webkit" + ndk: r21d + +MaintainerNotes: Do not update unless requested by the Element team! The Element team + will ping us whenever they feel a new release is ready. See https://github.com/vector-im/element-android/issues/3728 + as an example of their release process. AutoUpdateMode: None UpdateCheckMode: None -CurrentVersion: 1.1.12 -CurrentVersionCode: 40101120 +CurrentVersion: 1.1.14 +CurrentVersionCode: 40101140