Updated build spec

This commit is contained in:
Mark Qvist 2024-06-04 03:18:33 +02:00
parent 7ec68a7c28
commit 217e133003
1 changed files with 6 additions and 6 deletions

View File

@ -12,11 +12,7 @@ version.regex = __version__ = ['"](.*)['"]
version.filename = %(source.dir)s/main.py version.filename = %(source.dir)s/main.py
android.numeric_version = 20240531 android.numeric_version = 20240531
# Cryptography recipe is currently broken, using RNS-internal crypto for now. Since requirements = kivy==2.3.0,libbz2,pillow==10.2.0,qrcode==7.3.1,usb4a,usbserial4a,libwebp,libogg,libopus,opusfile,numpy,cryptography,ffpyplayer,codec2,pycodec2
# relevant PRs have now been merged in Kivy/P4A, the next release will hopefully allow
# building a non-ancient PyCa/Cryptography distribution again. When this happens, add
# the "cryptography" dependency back in here.
requirements = kivy==2.3.0,libbz2,pillow==10.2.0,qrcode==7.3.1,usb4a,usbserial4a,libwebp,libogg,libopus,opusfile,numpy,cryptography,pydub,ffpyplayer,codec2
android.gradle_dependencies = com.android.support:support-compat:28.0.0 android.gradle_dependencies = com.android.support:support-compat:28.0.0
#android.enable_androidx = True #android.enable_androidx = True
@ -28,7 +24,8 @@ icon.filename = %(source.dir)s/assets/icon.png
presplash.filename = %(source.dir)s/assets/presplash_small.png presplash.filename = %(source.dir)s/assets/presplash_small.png
android.presplash_color = #00000000 android.presplash_color = #00000000
# TODO: Fix # TODO: Fix inability to set "user" orientation from spec
# This is currently handled by patching the APK manifest
orientation = portrait orientation = portrait
fullscreen = 0 fullscreen = 0
@ -47,6 +44,9 @@ services = sidebandservice:services/sidebandservice.py:foreground
android.whitelist = lib-dynload/termios.so android.whitelist = lib-dynload/termios.so
android.manifest.intent_filters = patches/intent-filter.xml android.manifest.intent_filters = patches/intent-filter.xml
# android.add_libs_armeabi_v7a = ../libs/armeabi/*.so*
# android.add_libs_arm64_v8a = ../libs/arm64/*.so*
[buildozer] [buildozer]
log_level = 2 log_level = 2
warn_on_root = 0 warn_on_root = 0