rocketchat: 4.30.0

This commit is contained in:
linsui 2022-08-26 07:45:19 +00:00 committed by Licaon_Kter
parent b94d38e0c1
commit cc3d9e0bc6
2 changed files with 110 additions and 6 deletions

View File

@ -237,12 +237,114 @@ Builds:
scandelete:
- node_modules
MaintainerNotes: We use a Github repo as a Maven repository for a LIBRE_BUILD Jitsi
SDK, since Jitsi don't expose the LIBRE_BUILD on their Maven repository. version
code is computed so AUM is disabled.
- versionName: 4.30.0
versionCode: 34199
commit: 17be449d4e81649ba2025a230b7a523e248e41be
subdir: android/app
sudo:
- apt-get update || apt-get update
- apt-get install -y jq
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
- sysctl fs.inotify.max_user_watches=524288 || true
- curl -Lo node.tar.xz https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.xz
- echo "edcb6e9bb049ae365611aa209fc03c4bfc7e0295dbcc5b2f1e710ac70384a8ec node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz --strip-components=1 -C /usr/local/
- npm -g install yarn
gradle:
- officialFoss
srclibs:
- jitsi-meet-rocket-chat@fd3688fc6494cea61a5bf9d10a8573f700e6a1c5
rm:
- ios
- app/lib/notifications/push.ts
- patches/react-native-notifications*.patch
prebuild:
- sed -i -e 's/999999999/$$VERCODE$$/' ../gradle.properties
- sed -i -e '/crashlytics/d' -e '/gms/d' build.gradle ../build.gradle
- sed -i -e '/firebase/d' ../settings.gradle
- sed -i -e '/^if (!isFoss) {/,/^}/d' -e '/^\s\{8\}if (!isFoss) {/,/^\s\{8\}}/d'
-e '/^\s\{12\}if (!isFoss) {/,/^\s\{12\}}/d' -e '/playImplementation/d' -e
'/detox/d' build.gradle
- sed -i -e 's|maven.fabric.io/public|jitpack.io|' -e 's|url jitsi_url|url "https://jitpack.io"|'
-e 's/3.6.0-libre/3.7.0/' -e 's|$rootDir.*Detox-android|https://jitpack.io|'
../build.gradle
- cd ../..
- sed -i -e '/react-native-notifications/d' -e '/firebase/d' -e '/bugsnag/d'
-e '/"detox":\s"/d' package.json
- yarn install
- sed -i -e '/libreBuild/,/^ }/d' node_modules/react-native-device-info/android/build.gradle
- sed -i -e 's|maven.fabric.io/public|jitpack.io|' node_modules/react-native-math-view/android/build.gradle
- sed -i -e '/analytics/d' -e '/firebase/d' -e '/bugsnag/d' -e '/crashlytics/d'
-e '/^if (!isFDroidBuild)/,/^}/d' -e '/const \(logEvent\|setCurrentScreen\)/,/^};/s/^\s.*//'
-e '/export default/,/^};/s/^\s.*//' app/lib/methods/helpers/log/index.ts
- sed -i -e '/.\/push/d' -e 's/deviceToken/""/' -e 's/setNotificationsBadgeCount.*;/{count;};/'
-e 's/pushNotificationConfigure.*;/undefined;/' app/lib/notifications/index.ts
- echo "android.useAndroidX=true" > node_modules/react-native-mmkv-storage/android/gradle.properties
- sed -i -e 's/5.4.1/6.7.1/' node_modules/react-native-mmkv-storage/android/gradle/wrapper/gradle-wrapper.properties
- cd node_modules/react-native-mmkv-storage/android/
- gradle clean
scanignore:
- android/build.gradle
- node_modules/jsc-android
- node_modules/hermes-engine
- node_modules/react-native/*
- node_modules/react-native-bootsplash/android/build.gradle
- node_modules/react-native-document-picker/android/build.gradle
- node_modules/react-native-device-info/android/build.gradle
- node_modules/react-native-fast-image/android/build.gradle
- node_modules/react-native-flipper/android/build.gradle
- node_modules/react-native-jitsi-meet/android/build.gradle
- node_modules/react-native-localize/android/build.gradle
- node_modules/react-native-mmkv-storage/android/build.gradle
- node_modules/react-native-restart/android/build.gradle
- node_modules/react-native-safe-area-context/android/build.gradle
- node_modules/react-native-svg/android/build.gradle
- node_modules/react-native-screens/android/build.gradle
- node_modules/react-native-text-size/android/build.gradle
- node_modules/react-native-vector-icons/android/build.gradle
- node_modules/react-native-webview/android/build.gradle
- node_modules/react-native-reanimated/android/build.gradle
- node_modules/react-native-prompt-android/android/build.gradle
- node_modules/react-native-math-view/android/build.gradle
- node_modules/rn-root-view/android/build.gradle
- node_modules/react-native-ui-lib/android/build.gradle
- node_modules/expo-av/android/build.gradle
- node_modules/expo-web-browser/android/build.gradle
- node_modules/expo-modules-core/android/build.gradle
- node_modules/expo-video-thumbnails/android/build.gradle
- node_modules/expo-local-authentication/android/build.gradle
- node_modules/expo-keep-awake/android/build.gradle
- node_modules/expo-haptics/android/build.gradle
- node_modules/expo-font/android/build.gradle
- node_modules/expo-file-system/android/build.gradle
- node_modules/expo-error-recovery/android/build.gradle
- node_modules/expo-constants/android/build.gradle
- node_modules/expo-application/android/build.gradle
- node_modules/expo/android/build.gradle
- node_modules/@react-native-async-storage/async-storage/android/build.gradle
- node_modules/@react-native-community/masked-view/android/build.gradle
- node_modules/@react-native-community/art/android/build.gradle
- node_modules/@react-native-community/blur/android/build.gradle
- node_modules/@react-native-community/netinfo/android/build.gradle
- node_modules/@react-native-cookies/cookies/android/build.gradle
scandelete:
- node_modules
build:
- cd $$jitsi-meet-rocket-chat$$
- export LIBRE_BUILD=true
- npm install --save false webpack-bundle-analyzer
- npm ci
- mkdir -p "$HOME/.m2"
- bash android/scripts/release-sdk.sh "$HOME/.m2/repository"
- ls -R $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"
gradleprops:
- APPLICATION_ID=chat.rocket.android
ArchivePolicy: 0 versions
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: 4.12.1
CurrentVersionCode: 2143
CurrentVersion: 4.30.0
CurrentVersionCode: 34199

View File

@ -0,0 +1,2 @@
RepoType: git
Repo: https://github.com/RocketChat/jitsi-meet.git