Skip to content

Commit b1d5fbd

Browse files
committed
Update Android build process and dependencies
- Clean Buildozer cache before building - Change build command from debug to release for APK - Update desktop build dependencies to include necessary libraries - Modify Kivy requirements to specify base installation
1 parent 627c2a5 commit b1d5fbd

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

.github/workflows/android.build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,12 @@ jobs:
7272
run: |
7373
export ACLOCAL_PATH="${ACLOCAL_PATH}:/usr/share/aclocal"
7474
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig"
75+
rm -rf ~/.buildozer
76+
rm -rf ./.buildozer
77+
7578
buildozer android clean
76-
buildozer -v android debug
79+
buildozer -v android release
80+
7781
7882
- name: Upload APK artifact
7983
uses: actions/upload-artifact@v4

.github/workflows/desktop.build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,7 @@ jobs:
5151
sudo apt-get update
5252
sudo apt-get install -y \
5353
libcups2-dev \
54-
libsdl2-dev \
55-
libsdl2_image-dev \
56-
libsdl2_mixer-dev \
57-
libsdl2_ttf-dev \
58-
libgstreamer1.0-dev \
59-
libgstreamer-plugins-base1.0-dev \
60-
libmtdev-dev \
54+
libgl1-mesa-glx libgles2-mesa libegl1-mesa libmtdev1 \
6155
xvfb
6256
6357
# Add steps for macOS dependencies if needed (e.g., using brew)

requirements.android.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ appdirs==1.4.4
88
platformdirs==4.2.2
99
pika
1010
pywin32; sys_platform == 'win32'
11-
kivy
11+
kivy[base]

requirements.kivy.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ appdirs==1.4.4
88
platformdirs==4.2.2
99
pika
1010
pywin32; sys_platform == 'win32'
11-
kivy
11+
kivy[base]

0 commit comments

Comments
 (0)