Merge branch 'cooker' of https://github.com/XargonWan/RetroDECK into cooker

This commit is contained in:
Steam Deck User 2022-06-22 22:18:41 +02:00
commit 0e52c4a41e

View file

@ -700,12 +700,10 @@ modules:
post-install: post-install:
- install -D dolphin-emu-wrapper /app/bin/dolphin-emu-wrapper - install -D dolphin-emu-wrapper /app/bin/dolphin-emu-wrapper
- sed -i -e 's/"2048"/"512"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg - sed -i -e 's/"2048"/"512"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
/app/share/applications/dolphin-emu.desktop
sources: sources:
- type: git - type: git
url: https://github.com/dolphin-emu/dolphin.git url: https://github.com/dolphin-emu/dolphin.git
commit: 8ecfa537a242de74d2e372e30d9d79b14584b2fb commit: 8335ec70e5fe253eb21509408ca6b5736ed57dfc
# detects whether dolphin is running in a flatpak sandbox # detects whether dolphin is running in a flatpak sandbox
# and makes it use xdg directories if it is. # and makes it use xdg directories if it is.
# prevents dolphin from attempting to write conf files # prevents dolphin from attempting to write conf files
@ -716,12 +714,19 @@ modules:
# version strings must match exactly for online multiplayer # version strings must match exactly for online multiplayer
- type: patch - type: patch
path: rd-submodules/dolphin/nodirtyversion.patch path: rd-submodules/dolphin/nodirtyversion.patch
- type: file - type: script
commands: commands:
- for i in {0..9}; do - for i in {0..9}; do
- test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i; - test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
- done - done
# use gtk3 filechooser on steamdeck
- bv=`cat /sys/devices/virtual/dmi/id/board_vendor`
- bv=$bv`cat /sys/devices/virtual/dmi/id/board_name`
- if [[ $bv == "ValveJupiter" ]]; then
- QT_QPA_PLATFORMTHEME=gtk3 dolphin-emu "$@"
- else
- dolphin-emu "$@" - dolphin-emu "$@"
- fi
dest-filename: dolphin-emu-wrapper dest-filename: dolphin-emu-wrapper
# Dolphin - END # Dolphin - END