From 217e133003df808967446265c8df537ae87d872c Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 4 Jun 2024 03:18:33 +0200 Subject: [PATCH] Updated build spec --- sbapp/buildozer.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sbapp/buildozer.spec b/sbapp/buildozer.spec index 8a6defe..2ca407e 100644 --- a/sbapp/buildozer.spec +++ b/sbapp/buildozer.spec @@ -12,11 +12,7 @@ version.regex = __version__ = ['"](.*)['"] version.filename = %(source.dir)s/main.py android.numeric_version = 20240531 -# Cryptography recipe is currently broken, using RNS-internal crypto for now. Since -# 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 +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 android.gradle_dependencies = com.android.support:support-compat:28.0.0 #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 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 fullscreen = 0 @@ -47,6 +44,9 @@ services = sidebandservice:services/sidebandservice.py:foreground android.whitelist = lib-dynload/termios.so 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] log_level = 2 warn_on_root = 0