Temporarly removed Primehack as it cannot coexhist with Dolphin

This commit is contained in:
Xargon Wan 2022-05-02 21:47:47 +09:00
parent 95384ce35c
commit c4da64813b
2 changed files with 36 additions and 36 deletions

View file

@ -879,41 +879,41 @@ modules:
# PRIMEHACK - START # PRIMEHACK - START
# https://github.com/flathub/io.github.shiiion.primehack # https://github.com/flathub/io.github.shiiion.primehack
# Disabled because it's overwriting Dolphin
- name: primehack # - name: primehack
buildsystem: cmake-ninja # buildsystem: cmake-ninja
config-opts: # config-opts:
- -DCMAKE_BUILD_TYPE=Release # - -DCMAKE_BUILD_TYPE=Release
- -DENABLE_ALSA=OFF # - -DENABLE_ALSA=OFF
- -DENABLE_SDL=ON # - -DENABLE_SDL=ON
- -DENABLE_EVDEV=ON # - -DENABLE_EVDEV=ON
- -DDISTRIBUTOR=Flathub # - -DDISTRIBUTOR=Flathub
cleanup: # cleanup:
- /share/man # - /share/man
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
sources: # sources:
- type: git # - type: git
url: https://github.com/shiiion/dolphin.git # url: https://github.com/shiiion/dolphin.git
commit: 9ca0eb888bd6f8ed13a4efb92d808fbf0705ffa4 # commit: 9ca0eb888bd6f8ed13a4efb92d808fbf0705ffa4
# 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
# in non-writable paths, typically happens when a user # # in non-writable paths, typically happens when a user
# has leftover files from a previous non-flatpak install # # has leftover files from a previous non-flatpak install
- type: patch # - type: patch
path: rd-submodules/primehack/detectflatpak.patch # path: rd-submodules/primehack/detectflatpak.patch
# version strings must match exactly for online multiplayer # # version strings must match exactly for online multiplayer
- type: patch # - type: patch
path: rd-submodules/primehack/nodirtyversion.patch # path: rd-submodules/primehack/nodirtyversion.patch
- type: script # - 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
- dolphin-emu "$@" # - dolphin-emu "$@"
dest-filename: dolphin-emu-wrapper # dest-filename: dolphin-emu-wrapper
# PRIMEHACK - END # PRIMEHACK - END

View file

@ -3,5 +3,5 @@
kdialog --title "RetroDECK" --warningyesno "Doing some changes in the emulator's configuration may create serious issues, please continue only if you know what you're doing.\n\nDo you want to continue?" kdialog --title "RetroDECK" --warningyesno "Doing some changes in the emulator's configuration may create serious issues, please continue only if you know what you're doing.\n\nDo you want to continue?"
if [ $? == 0 ] if [ $? == 0 ]
then then
dolphin-qt dolphin-emu
fi fi