diff --git a/scripts/flatpak/com.github.thestr4ng3r.Chiaki.json b/scripts/flatpak/com.github.thestr4ng3r.Chiaki.json index 533ea41..0b630ed 100644 --- a/scripts/flatpak/com.github.thestr4ng3r.Chiaki.json +++ b/scripts/flatpak/com.github.thestr4ng3r.Chiaki.json @@ -116,18 +116,26 @@ ] }, { - "name": "sdl2", - "buildsystem": "cmake", - "config-opts": [ - "-DCMAKE_INSTALL_PREFIX=/app" - ], + "name": "SDL2", + "buildsystem": "autotools", + "config-opts": ["--disable-static"], "sources": [ { - "type": "git", - "url": "https://github.com/libsdl-org/SDL.git", - "branch": "release-2.0.16" + "type": "archive", + "url": "https://github.com/libsdl-org/SDL/releases/download/release-2.30.0/SDL2-2.30.0.tar.gz", + "sha256": "36e2e41557e0fa4a1519315c0f5958a87ccb27e25c51776beb6f1239526447b0" } - ] + ], + "cleanup": [ "/bin/sdl2-config", + "/include", + "/lib/libSDL2.la", + "/lib/libSDL2main.a", + "/lib/libSDL2main.la", + "/lib/libSDL2_test.a", + "/lib/libSDL2_test.la", + "/lib/cmake", + "/share/aclocal", + "/lib/pkgconfig"] }, { "name": "chiaki-borealis",