PANCAKES: fixed libSDL2
Some checks are pending
Build RetroDECK / Build_RetroDECK (push) Waiting to run
Build RetroDECK / GitHub-publish (push) Blocked by required conditions
Build RetroDECK / Automated_Tests (push) Blocked by required conditions

This commit is contained in:
XargonWan 2025-01-16 14:20:34 +09:00
parent bfb33f0596
commit 965751064f

View file

@ -605,8 +605,6 @@ modules:
# Step 4: Set up license directory and move license files
- mkdir -p "${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:
- type: archive
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 -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:
- type: dir
path: .