mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-27 08:05:42 +00:00
DOLPHIN: outsourced
This commit is contained in:
parent
40ee41c35a
commit
839a5f51ea
|
@ -18,4 +18,8 @@ url^RETRODECKESDEURLPLACEHOLDER^"https://github.com/RetroDECK/ES-DE/releases/dow
|
||||||
hash^RETRODECKESDEPLACEHOLDER^"https://github.com/RetroDECK/ES-DE/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/ES-DE/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-ES-DE-Artifact.tar.gz"
|
hash^RETRODECKESDEPLACEHOLDER^"https://github.com/RetroDECK/ES-DE/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/ES-DE/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-ES-DE-Artifact.tar.gz"
|
||||||
url^RDPPSSPPURL^"https://github.com/RetroDECK/org.ppsspp.PPSSPP/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.ppsspp.PPSSPP/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-PPSSPP-Artifact.tar.gz"
|
url^RDPPSSPPURL^"https://github.com/RetroDECK/org.ppsspp.PPSSPP/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.ppsspp.PPSSPP/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-PPSSPP-Artifact.tar.gz"
|
||||||
hash^RDPPSSPPHASH^"https://github.com/RetroDECK/org.ppsspp.PPSSPP/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.ppsspp.PPSSPP/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-PPSSPP-Artifact.tar.gz"
|
hash^RDPPSSPPHASH^"https://github.com/RetroDECK/org.ppsspp.PPSSPP/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.ppsspp.PPSSPP/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-PPSSPP-Artifact.tar.gz"
|
||||||
|
url^RETRODECKDOLPHINURLPLACEHOLDER^"https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.DolphinEmu.dolphin-emu/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-dolphin-Artifact.tar.gz"
|
||||||
|
hash^RETRODECKDOLPHINPLACEHOLDER^"https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.DolphinEmu.dolphin-emu/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-dolphin-Artifact.tar.gz"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -310,24 +310,6 @@ modules:
|
||||||
# dependency of: CEMU, RPCS3, PPSSPP
|
# dependency of: CEMU, RPCS3, PPSSPP
|
||||||
- rd-submodules/shared-modules/glew/glew.json
|
- rd-submodules/shared-modules/glew/glew.json
|
||||||
|
|
||||||
# dependency of: CEMU (1.0.26), DOLPHIN (1.0.27)
|
|
||||||
- name: libusb
|
|
||||||
config-opts:
|
|
||||||
- --disable-static
|
|
||||||
cleanup:
|
|
||||||
- /include
|
|
||||||
- /lib/*.la
|
|
||||||
- /lib/pkgconfig
|
|
||||||
sources:
|
|
||||||
- type: archive
|
|
||||||
url: https://github.com/libusb/libusb/releases/download/v1.0.27/libusb-1.0.27.tar.bz2
|
|
||||||
sha256: ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575
|
|
||||||
x-checker-data:
|
|
||||||
type: anitya
|
|
||||||
project-id: 1749
|
|
||||||
stable-only: true
|
|
||||||
url-template: https://github.com/libusb/libusb/releases/download/v$version/libusb-$version.tar.bz2
|
|
||||||
|
|
||||||
# Dependency of: ES-DE, PPSSPP, RPCS3
|
# Dependency of: ES-DE, PPSSPP, RPCS3
|
||||||
- name: ffmpeg
|
- name: ffmpeg
|
||||||
config-opts:
|
config-opts:
|
||||||
|
@ -479,74 +461,17 @@ modules:
|
||||||
|
|
||||||
# Dolphin - START
|
# Dolphin - START
|
||||||
# why from source: AppImage not provided, only Flatpak
|
# why from source: AppImage not provided, only Flatpak
|
||||||
# https://github.com/flathub/org.DolphinEmu.dolphin-emu
|
# https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu
|
||||||
# WHEN UPADTING: remember to update rd-submodules/dolphin contents
|
|
||||||
|
|
||||||
- name: xdg-screensaver-shim
|
- name: retrodeck-dolphin
|
||||||
buildsystem: meson
|
|
||||||
sources:
|
|
||||||
- type: archive
|
|
||||||
url: https://github.com/Unrud/xdg-screensaver-shim/archive/0.0.2.tar.gz
|
|
||||||
sha256: 0ed2a69fe6ee6cbffd2fe16f85116db737f17fb1e79bfb812d893cf15c728399
|
|
||||||
|
|
||||||
- name: dolphin-emu
|
|
||||||
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 -t ${FLATPAK_DEST}/bin/ dolphin-emu-wrapper
|
|
||||||
- sed -i -e 's/viewBox="0 0 1024.02 571.29"/viewBox="0 -285.645 1024 1024" width="2048"
|
|
||||||
height="2048"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
# Sometimes Dolphin or its submodules clone are failing in https so it must done in ssh
|
|
||||||
# fatal: remote transport reported error
|
|
||||||
# url: ssh://git@github.com/dolphin-emu/dolphin.git
|
|
||||||
url: https://github.com/dolphin-emu/dolphin.git
|
|
||||||
commit: cc3ff347b437fd80f3a2880d1bbc7ba2d5f191f4
|
|
||||||
# x-checker-data:
|
|
||||||
# type: json
|
|
||||||
# url: https://dolphin-emu.org/update/latest/beta
|
|
||||||
# commit-query: .hash
|
|
||||||
# version-query: .shortrev
|
|
||||||
# timestamp-query: .date
|
|
||||||
# is-main-source: true
|
|
||||||
# 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: dolphin-emu-wrapper
|
|
||||||
|
|
||||||
- name: universal_dynamic_input
|
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- mkdir -p ${FLATPAK_DEST}/retrodeck/extras/DynamicInputTextures
|
- cp -r files/** "${FLATPAK_DEST}"
|
||||||
- cp -rf * ${FLATPAK_DEST}/retrodeck/extras/DynamicInputTextures/
|
- chmod +x "${FLATPAK_DEST}/bin/"*
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: archive
|
||||||
url: https://github.com/Venomalia/UniversalDynamicInput.git
|
url: RETRODECKDOLPHINURLPLACEHOLDER
|
||||||
commit: UNIVERSALDYNAMICINPUTCOMMITPLACEHOLDER
|
sha256: RETRODECKDOLPHINPLACEHOLDER
|
||||||
|
|
||||||
# Dolphin - END
|
# Dolphin - END
|
||||||
|
|
||||||
# XEMU - START
|
# XEMU - START
|
||||||
|
|
|
@ -205,3 +205,93 @@
|
||||||
project-id: 96796
|
project-id: 96796
|
||||||
stable-only: true
|
stable-only: true
|
||||||
url-template: https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v$version/libslirp-v$version.tar.gz
|
url-template: https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v$version/libslirp-v$version.tar.gz
|
||||||
|
|
||||||
|
# dependency of: CEMU (1.0.26), DOLPHIN (1.0.27)
|
||||||
|
- name: libusb
|
||||||
|
config-opts:
|
||||||
|
- --disable-static
|
||||||
|
cleanup:
|
||||||
|
- /include
|
||||||
|
- /lib/*.la
|
||||||
|
- /lib/pkgconfig
|
||||||
|
sources:
|
||||||
|
- type: archive
|
||||||
|
url: https://github.com/libusb/libusb/releases/download/v1.0.27/libusb-1.0.27.tar.bz2
|
||||||
|
sha256: ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575
|
||||||
|
x-checker-data:
|
||||||
|
type: anitya
|
||||||
|
project-id: 1749
|
||||||
|
stable-only: true
|
||||||
|
url-template: https://github.com/libusb/libusb/releases/download/v$version/libusb-$version.tar.bz2
|
||||||
|
|
||||||
|
# Dolphin - START
|
||||||
|
# why from source: AppImage not provided, only Flatpak
|
||||||
|
# https://github.com/flathub/org.DolphinEmu.dolphin-emu
|
||||||
|
# WHEN UPADTING: remember to update rd-submodules/dolphin contents
|
||||||
|
|
||||||
|
- name: xdg-screensaver-shim
|
||||||
|
buildsystem: meson
|
||||||
|
sources:
|
||||||
|
- type: archive
|
||||||
|
url: https://github.com/Unrud/xdg-screensaver-shim/archive/0.0.2.tar.gz
|
||||||
|
sha256: 0ed2a69fe6ee6cbffd2fe16f85116db737f17fb1e79bfb812d893cf15c728399
|
||||||
|
|
||||||
|
- name: dolphin-emu
|
||||||
|
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 -t ${FLATPAK_DEST}/bin/ dolphin-emu-wrapper
|
||||||
|
- sed -i -e 's/viewBox="0 0 1024.02 571.29"/viewBox="0 -285.645 1024 1024" width="2048"
|
||||||
|
height="2048"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
|
||||||
|
sources:
|
||||||
|
- type: git
|
||||||
|
# Sometimes Dolphin or its submodules clone are failing in https so it must done in ssh
|
||||||
|
# fatal: remote transport reported error
|
||||||
|
# url: ssh://git@github.com/dolphin-emu/dolphin.git
|
||||||
|
url: https://github.com/dolphin-emu/dolphin.git
|
||||||
|
commit: cc3ff347b437fd80f3a2880d1bbc7ba2d5f191f4
|
||||||
|
# x-checker-data:
|
||||||
|
# type: json
|
||||||
|
# url: https://dolphin-emu.org/update/latest/beta
|
||||||
|
# commit-query: .hash
|
||||||
|
# version-query: .shortrev
|
||||||
|
# timestamp-query: .date
|
||||||
|
# is-main-source: true
|
||||||
|
# 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: dolphin-emu-wrapper
|
||||||
|
|
||||||
|
- name: universal_dynamic_input
|
||||||
|
buildsystem: simple
|
||||||
|
build-commands:
|
||||||
|
- mkdir -p ${FLATPAK_DEST}/retrodeck/extras/DynamicInputTextures
|
||||||
|
- cp -rf * ${FLATPAK_DEST}/retrodeck/extras/DynamicInputTextures/
|
||||||
|
sources:
|
||||||
|
- type: git
|
||||||
|
url: https://github.com/Venomalia/UniversalDynamicInput.git
|
||||||
|
commit: UNIVERSALDYNAMICINPUTCOMMITPLACEHOLDER
|
||||||
|
|
||||||
|
# Dolphin - END
|
||||||
|
|
Loading…
Reference in a new issue