Skip to content

Commit e79fbc9

Browse files
committed
ci: Fix portable Linux build
1 parent d364bab commit e79fbc9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build_and_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ jobs:
6060
wget https://github.com/Taiko2k/Tauon/releases/download/Extras/liblcms2-dev_2.14-2build1_amd64.deb
6161
curl -L -o lrclib-solver https://github.com/Taiko2k/Tauon/releases/download/Extras/lrclib-solver-linux
6262
sudo dpkg -i *.deb
63-
# libsdl2-image-dev \
6463
6564
- name: Install Python dependencies and setup venv
6665
run: |
@@ -72,6 +71,7 @@ jobs:
7271
build \
7372
pyinstaller
7473
python -c "import sdl3"
74+
ln -s libSDL3.so .venv/lib/python3.13/site-packages/sdl3/bin/libSDL3.so.0
7575
# https://github.com/pyinstaller/pyinstaller/archive/develop.zip
7676

7777
- name: Build the project using python-build

linux.spec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ a = Analysis(
2020
(f"{lib_path}/gtk-3.0/modules/libcanberra-gtk-module.so", "lib/gtk-3.0/modules"),
2121
(f"{lib_path}/gtk-3.0/modules/libcanberra-gtk3-module.so", "lib/gtk-3.0/modules"),
2222
(f"{lib_path}/girepository-1.0/Notify-0.7.typelib", "gi_typelibs"),
23-
(".venv/lib/python3.13/site-packages/sdl3/bin/libSDL3.so", "."),
24-
(".venv/lib/python3.13/site-packages/sdl3/bin/libSDL3_image.so", "."),
23+
(".venv/lib/python3.13/site-packages/sdl3/bin/libSDL3.so", "."),
24+
(".venv/lib/python3.13/site-packages/sdl3/bin/libSDL3.so.0", "."),
25+
(".venv/lib/python3.13/site-packages/sdl3/bin/libSDL3_image.so", "."),
2526
#(".venv/lib/python3.13/site-packages/sdl3/bin/libSDL3_net.so", "."),
2627
#(".venv/lib/python3.13/site-packages/sdl3/bin/libSDL3_ttf.so", "."),
2728
#(".venv/lib/python3.13/site-packages/sdl3/bin/libSDL3_rtf.so", "."),

0 commit comments

Comments
 (0)