From 4892fb2f1a1075fb5d253b67f565589ca480bba6 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 7 Apr 2022 10:43:43 +0900 Subject: [PATCH] Initial Yuzu support --- .gitmodules | 3 +++ com.xargon.retrodeck.yml | 52 +++++++++++++++++++++------------------- rd-submodules/yuzu | 1 + 3 files changed, 32 insertions(+), 24 deletions(-) create mode 160000 rd-submodules/yuzu diff --git a/.gitmodules b/.gitmodules index 9d6f4fb6..ceb5ef53 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/com.xargon.retrodeck.yml b/com.xargon.retrodeck.yml index fdf994c4..45a4604e 100644 --- a/com.xargon.retrodeck.yml +++ b/com.xargon.retrodeck.yml @@ -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 diff --git a/rd-submodules/yuzu b/rd-submodules/yuzu new file mode 160000 index 00000000..c2395647 --- /dev/null +++ b/rd-submodules/yuzu @@ -0,0 +1 @@ +Subproject commit c23956479d76c12b559316cfd30755eef5e09902