From 84a6c6b8f21d106fff07f5b2bee43c9af14b306a Mon Sep 17 00:00:00 2001 From: Calcitem Date: Tue, 4 May 2021 03:33:33 +0800 Subject: [PATCH] New app: Sanmill Sanmill is a Mill Game in Flutter which supports many rule variants, such as Nine Men's Morris and Twelve Men's Morris, "Fly" rule or no "Fly" rule, released under GPLv3. Third Party Notice: https://github.com/calcitem/Sanmill/wiki/third-party_notices Application Id: com.calcitem.sanmill --- metadata/com.calcitem.sanmill.yml | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 metadata/com.calcitem.sanmill.yml diff --git a/metadata/com.calcitem.sanmill.yml b/metadata/com.calcitem.sanmill.yml new file mode 100644 index 0000000000..89724c76e7 --- /dev/null +++ b/metadata/com.calcitem.sanmill.yml @@ -0,0 +1,44 @@ +Categories: + - Games +License: GPL-3.0-only +AuthorName: Calcitem Studio and Sanmill Developers +SourceCode: https://github.com/calcitem/Sanmill +IssueTracker: https://github.com/calcitem/Sanmill/issues +Changelog: https://github.com/calcitem/Sanmill/releases + +AutoName: Sanmill + +RepoType: git +Repo: https://github.com/calcitem/Sanmill.git + +Builds: + - versionName: 1.0.3 + versionCode: 1768 + commit: v1.0.3-fdroid + output: src/ui/flutter_app/build/app/outputs/flutter-apk/app-fdroid-release.apk + srclibs: + - flutter@2.0.6 + rm: + - src/ui/flutter_app/ios + prebuild: + - rm src/ui/flutter_app/android/app/build.gradle + - mv src/ui/flutter_app/android/app/build.gradle_fdroid src/ui/flutter_app/android/app/build.gradle + build: + - export PATH=$$flutter$$/bin:$PATH + - flutter config --no-analytics + - cd src/ui/flutter_app + - flutter pub get + - flutter pub global activate intl_utils + - flutter --no-color pub global run intl_utils:generate + - flutter build apk -v --flavor fdroid + +MaintainerNotes: |- + Builds will fail when the srclib ref of flutter and the version with which + upstream has been built with differ. + In that case we need to manually give the correct ref to srclib. + +AutoUpdateMode: Version v%v-fdroid +UpdateCheckMode: HTTP +UpdateCheckData: https://raw.githubusercontent.com/calcitem/Sanmill/master/src/ui/flutter_app/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ +CurrentVersion: 1.0.3 +CurrentVersionCode: 1768