riot & minivector: add 0.8.26
This commit is contained in:
parent
697c343e51
commit
371450700c
|
@ -345,7 +345,35 @@ Builds:
|
||||||
libs/matrix-sdk.aar
|
libs/matrix-sdk.aar
|
||||||
ndk: r17b
|
ndk: r17b
|
||||||
|
|
||||||
|
- versionName: 0.8.26
|
||||||
|
versionCode: 82600
|
||||||
|
commit: miniv0.8.26-fdroid
|
||||||
|
subdir: vector
|
||||||
|
gradle:
|
||||||
|
- appfdroid
|
||||||
|
srclibs:
|
||||||
|
- mini-matrixsdk@v0.9.19-no-webrtc
|
||||||
|
- olmsdk@3.0.0
|
||||||
|
prebuild:
|
||||||
|
- sed -i -e '/com.google.firebase/d' build.gradle
|
||||||
|
- sed -i -e '/com.google.gms.google-services/d' build.gradle
|
||||||
|
- mkdir -p libs
|
||||||
|
build:
|
||||||
|
- pushd $$olmsdk$$/android
|
||||||
|
- echo ndk.dir=$$NDK$$ > local.properties
|
||||||
|
- gradle assembleRelease
|
||||||
|
- popd
|
||||||
|
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-*.aar libs/olm-sdk.aar
|
||||||
|
- mkdir -p $$mini-matrixsdk$$/matrix-sdk/libs
|
||||||
|
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-*.aar $$mini-matrixsdk$$/matrix-sdk/libs/olm-sdk.aar
|
||||||
|
- pushd $$mini-matrixsdk$$
|
||||||
|
- gradle clean assembleRelease
|
||||||
|
- popd
|
||||||
|
- cp $$mini-matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar
|
||||||
|
libs/matrix-sdk.aar
|
||||||
|
ndk: r17b
|
||||||
|
|
||||||
AutoUpdateMode: None
|
AutoUpdateMode: None
|
||||||
UpdateCheckMode: None
|
UpdateCheckMode: None
|
||||||
CurrentVersion: 0.8.25
|
CurrentVersion: 0.8.26
|
||||||
CurrentVersionCode: 82500
|
CurrentVersionCode: 82600
|
||||||
|
|
|
@ -1636,6 +1636,73 @@ Builds:
|
||||||
- cp $$matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar libs/matrix-sdk.aar
|
- cp $$matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar libs/matrix-sdk.aar
|
||||||
ndk: r17b
|
ndk: r17b
|
||||||
|
|
||||||
|
- versionName: 0.8.26
|
||||||
|
versionCode: 82600
|
||||||
|
commit: v0.8.26
|
||||||
|
subdir: vector
|
||||||
|
sudo:
|
||||||
|
- apt-get update || apt-get update
|
||||||
|
- apt-get install -y --no-install-recommends g++ -t stretch-backports npm
|
||||||
|
- npm install -g react-native-cli
|
||||||
|
gradle:
|
||||||
|
- appfdroid
|
||||||
|
srclibs:
|
||||||
|
- matrixsdk@v0.9.19
|
||||||
|
- olmsdk@3.0.0
|
||||||
|
- jitsi-meet@c109199e060faa05440c6971f0683e8eb4d81167
|
||||||
|
prebuild:
|
||||||
|
- sed -i -e '/com.google.firebase/d' build.gradle
|
||||||
|
- sed -i -e '/com.google.gms.google-services/d' build.gradle
|
||||||
|
- find . -name *.aar -exec truncate -s 0 {} \;
|
||||||
|
build:
|
||||||
|
- pushd $$olmsdk$$/android
|
||||||
|
- echo ndk.dir=$$NDK$$ > local.properties
|
||||||
|
- rm gradle.properties
|
||||||
|
- gradle assembleRelease
|
||||||
|
- popd
|
||||||
|
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-*.aar libs/olm-sdk.aar
|
||||||
|
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-*.aar $$matrixsdk$$/matrix-sdk/libs/olm-sdk.aar
|
||||||
|
- pushd $$jitsi-meet$$
|
||||||
|
- "sed -i -e 's|\"url-polyfill\": \"github:github/url-polyfill#39734186de44612bc5a16eb25f5407adcc5b2e7c\"\
|
||||||
|
|\"@webcomponents/url\": \"0.7.1\"|' package.json"
|
||||||
|
- sed -i -e 's|url-polyfill|@webcomponents/url|' react/features/base/lib-jitsi-meet/native/polyfills-browser.js
|
||||||
|
- sed -i -e '/url-polyfill/d' react/features/base/lib-jitsi-meet/_.web.js
|
||||||
|
- rm package-lock.json
|
||||||
|
- npm install
|
||||||
|
- make
|
||||||
|
- pushd android
|
||||||
|
- gradle assembleRelease
|
||||||
|
- popd
|
||||||
|
- react-native bundle --platform android --dev false --entry-file index.android.js
|
||||||
|
--bundle-output index.android.bundle --assets-dest android/app/src/main/res/
|
||||||
|
- popd
|
||||||
|
- cp $$jitsi-meet$$/android/sdk/build/outputs/aar/sdk-release.aar libs/jitsi-sdk.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native-background-timer/android/build/outputs/aar/react-native-background-timer-release.aar
|
||||||
|
libs/react-native-background-timer.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native-fetch-blob/android/build/outputs/aar/react-native-fetch-blob-release.aar
|
||||||
|
libs/react-native-fetch-blob.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native-immersive/android/build/outputs/aar/react-native-immersive-release.aar
|
||||||
|
libs/react-native-immersive.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native-keep-awake/android/build/outputs/aar/react-native-keep-awake-release.aar
|
||||||
|
libs/react-native-keep-awake.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native-vector-icons/android/build/outputs/aar/react-native-vector-icons-release.aar
|
||||||
|
libs/react-native-vector-icons.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native-webrtc/android/build/outputs/aar/react-native-webrtc-release.aar
|
||||||
|
libs/react-native-webrtc.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native-webrtc/android/build/outputs/aar/react-native-webrtc-release.aar
|
||||||
|
$$matrixsdk$$/matrix-sdk/libs/react-native-webrtc.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native-locale-detector/android/build/outputs/aar/react-native-locale-detector-release.aar
|
||||||
|
libs/react-native-locale-detector.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native/android/com/facebook/react/react-native/0.50.4/react-native-0.50.4.aar
|
||||||
|
libs/react-native.aar
|
||||||
|
- cp $$jitsi-meet$$/node_modules/react-native-vector-icons/Fonts/*.ttf src/main/assets/fonts/
|
||||||
|
- cp $$jitsi-meet$$/index.android.bundle src/main/assets/
|
||||||
|
- pushd $$matrixsdk$$
|
||||||
|
- gradle clean assembleRelease
|
||||||
|
- popd
|
||||||
|
- cp $$matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar libs/matrix-sdk.aar
|
||||||
|
ndk: r17b
|
||||||
|
|
||||||
MaintainerNotes: |-
|
MaintainerNotes: |-
|
||||||
Upstream puts their library aars inside the repo, we need build them our self. We truncate instead of deleting them such that the initial gradle clean is successful.
|
Upstream puts their library aars inside the repo, we need build them our self. We truncate instead of deleting them such that the initial gradle clean is successful.
|
||||||
jitsi-meet needs react-native which we get via npm. This pulls in a few prebuilt binaries for now :-/.
|
jitsi-meet needs react-native which we get via npm. This pulls in a few prebuilt binaries for now :-/.
|
||||||
|
@ -1645,5 +1712,5 @@ MaintainerNotes: |-
|
||||||
|
|
||||||
AutoUpdateMode: None
|
AutoUpdateMode: None
|
||||||
UpdateCheckMode: Tags
|
UpdateCheckMode: Tags
|
||||||
CurrentVersion: 0.8.25
|
CurrentVersion: 0.8.26
|
||||||
CurrentVersionCode: 82500
|
CurrentVersionCode: 82600
|
||||||
|
|
Loading…
Reference in a new issue