Initial Yuzu support

This commit is contained in:
XargonWan 2022-04-07 10:43:43 +09:00
parent 9dfd9fe810
commit d3e833df1d
3 changed files with 32 additions and 24 deletions

3
.gitmodules vendored
View file

@ -4,3 +4,6 @@
[submodule "rd-submodules/retroarch"] [submodule "rd-submodules/retroarch"]
path = rd-submodules/retroarch path = rd-submodules/retroarch
url = https://github.com/flathub/org.libretro.RetroArch.git url = https://github.com/flathub/org.libretro.RetroArch.git
[submodule "rd-submodules/yuzu"]
path = rd-submodules/yuzu
url = https://github.com/flathub/org.yuzu_emu.yuzu

View file

@ -2,6 +2,10 @@ app-id: com.xargon.retrodeck
runtime: org.kde.Platform runtime: org.kde.Platform
runtime-version: '5.15-21.08' runtime-version: '5.15-21.08'
sdk: org.kde.Sdk sdk: org.kde.Sdk
# Needed for Yuzu
base: io.qt.qtwebengine.BaseApp
base-version: 5.15-21.08
# /Needed for Yuzu
command: retrodeck.sh command: retrodeck.sh
finish-args: finish-args:
@ -455,24 +459,24 @@ modules:
cleanup: cleanup:
- /share/man - /share/man
- /share/pixmaps - /share/pixmaps
# post-install: post-install:
# - install -Dm755 ../yuzu-launcher.sh /app/bin/yuzu-launcher - install -Dm755 ../yuzu-launcher.sh /app/bin/yuzu-launcher
# - >- - >-
# install -Dm644 ../org.yuzu_emu.yuzu.metainfo.xml install -Dm644 ../org.yuzu_emu.yuzu.metainfo.xml
# /app/share/appdata/org.yuzu_emu.yuzu.metainfo.xml /app/share/appdata/org.yuzu_emu.yuzu.metainfo.xml
# - desktop-file-install --dir=/app/share/applications ../dist/yuzu.desktop - desktop-file-install --dir=/app/share/applications ../dist/yuzu.desktop
# - >- - >-
# desktop-file-edit --set-key StartupWMClass --set-value yuzu --set-key desktop-file-edit --set-key StartupWMClass --set-value yuzu --set-key
# Exec --set-value yuzu-launcher /app/share/applications/yuzu.desktop Exec --set-value yuzu-launcher /app/share/applications/yuzu.desktop
# - >- - >-
# install -Dm644 ../dist/yuzu.svg install -Dm644 ../dist/yuzu.svg
# /app/share/icons/hicolor/scalable/apps/yuzu.svg /app/share/icons/hicolor/scalable/apps/yuzu.svg
# - >- - >-
# mv /app/share/mime/packages/yuzu.xml mv /app/share/mime/packages/yuzu.xml
# /app/share/mime/packages/org.yuzu_emu.yuzu.xml /app/share/mime/packages/org.yuzu_emu.yuzu.xml
# - >- - >-
# sed 's/yuzu/org.yuzu_emu.yuzu/g' -i sed 's/yuzu/org.yuzu_emu.yuzu/g' -i
# /app/share/mime/packages/org.yuzu_emu.yuzu.xml /app/share/mime/packages/org.yuzu_emu.yuzu.xml
sources: sources:
- type: git - type: git
url: https://github.com/yuzu-emu/yuzu-mainline.git url: https://github.com/yuzu-emu/yuzu-mainline.git
@ -482,12 +486,12 @@ modules:
x-checker-data: x-checker-data:
type: git type: git
tag-pattern: ^(mainline-0-\d+)$ tag-pattern: ^(mainline-0-\d+)$
#- type: file - type: file
# path: org.yuzu_emu.yuzu.metainfo.xml path: rd-submodules/yuzu/org.yuzu_emu.yuzu.metainfo.xml
#- type: file - type: file
# path: yuzu-launcher.sh path: rd-submodules/yuzu/yuzu-launcher.sh
#- type: file - type: file
# path: compatibility_list.json #is it needed? path: rd-submodules/yuzu/compatibility_list.json
# Yuzu - END # Yuzu - END

1
rd-submodules/yuzu Submodule

@ -0,0 +1 @@
Subproject commit c23956479d76c12b559316cfd30755eef5e09902