diff --git a/.github/workflows/build_macOS.yaml b/.github/workflows/build_macOS.yaml index 416b97787..69bf915a4 100644 --- a/.github/workflows/build_macOS.yaml +++ b/.github/workflows/build_macOS.yaml @@ -29,8 +29,7 @@ jobs: gtk+3 \ pango \ pillow \ - sdl2 \ - sdl2_image \ + sdl3 \ jpeg-xl \ ffmpeg \ librsvg \ @@ -38,6 +37,7 @@ jobs: libopenmpt \ wavpack \ game-music-emu +# sdl2_image \ # This generates 30MB of logs, enable it only when actively debugging something # - name: "[DEBUG] List all Cellar files" diff --git a/mac.spec b/mac.spec index 00aa36007..a7a47fc5e 100644 --- a/mac.spec +++ b/mac.spec @@ -35,14 +35,14 @@ a = Analysis( ("src/tauon/locale", "locale"), ("src/tauon/theme", "theme"), ("src/tauon/templates", "templates"), - # This could only have SDL2.framework and SDL2_image.framework to save space... - (f"{prefix}/lib/python{python_ver}/site-packages/sdl2dll/dll", "sdl2dll/dll"), -# (f".venv/lib/python{python_ver}/site-packages/sdl2dll/dll", "sdl2dll/dll"), -# (f".venv/lib/python{python_ver}/site-packages/sdl2dll/dll/SDL2.framework", "sdl2dll/dll/SDL2.framework"), -# (f".venv/lib/python{python_ver}/site-packages/sdl2dll/dll/SDL2_image.framework", "sdl2dll/dll/SDL2_image.framework"), + # This could only have SDL3.framework and SDL3_image.framework to save space... +# (f"{prefix}/lib/python{python_ver}/site-packages/sdl3dll/dll", "sdl3dll/dll"), +# (f".venv/lib/python{python_ver}/site-packages/sdl3dll/dll", "sdl3dll/dll"), +# (f".venv/lib/python{python_ver}/site-packages/sdl3dll/dll/SDL3.framework", "sdl3dll/dll/SDL3.framework"), +# (f".venv/lib/python{python_ver}/site-packages/sdl3dll/dll/SDL3_image.framework", "sdl3dll/dll/SDL3_image.framework"), ], hiddenimports=[ - "sdl2", + "sdl3", "phazor", "pylast", # Zeroconf is hacked until this issue is resolved: https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/840