From e15374302b670ecc028dc34e17aee8b45b328829 Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Thu, 24 May 2018 21:38:27 +0200 Subject: [PATCH] New app: EtherollApp Cross platform Etheroll app built with Python and Kivy. Uses an Ethereum smart contract to place bets on the blockchain. Note the introduction of `srclibs/buildozer.txt` to use the non-mainstream `buildozer` wrapper. The build relies on buildozer master (post 0.39 release) which fixes issues with unsigned releases. Cython is pinned since this is the official tested version with buildozer. Both SDK and NDK path are set to use fdroid ones. The auto accept license is disabled since fdroid sdkmanager doesn't support the --licenses argument. --- metadata/com.github.andremiras.etheroll.yml | 40 +++++++++++++++++++++ srclibs/buildozer.txt | 2 ++ 2 files changed, 42 insertions(+) create mode 100644 metadata/com.github.andremiras.etheroll.yml create mode 100644 srclibs/buildozer.txt diff --git a/metadata/com.github.andremiras.etheroll.yml b/metadata/com.github.andremiras.etheroll.yml new file mode 100644 index 0000000000..d2d5756b3f --- /dev/null +++ b/metadata/com.github.andremiras.etheroll.yml @@ -0,0 +1,40 @@ +Categories: + - Games +License: MIT +SourceCode: https://github.com/AndreMiras/EtherollApp +IssueTracker: https://github.com/AndreMiras/EtherollApp/issues + +Summary: Gamble on blockchain through Etheroll smart contract +Description: |- + Cross platform Etheroll app built with Python and Kivy. Uses an Ethereum + smart contract to place bets on the blockchain. + +RepoType: git +Repo: https://github.com/AndreMiras/EtherollApp.git + +Builds: + - versionName: '2019.0217' + versionCode: 202117 + commit: v20190217 + sudo: apt-get install -y build-essential libffi-dev libltdl-dev python2.7 zlib1g-dev + output: bin/etheroll-$$VERSION$$-release-unsigned.apk + srclibs: + - buildozer@dfd2ceb + prebuild: + - sed -r "s:#?android.sdk_path =.*:android.sdk_path = $$SDK$$:" -i buildozer.spec + - sed -r "s:#?android.ndk_path =.*:android.ndk_path = $$NDK$$:" -i buildozer.spec + - sed -r "s:#?android.accept_sdk_license =.*:android.accept_sdk_license = False:" -i buildozer.spec + - pip install --user --upgrade $$buildozer$$ Cython==0.28.6 + build: PATH="$HOME/.local/bin:$PATH" buildozer android release + ndk: r17b + +MaintainerNotes: |- + The build relies on buildozer master (post 0.39 release) which fixes issues + with unsigned releases. + Cython is pinned since this is the official tested version with buildozer. + Both SDK and NDK path are set to use fdroid ones. + The auto accept license is disabled since fdroid sdkmanager doesn't support + the --licenses argument. + +AutoUpdateMode: None +UpdateCheckMode: None diff --git a/srclibs/buildozer.txt b/srclibs/buildozer.txt new file mode 100644 index 0000000000..866f6a1e17 --- /dev/null +++ b/srclibs/buildozer.txt @@ -0,0 +1,2 @@ +Repo Type:git +Repo:https://github.com/kivy/buildozer