diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index c1110a1a..1485ebb3 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -34,6 +34,7 @@ finish-args: # Dolphin - --allow=bluetooth #- --env=QT_QPA_PLATFORM=xcb not sure if this will break something + # primehack cleanup: # ES-DE @@ -717,6 +718,47 @@ modules: # XEMU - END + # PRIMEHACK - START + + - name: primehack + buildsystem: cmake-ninja + config-opts: + - -DCMAKE_BUILD_TYPE=Release + - -DENABLE_ALSA=OFF + - -DENABLE_SDL=ON + - -DENABLE_EVDEV=ON + - -DDISTRIBUTOR=Flathub + cleanup: + - /share/man + post-install: + - 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 + sources: + - type: git + url: https://github.com/shiiion/dolphin.git + commit: 9ca0eb888bd6f8ed13a4efb92d808fbf0705ffa4 + # detects whether dolphin is running in a flatpak sandbox + # and makes it use xdg directories if it is. + # prevents dolphin from attempting to write conf files + # in non-writable paths, typically happens when a user + # has leftover files from a previous non-flatpak install + - type: patch + path: detectflatpak.patch + # version strings must match exactly for online multiplayer + - type: patch + path: nodirtyversion.patch + - type: file + path: appdata.xml + - type: script + commands: + - 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; + - done + - dolphin-emu "$@" + dest-filename: dolphin-emu-wrapper + + # PRIMEHACK - END + # External manifests end