mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
PANCAKES: fixed libSDL2
This commit is contained in:
parent
bfb33f0596
commit
965751064f
|
@ -605,8 +605,6 @@ modules:
|
||||||
# Step 4: Set up license directory and move license files
|
# Step 4: Set up license directory and move license files
|
||||||
- mkdir -p "${FLATPAK_DEST}/retrodeck/licenses"
|
- mkdir -p "${FLATPAK_DEST}/retrodeck/licenses"
|
||||||
- mv LICENSE.txt THIRDPARTY.md "${FLATPAK_DEST}/retrodeck/licenses"
|
- mv LICENSE.txt THIRDPARTY.md "${FLATPAK_DEST}/retrodeck/licenses"
|
||||||
# One off to make it work with SDL2
|
|
||||||
- ln -s "/lib/x86_64-linux-gnu/libSDL2-2.0.so.0" "${FLATPAK_DEST}/lib/libSDL2.so"
|
|
||||||
sources:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://github.com/RetroDECK/Pancakes-bin/releases/download/1.1.0.1403/pancakes-Release-linux_x64.tar.gz
|
url: https://github.com/RetroDECK/Pancakes-bin/releases/download/1.1.0.1403/pancakes-Release-linux_x64.tar.gz
|
||||||
|
@ -797,6 +795,13 @@ modules:
|
||||||
# Install MIME Type
|
# Install MIME Type
|
||||||
- install -Dm 644 config/retrodeck/net.retrodeck.retrodeck.mime.xml /app/share/mime/packages/net.retrodeck.retrodeck.mime.xml
|
- install -Dm 644 config/retrodeck/net.retrodeck.retrodeck.mime.xml /app/share/mime/packages/net.retrodeck.retrodeck.mime.xml
|
||||||
|
|
||||||
|
# One off to make Pancakes (and possibly other components) work with SDL2, this line is here as it must be run after LibMan
|
||||||
|
- |
|
||||||
|
if [ ! -f "${FLATPAK_DEST}/lib/libSDL2.so" ]; then
|
||||||
|
echo "${FLATPAK_DEST}/lib/libSDL2.so is missing, creating symlink"
|
||||||
|
ln -s "/lib/x86_64-linux-gnu/libSDL2-2.0.so.0" "${FLATPAK_DEST}/lib/libSDL2.so"
|
||||||
|
fi
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
- type: dir
|
- type: dir
|
||||||
path: .
|
path: .
|
||||||
|
|
Loading…
Reference in a new issue