fr.onyx.lyon1

This commit is contained in:
it 2023-12-27 13:32:23 +00:00 committed by linsui
parent dda312e21a
commit 8d0d1dd4b5

View file

@ -0,0 +1,68 @@
AntiFeatures:
NonFreeNet:
en-US: Rely on OpenStreetMap.
Categories:
- Science & Education
License: GPL-3.0-or-later
AuthorName: Onyx Lyon1
AuthorEmail: eymericdechelette@gmail.com
SourceCode: https://github.com/onyx-lyon1/onyx
IssueTracker: https://github.com/onyx-lyon1/onyx/issues
AutoName: Onyx
RepoType: git
Repo: https://github.com/onyx-lyon1/onyx.git
Builds:
- versionName: 2.0.7
versionCode: 2048
commit: bc27114a0d738477df3dde35acd01b18287c966a
subdir: apps/onyx
submodules: true
sudo:
- apt-get update
- apt-get install -y openjdk-17-jdk-headless
- update-java-alternatives -a
- apt-get install -y jq python3-pip gcc-multilib libc-dev make
- pip3 install yq
output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk
srclibs:
- rustup@1.26.0
rm:
- apps/onyx/ios
- apps/onyx/linux
- apps/onyx/macos
- apps/onyx/web
- apps/onyx/windows
prebuild:
- export JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64/"
- export PUB_CACHE=$(pwd)/.pub-cache
- ../.flutter/bin/flutter config --no-analytics
- echo "Adding geolocator_android package override to pubspec.yaml"
- yq -i -Y '.dependency_overrides.geolocator_android.git = { url:"https://github.com/onyx-lyon1/flutter-geolocator.git",
ref:"floss", path:"geolocator_android"}' pubspec.yaml
- ../.flutter/bin/flutter pub get
- sdkmanager "ndk;21.1.6352462"
scanignore:
- apps/onyx/assets/graph.json.gz
- apps/.flutter/bin/cache
scandelete:
- apps/.flutter
- apps/onyx/.pub-cache
build:
- $$rustup$$/rustup-init.sh -y --default-toolchain 1.74.0 --target aarch64-linux-android
- source $HOME/.cargo/env
- export PUB_CACHE=$(pwd)/.pub-cache
- bash ./scripts/fdroid_build_isar.sh
- ../.flutter/bin/flutter build apk --release --split-per-abi --target-platform="android-arm64"
--no-tree-shake-icons
ndk: r25c
AutoUpdateMode: Version
UpdateCheckMode: Tags
VercodeOperation:
- '%c + 2000'
UpdateCheckData: apps/onyx/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 2.0.7
CurrentVersionCode: 2048