Skip to content

Commit b23a7d7

Browse files
committed
Update buildozer.spec for p4a v2026 and Python 3.14
1 parent 9670608 commit b23a7d7

1 file changed

Lines changed: 30 additions & 27 deletions

File tree

buildozer.spec

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ p4a.local_recipes = ./recipes
1818
version.regex = __version__ = "(.*)"
1919
version.filename = %(source.dir)s/version_here.py
2020

21-
orientation = all
21+
orientation = landscape, portrait, landscape-reverse, portrait-reverse
2222
fullscreen = 0
2323

2424
# (str) Presplash of the application
@@ -28,43 +28,44 @@ presplash.filename = %(source.dir)s/data/logo/logo-splash.png
2828
icon.filename = %(source.dir)s/data/logo/logo-128.png
2929

3030
# requirements of the app
31-
requirements =
32-
kivy==2.0.0,
33-
python3,
31+
requirements =
32+
python3==3.14.2,
33+
hostpython3==3.14.2,
34+
kivy==2.3.1,
3435
android,
35-
pygments==2.7.3,
36+
pygments==2.20.0,
3637
# herethere dependencies
37-
asyncssh==2.4.2,
38-
python-dotenv==0.15.0,
38+
asyncssh==2.23.0,
39+
python-dotenv==1.2.2,
3940
herethere,
4041
# asyncssh dependencies
41-
cryptography,
42+
cryptography==48.0.0,
43+
typing_extensions,
4244
# additional packages
43-
pyjnius==1.3.0,
44-
plyer==2.0.0,
45+
pyjnius==1.7.0,
46+
plyer==2.1.0,
4547
able_recipe,
46-
https://github.com/b3b/midistream/archive/master.zip,
47-
mididriver,
48+
midistream==0.3.1,
4849
# Pillow is a recipe, not a package
4950
Pillow,
50-
docutils==0.16,
51-
requests==2.24.0,
52-
urllib3==1.25.9,
53-
certifi==2019.6.16,
54-
chardet==3.0.4,
55-
idna==2.8,
56-
51+
docutils==0.22.4,
52+
requests==2.34.2,
53+
urllib3==2.7.0,
54+
certifi==2026.4.22,
55+
chardet==7.4.3,
56+
idna==3.15,
57+
# https://github.com/kivy/python-for-android/issues/3098
58+
filetype==1.2.0,
5759

5860
# android specific
59-
60-
android.api = 29
61+
p4a.branch = v2026.05.09
62+
android.api = 36
6163
android.minapi = 22
62-
android.ndk = 20b
63-
64+
android.ndk = 28c
6465
android.accept_sdk_license = True
6566

6667
# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
67-
android.arch = armeabi-v7a
68+
android.archs = arm64-v8a, armeabi-v7a, x86_64
6869

6970
android.permissions =
7071
WAKE_LOCK,
@@ -77,9 +78,11 @@ android.permissions =
7778
WRITE_EXTERNAL_STORAGE,
7879
ACCESS_COARSE_LOCATION,
7980
ACCESS_FINE_LOCATION,
80-
BLUETOOTH,
81-
BLUETOOTH_ADMIN
82-
81+
(name=android.permission.BLUETOOTH;maxSdkVersion=30),
82+
(name=android.permission.BLUETOOTH_ADMIN;maxSdkVersion=30),
83+
BLUETOOTH_SCAN,
84+
BLUETOOTH_CONNECT,
85+
BLUETOOTH_ADVERTISE,
8386

8487
android.wakelock=True
8588
android.manifest.launch_mode = singleTask

0 commit comments

Comments
 (0)