enable se.manyver 0.2110.5-beta

This commit is contained in:
staltz 2021-10-22 15:15:51 +00:00 committed by Licaon_Kter
parent 12610d9215
commit 814412afb2
2 changed files with 149 additions and 1 deletions

View file

@ -1,3 +1,6 @@
AntiFeatures:
- NonFreeNet
- Tracking
Categories:
- Connectivity
License: MPL-2.0
@ -30,6 +33,11 @@ Description: |-
* Likes
* More features as we develop the app!
Anti Features:
* NonFreeNet - to verify the Internet connection, it tries to connect to CloudFlare DNS, Wikipedia and IETF websites
* Tracking - those sites have their own Terms and Privacy Policies one should read
More info here: https://gitlab.com/staltz/manyverse/-/issues/653
RepoType: git
Repo: https://gitlab.com/staltz/manyverse.git
@ -1499,11 +1507,115 @@ Builds:
- npm run build-android-assets
ndk: r21d
- versionName: 0.2110.5-beta-fdroid
versionCode: 108
commit: v0.2110.5-beta
timeout: 80000
subdir: android/app
sudo:
- apt-get update || apt-get update
- apt-get install -y --no-install-recommends g++ lib32stdc++-6-dev libc6-dev-i386
ninja-build linux-libc-dev linux-libc-dev:i386
- curl -Lo node.tar.xz https://nodejs.org/dist/v12.19.1/node-v12.19.1-linux-x64.tar.xz
- echo "1436dbc34383abbe5e921e9744e527cd24c690e7b0362a39fb960795a23a7a03 node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz
- cp -a node-v12.19.1-linux-x64/. /usr/local/
- sysctl fs.inotify.max_user_watches=524288
- npm install -g react-native-cli
init: npm install --no-optional
patch:
- 108.patch
gradle:
- fdroid
srclibs:
- NodejsMobile@nodejs-mobile-v0.3.2
rm:
- node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
- node_modules/react-native/template/
- e2e
- benchmark
- desktop
- ios
prebuild: sed -i -e '/lifecycle/d' ../build.gradle
scanignore:
- android/build.gradle
- node_modules/@react-native-community/async-storage/android/build.gradle
- node_modules/react-native-localize/android/build.gradle
- node_modules/react-native-vector-icons/android/build.gradle
- node_modules/react-native-svg/android/build.gradle
- node_modules/react-native/android
- node_modules/hermes-engine
- node_modules/jsc-android
scandelete:
- node_modules
build:
- pushd $$NodejsMobile$$
- ./tools/android_build.sh $$NDK$$ arm > /dev/null
- ./tools/android_build.sh $$NDK$$ arm64 > /dev/null
- popd
- mv $$NodejsMobile$$/out_android/armeabi-v7a/libnode.so ../../node_modules/nodejs-mobile-react-native/android/libnode/bin/armeabi-v7a/libnode.so
- mv $$NodejsMobile$$/out_android/arm64-v8a/libnode.so ../../node_modules/nodejs-mobile-react-native/android/libnode/bin/arm64-v8a/libnode.so
- npm run build-android-assets
ndk: r21e
- versionName: 0.2110.18-beta-fdroid
versionCode: 109
commit: v0.2110.18-beta
timeout: 80000
subdir: android/app
sudo:
- apt-get update || apt-get update
- apt-get install -y --no-install-recommends g++ lib32stdc++-6-dev libc6-dev-i386
ninja-build linux-libc-dev linux-libc-dev:i386
- curl -Lo node.tar.xz https://nodejs.org/dist/v12.19.1/node-v12.19.1-linux-x64.tar.xz
- echo "1436dbc34383abbe5e921e9744e527cd24c690e7b0362a39fb960795a23a7a03 node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz
- cp -a node-v12.19.1-linux-x64/. /usr/local/
- sysctl fs.inotify.max_user_watches=524288
- npm install -g react-native-cli
init: npm install --no-optional
patch:
- 108.patch
gradle:
- fdroid
srclibs:
- NodejsMobile@nodejs-mobile-v0.3.2
rm:
- node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
- node_modules/react-native/template/
- e2e
- benchmark
- desktop
- ios
prebuild: sed -i -e '/lifecycle/d' ../build.gradle
scanignore:
- android/build.gradle
- node_modules/@react-native-community/async-storage/android/build.gradle
- node_modules/react-native-localize/android/build.gradle
- node_modules/react-native-vector-icons/android/build.gradle
- node_modules/react-native-svg/android/build.gradle
- node_modules/react-native/android
- node_modules/hermes-engine
- node_modules/jsc-android
scandelete:
- node_modules
build:
- pushd $$NodejsMobile$$
- ./tools/android_build.sh $$NDK$$ arm > /dev/null
- ./tools/android_build.sh $$NDK$$ arm64 > /dev/null
- popd
- mv $$NodejsMobile$$/out_android/armeabi-v7a/libnode.so ../../node_modules/nodejs-mobile-react-native/android/libnode/bin/armeabi-v7a/libnode.so
- mv $$NodejsMobile$$/out_android/arm64-v8a/libnode.so ../../node_modules/nodejs-mobile-react-native/android/libnode/bin/arm64-v8a/libnode.so
- npm run build-android-assets
ndk: r21e
MaintainerNotes: scanignore is used to allow the "node_modules/react-native/android"
local Maven repository which contains the prebuilt react-native library which
we get from npm.
AutoUpdateMode: None
AutoUpdateMode: Version +-fdroid v%v
UpdateCheckMode: Tags
CurrentVersion: 0.2110.18-beta-fdroid
CurrentVersionCode: 109

View file

@ -0,0 +1,36 @@
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -191,19 +191,6 @@
// keyPassword 'android'
// }
release {
- if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
- storeFile file(MYAPP_RELEASE_STORE_FILE)
- storePassword MYAPP_RELEASE_STORE_PASSWORD
- keyAlias MYAPP_RELEASE_KEY_ALIAS
- keyPassword MYAPP_RELEASE_KEY_PASSWORD
- } else if (System.getenv("BITRISEIO_ANDROID_KEYSTORE_PASSWORD") != null) {
- storeFile file(System.getenv("HOME") + "/keystores/my_keystore.jks")
- storePassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PASSWORD")
- keyAlias System.getenv("BITRISEIO_ANDROID_KEYSTORE_ALIAS")
- keyPassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD")
- } else {
- throw new Exception('Refusing to make release build with wrong keystore')
- }
}
}
@@ -226,13 +213,6 @@
// signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
- if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
- signingConfig signingConfigs.release
- } else if (System.getenv("BITRISEIO_ANDROID_KEYSTORE_PASSWORD") != null) {
- signingConfig signingConfigs.release
- } else {
- throw new Exception('Refusing to make release build with wrong keystore')
- }
}
}