mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-12-27 20:48:39 +01:00
58 lines
2.5 KiB
INI
58 lines
2.5 KiB
INI
[app]
|
|
title = OCC
|
|
package.name = occ
|
|
package.domain = uk.co.liberatedsystems
|
|
|
|
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
|
|
source.include_patterns = assets/*,assets/fonts/*,share/*
|
|
source.exclude_patterns = app_storage/*,venv/*,Makefile,./Makefil*,requirements,precompiled/*,parked/*,./setup.py,Makef*,./Makefile,Makefile,bin/*,build/*,dist/*,__pycache__/*
|
|
|
|
version.regex = __version__ = ['"](.*)['"]
|
|
version.filename = %(source.dir)s/main.py
|
|
android.numeric_version = 20241020
|
|
|
|
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
|
|
|
|
#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
|
|
|
|
p4a.local_recipes = ../recipes/
|
|
|
|
icon.filename = %(source.dir)s/assets/icon.png
|
|
presplash.filename = %(source.dir)s/assets/presplash_small.png
|
|
android.presplash_color = #00000000
|
|
|
|
# TODO: Fix inability to set "user" orientation from spec
|
|
# This is currently handled by patching the APK manifest
|
|
orientation = portrait
|
|
fullscreen = 0
|
|
|
|
#android.permissions = INTERNET,POST_NOTIFICATIONS,WAKE_LOCK,FOREGROUND_SERVICE,CHANGE_WIFI_MULTICAST_STATE,BLUETOOTH, BLUETOOTH_ADMIN, BLUETOOTH_SCAN, BLUETOOTH_CONNECT, BLUETOOTH_ADVERTISE,ACCESS_NETWORK_STATE,ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATION,MANAGE_EXTERNAL_STORAGE,ACCESS_BACKGROUND_LOCATION,RECORD_AUDIO
|
|
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
|
|
|
|
android.api = 31
|
|
android.minapi = 24
|
|
android.ndk = 25b
|
|
android.skip_update = False
|
|
android.accept_sdk_license = True
|
|
android.release_artifact = apk
|
|
android.archs = arm64-v8a,armeabi-v7a
|
|
#android.logcat_filters = *:S python:D
|
|
|
|
android.add_gradle_repositories = "flatDir { dirs('../../../../../../patches') }"
|
|
|
|
services = occservice:services/occservice.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
|
|
build_dir = ./.buildozer
|
|
bin_dir = ./bin
|