openCom-Companion/sbapp/buildozer.spec

49 lines
1.7 KiB
RPMSpec
Raw Normal View History

2022-07-07 22:17:44 +02: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-05 01:49:25 +01:00
source.include_patterns = assets/*,assets/fonts/*,share/*
2022-07-07 22:17:44 +02:00
source.exclude_patterns = app_storage/*,venv/*,Makefile,./Makefil*,requirements,precompiled/*,parked/*,./setup.py,Makef*,./Makefile,Makefile
version.regex = __version__ = ['"](.*)['"]
version.filename = %(source.dir)s/main.py
2024-04-01 15:03:22 +02:00
android.numeric_version = 20240401
2022-07-07 22:17:44 +02:00
2023-07-10 03:01:14 +02:00
# Cryptography recipe is currently broken, using RNS-internal crypto for now
2024-03-16 22:54:43 +01:00
requirements = kivy==2.3.0,libbz2,pillow==10.2.0,qrcode==7.3.1,usb4a,usbserial4a,libwebp
2023-07-10 03:01:14 +02:00
2022-07-07 22:17:44 +02:00
p4a.local_recipes = ../Others/python-for-android/pythonforandroid/recipes
icon.filename = %(source.dir)s/assets/icon.png
presplash.filename = %(source.dir)s/assets/presplash_small.png
android.presplash_color = #00000000
2023-02-03 20:32:35 +01:00
# TODO: Fix
orientation = portrait
2022-07-07 22:17:44 +02:00
fullscreen = 0
2023-12-03 02:08:04 +01:00
android.permissions = INTERNET,POST_NOTIFICATIONS,WAKE_LOCK,FOREGROUND_SERVICE,CHANGE_WIFI_MULTICAST_STATE,BLUETOOTH_CONNECT,ACCESS_NETWORK_STATE,ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATION,MANAGE_EXTERNAL_STORAGE,ACCESS_BACKGROUND_LOCATION
2022-07-07 22:17:44 +02:00
android.api = 30
android.minapi = 24
2023-07-10 02:49:58 +02:00
android.ndk = 25b
2022-07-07 22:17:44 +02:00
android.skip_update = False
android.accept_sdk_license = True
2022-09-28 20:58:02 +02:00
android.release_artifact = apk
android.archs = arm64-v8a,armeabi-v7a
2022-07-07 22:17:44 +02:00
#android.logcat_filters = *:S python:D
2022-09-20 17:28:39 +02:00
services = sidebandservice:services/sidebandservice.py:foreground
2022-10-11 14:07:40 +02:00
android.whitelist = lib-dynload/termios.so
android.manifest.intent_filters = patches/intent-filter.xml
android.add_aars = patches/support-compat-28.0.0.aar
2022-07-07 22:17:44 +02:00
[buildozer]
log_level = 2
warn_on_root = 0
build_dir = ./.buildozer
2022-09-28 21:16:20 +02:00
bin_dir = ./bin