Initial Yuzu support

This commit is contained in:
XargonWan 2022-04-07 10:43:43 +09:00
parent 8b055002b2
commit 4892fb2f1a
3 changed files with 32 additions and 24 deletions

3
.gitmodules vendored
View file

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

1
rd-submodules/yuzu Submodule

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