Update Element to 1.1.14 (40101140)

Build Jitsi Meet SDK from source.
This commit is contained in:
relan 2021-07-25 12:37:18 +03:00 committed by Marcus
parent 73c1f048e3
commit 325cb9b09a

View file

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