Added PRIMEHACK

This commit is contained in:
XargonWan 2022-04-28 13:24:18 +09:00
commit 707296ef3f

View file

@ -33,6 +33,7 @@ finish-args:
# Dolphin
- --allow=bluetooth
#- --env=QT_QPA_PLATFORM=xcb not sure if this will break something
<<<<<<< HEAD
# rpcs3
- --socket=fallback-x11
@ -46,6 +47,9 @@ add-extensions:
autodelete: false
cleanup-commands:
- mkdir -p ${FLATPAK_DEST}/lib/ffmpeg
=======
# primehack
>>>>>>> cooker-primehack
cleanup:
# ES-DE
@ -887,7 +891,47 @@ modules:
branch: master
commit: e9570d1a0045926f63ec8ea9af68f81743d4f365
# RPCS3 - START
# RPCS3 - END
# PRIMEHACK - START
# https://github.com/flathub/io.github.shiiion.primehack
- 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: rd-submodules/primehack/detectflatpak.patch
# version strings must match exactly for online multiplayer
- type: patch
path: rd-submodules/primehack/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: dolphin-emu-wrapper
# PRIMEHACK - END
# External manifests end