Sideband/sbapp/buildozer.spec

55 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

2022-07-07 14:17:44 -06:00
[app]
title = Sideband
package.name = sideband
package.domain = io.unsigned
source.dir = .
source.include_exts = py,png,jpg,jpeg,webp,ttf,kv,pyi,typed,so,0,1,2,3,atlas,frag,html,css,js,whl,zip,gz,woff2,pdf,epub,pgm
2024-01-04 17:49:25 -07:00
source.include_patterns = assets/*,assets/fonts/*,share/*
2024-06-04 10:51:36 -06:00
source.exclude_patterns = app_storage/*,venv/*,Makefile,./Makefil*,requirements,precompiled/*,parked/*,./setup.py,Makef*,./Makefile,Makefile,bin/*,build/*,dist/*,__pycache__/*
2022-07-07 14:17:44 -06:00
version.regex = __version__ = ['"](.*)['"]
version.filename = %(source.dir)s/main.py
2024-10-13 06:36:21 -06:00
android.numeric_version = 20241013
2022-07-07 14:17:44 -06:00
2024-10-01 08:24:11 -06:00
requirements = kivy==2.3.0,libbz2,pillow==10.2.0,qrcode==7.3.1,usb4a,usbserial4a,able_recipe,libwebp,libogg,libopus,opusfile,numpy,cryptography,ffpyplayer,codec2,pycodec2,sh,pynacl,typing-extensions
2024-05-31 05:45:55 -06:00
android.gradle_dependencies = com.android.support:support-compat:28.0.0
#android.enable_androidx = True
#android.add_aars = patches/support-compat-28.0.0.aar
2023-07-09 19:01:14 -06:00
2024-06-02 17:53:54 -06:00
p4a.local_recipes = ../recipes/
2022-07-07 14:17:44 -06:00
icon.filename = %(source.dir)s/assets/icon.png
presplash.filename = %(source.dir)s/assets/presplash_small.png
android.presplash_color = #00000000
2024-06-03 19:18:33 -06:00
# TODO: Fix inability to set "user" orientation from spec
# This is currently handled by patching the APK manifest
2023-02-03 12:32:35 -07:00
orientation = portrait
2022-07-07 14:17:44 -06:00
fullscreen = 0
2024-10-01 08:24:11 -06:00
android.permissions = INTERNET,POST_NOTIFICATIONS,WAKE_LOCK,FOREGROUND_SERVICE,CHANGE_WIFI_MULTICAST_STATE,BLUETOOTH_SCAN,BLUETOOTH_ADVERTISE,BLUETOOTH_CONNECT,ACCESS_NETWORK_STATE,ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATION,MANAGE_EXTERNAL_STORAGE,ACCESS_BACKGROUND_LOCATION,RECORD_AUDIO,REQUEST_IGNORE_BATTERY_OPTIMIZATIONS,FOREGROUND_SERVICE_CONNECTED_DEVICE
2023-12-02 18:08:04 -07:00
2024-05-31 05:45:55 -06:00
android.api = 31
android.minapi = 24
2023-07-09 18:49:58 -06:00
android.ndk = 25b
2022-07-07 14:17:44 -06:00
android.skip_update = False
android.accept_sdk_license = True
2022-09-28 12:58:02 -06:00
android.release_artifact = apk
android.archs = arm64-v8a,armeabi-v7a
2022-07-07 14:17:44 -06:00
#android.logcat_filters = *:S python:D
2022-09-20 09:28:39 -06:00
services = sidebandservice:services/sidebandservice.py:foreground
2022-10-11 06:07:40 -06:00
android.whitelist = lib-dynload/termios.so
android.manifest.intent_filters = patches/intent-filter.xml
2024-06-03 19:18:33 -06:00
# android.add_libs_armeabi_v7a = ../libs/armeabi/*.so*
# android.add_libs_arm64_v8a = ../libs/arm64/*.so*
2022-07-07 14:17:44 -06:00
[buildozer]
log_level = 2
warn_on_root = 0
build_dir = ./.buildozer
2022-09-28 13:16:20 -06:00
bin_dir = ./bin