Hi,
I’m trying to submit a Kivy app. I wish there were more documentation about it but couldn’t find more yet. so I followed trial and error path.
My app yml file looks like this:
Categories:
- Money
License: GPL-3.0-or-later
SourceCode: https://gitlab.com/uak/mobile-paper-wallet
RepoType: git
Repo: https://gitlab.com/uak/mobile-paper-wallet
Builds:
- versionName: '1.1'
versionCode: 100001
commit: v1.1
sudo:
- apt-get update || apt-get update
- apt-get install -y build-essential libffi-dev libltdl-dev python2.7 zlib1g-dev
output: bin/myapp-$$VERSION$$-arm64-v8a_armeabi-v7a-debug.apk
srclibs:
- cpython@v3.8.10
- buildozer@1.3.0
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
- pip3 install --user --upgrade $$buildozer$$ Cython
build: PATH="$HOME/.local/bin:$PATH" buildozer android release
ndk: r23c
MaintainerNotes: |-
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: Version
UpdateCheckMode: Tags
CurrentVersion: '1.1'
CurrentVersionCode: 100001
I’ve tried to construct the file from other Kivy apps available on f-droid like:
I’m getting these errors when I run fdroid checkupdates
:
vagrant@e36163fe2f72:/build$ fdroid checkupdates --allow-dirty com.uak.mobile_paper_wallet
2022-06-07 05:14:27,511 WARNING: apksigner not found! Cannot sign or verify modern APKs
2022-06-07 05:14:40,999 INFO: Processing com.uak.mobile_paper_wallet
fdroid build --on-server 2022-06-07 05:14:48,551 ERROR: ...checkupdate failed for com.uak.mobile_paper_wallet : Couldn't find any version information
When I try to skip that and run build directly as suggested on IRC I get this:
==== detail begin ====
+ sed -r 's:#?android.sdk_path =.*:android.sdk_path = /opt/android-sdk:' -i buildozer.spec
sed: can't read buildozer.spec: No such file or directory
==== detail end ====
I’m sure I’ve the file in my repositories but not sure where the build process is looking.
Also many of the examples seems to expect to have build/srclib/cpython
directory but I don’t have it on my container and cd build/srclib/cpython
always fail.
Original repo:
Would appreciate if someone can give me a hand on this, thank you.