Commit 7be1efb9 authored by linsui's avatar linsui Committed by linsui
Browse files

misc fixes

parent c6651486
Pipeline #552152860 passed with stages
in 27 minutes and 10 seconds
......@@ -96,7 +96,15 @@ Builds:
subdir: mobile
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@2.10.3
- flutter@3.0.1
rm:
- design
- docker
- machine_learning
- microservices
- mobile/ios
- server
- web
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter packages pub get
......
......@@ -578,6 +578,7 @@ Builds:
- versionName: 0.6.5
versionCode: 41
disable: https://github.com/ZeusLN/zeus/issues/910
commit: 64342964d99b7b62095d6d2c1ccfbd76c4974331
subdir: android/app
sudo:
......
......@@ -133,7 +133,37 @@ Builds:
libs
ndk: r21e
- versionName: 11.5.151.20220530-gh
versionCode: 151
commit: 54f9da441764406e13463348b14c5cc0e485a718
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
srclibs:
- MMKV@49bbae1a97a118a435b5f1a1ae42d87be121571a
prebuild:
- sed -i -e '/dependencies {/a implementation "com.github.GCX-HCI:tray:v0.12.0"'
build.gradle
- sed -i -e '/repositories {/a maven { url "https://jitpack.io" }' ../build.gradle
- JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 $$SDK$$/tools/bin/sdkmanager 'cmake;3.18.1'
> /dev/null
- sed -i -e '/#define MMKV_DISABLE_CRYPT/s|//||' -e '/#define MMKV_DISABLE_FLUTTER/s|//||'
$$MMKV$$/Core/MMKVPredef.h
scandelete:
- app/libs/*.aar
build:
- pushd $$MMKV$$/Android/MMKV/mmkv
- gradle assembleRelease
- popd
- mv $$MMKV$$/Android/MMKV/mmkv/build/outputs/aar/mmkv-DefaultCpp-release.aar
libs
ndk: r21e
AutoUpdateMode: Version
UpdateCheckMode: Tags ^V[\d.]+\(
CurrentVersion: 11.4.150.20220516-gh
CurrentVersionCode: 150
CurrentVersion: 11.5.151.20220530-gh
CurrentVersionCode: 151
......@@ -108,95 +108,9 @@ Builds:
- node_modules/
ndk: r21e
- versionName: 1.2.11
versionCode: 14
disable: https://github.com/ShacharHarshuv/open-ear/issues/116
commit: c0b4b28c62477f780075924a5cf8c5ecb625ee35
subdir: android
sudo:
- sysctl fs.inotify.max_user_watches=524288
- curl -Lo node.tar.xz https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-x64.tar.xz
- echo "0570b9354959f651b814e56a4ce98d4a067bf2385b9a0e6be075739bc65b0fae node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz --strip-components=1 -C /usr/local/
- npm -g install yarn
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
- pushd build/srclib/cpython
- ./configure
- make -j$(nproc)
- make install
- popd
- apt-get install -y g++
gradle:
- yes
output: app/build/outputs/apk/release/app-release-unsigned.apk
srclibs:
- cpython@v3.9.6
prebuild:
- cd ..
- npm_config_build_from_source=true yarn --force
- npm_config_build_from_source=true yarn add @ionic/cli
- sed -i '/com.google.android.gms:play-services-location/d' node_modules/@capacitor/android/capacitor/build.gradle
- sed -i '/com.google.firebase:firebase-messaging/d' node_modules/@capacitor/android/capacitor/build.gradle
- sed -i '/import com.getcapacitor.plugin.Geolocation;/d' node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/Bridge.java
- sed -i '/import com.getcapacitor.plugin.PushNotifications;/d' node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/Bridge.java
- sed -i '/this.registerPlugin(Geolocation.class);/d' node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/Bridge.java
- sed -i '/this.registerPlugin(PushNotifications.class);/d' node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/Bridge.java
- rm -rf node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/CapacitorFirebaseMessagingService.java
- rm -rf node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/plugin/PushNotifications.java
- rm -rf node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/plugin/Geolocation.java
- yarn run ionic capacitor sync android
scandelete:
- node_modules/
ndk: r21e
- versionName: 1.3.2
versionCode: 19
commit: 9a0d26f9509294594271a9f233a539ce3709ea57
subdir: android
sudo:
- sysctl fs.inotify.max_user_watches=524288
- curl -Lo node.tar.xz https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-x64.tar.xz
- echo "0570b9354959f651b814e56a4ce98d4a067bf2385b9a0e6be075739bc65b0fae node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz --strip-components=1 -C /usr/local/
- npm -g install yarn
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
- pushd build/srclib/cpython
- ./configure
- make -j$(nproc)
- make install
- popd
- apt-get install -y g++
gradle:
- yes
output: app/build/outputs/apk/release/app-release-unsigned.apk
srclibs:
- cpython@v3.9.6
prebuild:
- cd ..
- npm_config_build_from_source=true yarn --force
- npm_config_build_from_source=true yarn add @ionic/cli
- sed -i '/com.google.android.gms:play-services-location/d' node_modules/@capacitor/android/capacitor/build.gradle
- sed -i '/com.google.firebase:firebase-messaging/d' node_modules/@capacitor/android/capacitor/build.gradle
- sed -i '/import com.getcapacitor.plugin.Geolocation;/d' node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/Bridge.java
- sed -i '/import com.getcapacitor.plugin.PushNotifications;/d' node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/Bridge.java
- sed -i '/this.registerPlugin(Geolocation.class);/d' node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/Bridge.java
- sed -i '/this.registerPlugin(PushNotifications.class);/d' node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/Bridge.java
- rm -rf node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/CapacitorFirebaseMessagingService.java
- rm -rf node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/plugin/PushNotifications.java
- rm -rf node_modules/@capacitor/android/capacitor/src/main/java/com/getcapacitor/plugin/Geolocation.java
- yarn run ionic capacitor sync android
scandelete:
- node_modules/
ndk: r21e
- versionName: 1.4.2
versionCode: 21
disable: https://github.com/ShacharHarshuv/open-ear/issues/116
commit: 795428574e2bb0c5f7ed56ebb167128c9a2f5591
subdir: android
sudo:
......
......@@ -34,6 +34,10 @@ Builds:
versionCode: 11
commit: ee6f81ceca5853dab5b5bec329b80e66c9b3f4fc
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
......
......@@ -93,6 +93,10 @@ Builds:
versionCode: 13
commit: a2bdbe7e418ca4c9303ce6dedb33c9e0498c1d7a
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
......
......@@ -344,7 +344,7 @@ Builds:
subdir: task
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@2.10.3
- flutter@3.0.1
rm:
- task/ios
- task/linux
......
......@@ -425,10 +425,7 @@ Builds:
- versionName: 1.6.0
versionCode: 840
commit: 40a3706230e6eca6d611826b9438dcefeffc7a87
init:
- echo "${PWD}"
- ls -alt scripts
- ./scripts/fdroid_init.sh
init: ./scripts/fdroid_init.sh
output: build/app/outputs/flutter-apk/app-fdroid-release.apk
srclibs:
- flutter@2.0.5
......
......@@ -18,23 +18,9 @@ Repo: https://github.com/jellyfin/jellyfin-androidtv
Binaries: https://repo.jellyfin.org/releases/client/androidtv/versions/v%v/jellyfin-androidtv-v%v-release.apk
Builds:
- versionName: 0.13.5
versionCode: 130599
disable: https://github.com/jellyfin/jellyfin-androidtv/issues/1639
commit: v0.13.5
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
output: build/outputs/apk/release/jellyfin-androidtv-*-release-unsigned.apk
prebuild: echo 'rootProject.name="jellyfin-androidtv"' >> ../settings.gradle.kts
build: echo 'jellyfin.version=$$VERSION$$' >> ../gradle.properties
- versionName: 0.13.6
versionCode: 130699
disable: https://github.com/jellyfin/jellyfin-androidtv/issues/1639
commit: v0.13.6
subdir: app
sudo:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment