Merge branch 'master' into 'master'

fix Manyverse builds by updating nodejs-mobile

See merge request fdroid/fdroiddata!6832
This commit is contained in:
Licaon_Kter 2020-06-01 17:52:38 +00:00
commit 157b6cfbb5

View file

@ -1278,6 +1278,7 @@ Builds:
- versionName: 0.2005.5-beta
versionCode: 84
disable: broken APK
commit: v0.2005.5-beta
timeout: 30000
subdir: android/app
@ -1321,6 +1322,7 @@ Builds:
- versionName: 0.2005.28-beta
versionCode: 85
disable: broken APK
commit: v0.2005.28-beta
timeout: 30000
subdir: android/app
@ -1362,11 +1364,54 @@ Builds:
- npm run build-android-assets
ndk: r19c
- versionName: 0.2005.31-beta
versionCode: 86
commit: v0.2005.31-beta
timeout: 30000
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.16.3/node-v12.16.3-linux-x64.tar.xz
- echo "1956e196e3c3c8ef5f0c45db76d7c1245af4ccdda2b7ab30a57ce91d6e165caa node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz
- cp -a node-v12.16.3-linux-x64/. /usr/local/
- npm install -g react-native-cli
init:
- npm install --no-optional
- truncate -s 0 ../../node_modules/react-native/node_modules/@react-native-community/cli/build/commands/server/external/xsel
patch:
- build.patch
gradle:
- indie
srclibs:
- NodejsMobile@nodejs-mobile-v0.3.1
rm:
- node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
- node_modules/react-native/template/
- e2e/apple-app-store-demo
prebuild: sed -i -e '/lifecycle/d' ../build.gradle
scanignore:
- android/build.gradle
scandelete:
- node_modules
build:
- pushd $$NodejsMobile$$
- ./tools/android_build.sh $$NDK$$ arm
- ./tools/android_build.sh $$NDK$$ arm64
- 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: r21b
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: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.2005.28-beta
CurrentVersionCode: 85
CurrentVersion: 0.2005.31-beta
CurrentVersionCode: 86