PRIMEHACK: added

This commit is contained in:
XargonWan 2022-04-27 15:40:20 +09:00
parent b03951ab29
commit 3853db8659

View file

@ -34,6 +34,7 @@ finish-args:
# Dolphin # Dolphin
- --allow=bluetooth - --allow=bluetooth
#- --env=QT_QPA_PLATFORM=xcb not sure if this will break something #- --env=QT_QPA_PLATFORM=xcb not sure if this will break something
# primehack
cleanup: cleanup:
# ES-DE # ES-DE
@ -717,6 +718,47 @@ modules:
# XEMU - END # 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 # External manifests end