mirror of
https://git.suyu.dev/suyu/flatpak.git
synced 2025-12-24 08:14:44 +01:00
Init
This commit is contained in:
commit
e571c4fbe8
139 changed files with 8839 additions and 0 deletions
15
shared-modules/SDL2/README.md
Normal file
15
shared-modules/SDL2/README.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
This SDL2 module is intended for use with flatpaks that rely on SDL2.
|
||||
|
||||
If your app or game wants to use a newer version of SDL2, or default to Wayland, you can use this. Set the following permissions for using Wayland:
|
||||
|
||||
```
|
||||
socket=wayland
|
||||
socket=fallback-x11
|
||||
share=ipc
|
||||
```
|
||||
|
||||
This SDL2 module contains two manifests; one containing SDL2 without libdecor, and the other with.
|
||||
|
||||
If your application utilizes SDL2 but doesn't work on Wayland, even with libdecor, you might opt for the `-no-libdecor` manifest, and disable Wayland support.
|
||||
|
||||
Otherwise, flatpak maintainers can use the `-with-libdecor` manifest.
|
||||
22
shared-modules/SDL2/SDL2-no-libdecor.json
Normal file
22
shared-modules/SDL2/SDL2-no-libdecor.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name": "SDL2",
|
||||
"buildsystem": "autotools",
|
||||
"config-opts": ["--disable-static"],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.tar.gz",
|
||||
"sha256": "332cb37d0be20cb9541739c61f79bae5a477427d79ae85e352089afdaf6666e4"
|
||||
}
|
||||
],
|
||||
"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"]
|
||||
}
|
||||
23
shared-modules/SDL2/SDL2-with-libdecor.json
Normal file
23
shared-modules/SDL2/SDL2-with-libdecor.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"name": "SDL2",
|
||||
"buildsystem": "autotools",
|
||||
"config-opts": ["--disable-static"],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.tar.gz",
|
||||
"sha256": "332cb37d0be20cb9541739c61f79bae5a477427d79ae85e352089afdaf6666e4"
|
||||
}
|
||||
],
|
||||
"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"],
|
||||
"modules": [ "../libdecor/libdecor-0.2.0.json" ]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue