schildi chat - update recipe

This commit is contained in:
Licaon_Kter 2023-04-18 10:51:21 +00:00
parent 5c9fafe031
commit 7b4a25480d

View file

@ -1421,32 +1421,16 @@ Builds:
- fdroid
srclibs:
- jitsi-meet@android-sdk-6.2.2
- maplibre-gl-native@android-v9.5.2
prebuild:
- sed -i -e 's/def isCiBuild =.*/def isCiBuild = true/' ../tools/gradle/doctor.gradle
- sed -i -e '/applicationIdSuffix/d' -e '/^repositories {/a mavenLocal()' build.gradle
- sed -i -e 's/org.maplibre.gl/org.fdroid/' build.gradle $$maplibre-gl-native$$/platform/android/gradle/artifact-settings.gradle
- pushd $$maplibre-gl-native$$/platform/android/MapboxGLAndroidSDK
- sed -i -e '/signing {/,/}/d' -e '/signing/d' ../gradle/gradle-publish.gradle
- sed -i -e '/gmsLocation/d' build.gradle
- cd src/main/java/com/mapbox/mapboxsdk/location/engine
- sed -i -e '/isOnClasspath(GOOGLE_API_AVAILABILITY)/,/}/d' -e '/import.*gms/d'
-e 's|return isGoogle|return //isGoogle|' LocationEngineProvider.java
- rm GoogleLocationEngineImpl.java
- sed -i -e '/private.*extractGooglePlayResult/,/^ }/d' -e '/extractGooglePlayResult/d'
-e '/import.*gms/d' LocationEngineResult.java
- popd
- sed -i -e '/com.google.gms.google-services/d' build.gradle ../build.gradle
- sed -i -e 's/enable true/enable false/g' -e '/firebase.appdistribution/d'
-e '/AppDistribution {/,/}/d' build.gradle
- sed -i -e '/repositories {/a\ mavenLocal()' -e '/firebase/d' ../build.gradle
- sed -i -e '/gplayImplementation(.*) {/,/}/d; /gplayImplementation/d' build.gradle
build:
- pushd $$maplibre-gl-native$$/platform/android
- git submodule update --init --recursive
- BUILDTYPE=Release make apackage
- gradle -Pmapbox.abis=all -PVERSION_NAME=9.5.2 :MapboxGLAndroidSDK:publishToMavenLocal
- popd
- cd $$jitsi-meet$$
- export LIBRE_BUILD=true
- npm install --save false webpack-bundle-analyzer