From 7a1e9b671613bb26f1dee80f42745f4c88651fb5 Mon Sep 17 00:00:00 2001 From: Steam OS User Date: Fri, 15 Apr 2022 10:29:21 +0900 Subject: [PATCH] Added CITRA --- .gitmodules | 3 ++ com.xargon.retrodeck.yml | 63 ++++++++++++++++++++++++++++++++++++++++ rd-submodules/citra | 1 + 3 files changed, 67 insertions(+) create mode 160000 rd-submodules/citra diff --git a/.gitmodules b/.gitmodules index bddc1ab2..c1d4e888 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "rd-submodules/ryujinx"] path = rd-submodules/ryujinx url = https://github.com/flathub/org.ryujinx.Ryujinx.git +[submodule "rd-submodules/citra"] + path = rd-submodules/citra + url = https://github.com/flathub/org.citra_emu.citra.git diff --git a/com.xargon.retrodeck.yml b/com.xargon.retrodeck.yml index de6ca781..e9cada33 100644 --- a/com.xargon.retrodeck.yml +++ b/com.xargon.retrodeck.yml @@ -884,6 +884,69 @@ modules: # Ryujinx - END + # CITRA - START + # https://github.com/flathub/org.citra_emu.citra + + - name: citra + buildsystem: cmake-ninja + builddir: true + config-opts: + - '-DCMAKE_BUILD_TYPE=Release' + - '-DENABLE_QT_TRANSLATION=ON' + - '-DCITRA_ENABLE_COMPATIBILITY_REPORTING=ON' + - '-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON' + - '-DENABLE_FFMPEG_VIDEO_DUMPER=ON' + - '-DENABLE_FDK=ON' + build-options: + env: + CI: '1' + GITHUB_ACTIONS: '1' + GITHUB_REPOSITORY: citra-emu/citra-nightly + GIT_TAG_NAME: nightly-1759 + cleanup: + - /share/man + - /share/pixmaps + post-install: + - >- + install -Dm644 ../org.citra_emu.citra.metainfo.xml + /app/share/appdata/org.citra_emu.citra.metainfo.xml + - desktop-file-install --dir=/app/share/applications ../dist/citra.desktop + - echo 'StartupWMClass=citra-qt' >> /app/share/applications/citra.desktop + - >- + install -Dm644 ../dist/citra.svg + /app/share/icons/hicolor/scalable/apps/citra.svg + - >- + install -Dm644 ../dist/icon.png + /app/share/icons/hicolor/512x512/apps/citra.png + - >- + mv /app/share/mime/packages/citra.xml + /app/share/mime/packages/org.citra_emu.citra.xml + - >- + sed 's/citra/org.citra_emu.citra/g' -i + /app/share/mime/packages/org.citra_emu.citra.xml + sources: + - type: git + url: 'https://github.com/citra-emu/citra-nightly.git' + tag: nightly-1759 + commit: 3df43f9505505fbe2abb543c795f791615541cd4 + disable-shallow-clone: true + x-checker-data: + type: git + tag-pattern: ^(nightly-\d+)$ + is-main-source: true + - type: file + path: org.citra_emu.citra.metainfo.xml + - type: file + path: compatibility_list.json + dest-filename: compatibility_list.json + - type: shell + commands: + - >- + cp -v compatibility_list.json + dist/compatibility_list/compatibility_list.json + + # CITRA - END + # vita3k # arduboy diff --git a/rd-submodules/citra b/rd-submodules/citra new file mode 160000 index 00000000..9ae0295f --- /dev/null +++ b/rd-submodules/citra @@ -0,0 +1 @@ +Subproject commit 9ae0295fe78ef72e121b358b2b87605d4c55e4e8