openCom-Companion/sbapp/buildozer.spec

46 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 = .
2022-10-02 17:17:55 +02:00
source.include_exts = py,png,jpg,jpeg,ttf,kv,pyi,typed,so,0,1,2,3,atlas,frag
2022-07-07 22:17:44 +02:00
source.include_patterns = assets/*
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
android.numeric_version = 20220928
2022-07-07 22:17:44 +02:00
2022-09-28 20:58:02 +02:00
# requirements = python3==3.10.6,hostpython3==3.10.6,cryptography,cffi,pycparser,kivy==2.1.0,pygments,sdl2,sdl2_ttf==2.0.15,pillow,lxmf==0.1.7,netifaces,libbz2,pydenticon
requirements = python3==3.9.5,hostpython3==3.9.5,cryptography,cffi,pycparser,kivy==2.1.0,pygments,sdl2,sdl2_ttf==2.0.15,pillow,lxmf==0.1.7,netifaces,libbz2,pydenticon
2022-07-07 22:17:44 +02:00
p4a.local_recipes = ../Others/python-for-android/pythonforandroid/recipes
requirements.source.kivymd = ../../Others/KivyMD-master
2022-09-16 18:07:35 +02:00
# requirements.source.plyer = ../../Others/plyer
2022-07-07 22:17:44 +02:00
icon.filename = %(source.dir)s/assets/icon.png
presplash.filename = %(source.dir)s/assets/presplash_small.png
android.presplash_color = #00000000
orientation = all
fullscreen = 0
2022-09-20 17:28:39 +02:00
android.permissions = INTERNET,POST_NOTIFICATIONS,WAKE_LOCK,FOREGROUND_SERVICE,CHANGE_WIFI_MULTICAST_STATE
2022-07-07 22:17:44 +02:00
android.api = 30
android.minapi = 27
2022-09-28 20:58:02 +02:00
android.ndk = 23b
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
2022-09-28 21:16:20 +02:00
android.archs = arm64-v8a
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
android.manifest.intent_filters = patches/intent-filter.xml
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