From d8c9d70c62db478fa76653aee17c878a27d1e4e7 Mon Sep 17 00:00:00 2001 From: icenine451 Date: Tue, 22 Nov 2022 15:38:28 -0500 Subject: [PATCH] Another Primehack attempt --- net.retrodeck.retrodeck.yml | 68 +++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 55730396..a25b2769 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -827,42 +827,44 @@ modules: # # https://github.com/flathub/io.github.shiiion.primehack # # Disabled because it's overwriting Dolphin - # - 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 primehack-wrapper /app/bin/primehack-wrapper - # sources: - # - type: git - # url: https://github.com/shiiion/dolphin.git - # commit: efb99ebfd20b1bc16ea3e51fec409c91e354d8c2 - # # 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: rd-submodules/dolphin/detectflatpak.patch - # # version strings must match exactly for online multiplayer - # - type: patch - # path: rd-submodules/dolphin/nodirtyversion.patch - # - 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: primehack-wrapper + - 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 primehack-wrapper /app/bin/primehack-wrapper + sources: + - type: git + url: https://github.com/TheDrifter363/primehack.git + commit: 6295c695307a67f11ee202b05cbdd7b5c1edae5c + # 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: rd-submodules/dolphin/detectflatpak.patch + # version strings must match exactly for online multiplayer + - type: patch + path: rd-submodules/dolphin/nodirtyversion.patch + - 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: primehack-wrapper # # PRIMEHACK - END + # # PRIMEHACK APPIMAGE START + # Duckstation - START # https://github.com/flathub/org.duckstation.DuckStation # Disabled until we completely switch to QT6