From e2f6af0b8d3e7da2fa4736b50703f8a40b30796d Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 7 Apr 2022 16:56:36 +0900 Subject: [PATCH] Initial PCSX2 integration --- .gitmodules | 3 + com.xargon.retrodeck.yml | 137 ++++++++++++++++++++++++++++++++++++++- rd-submodules/pcsx2 | 1 + 3 files changed, 140 insertions(+), 1 deletion(-) create mode 160000 rd-submodules/pcsx2 diff --git a/.gitmodules b/.gitmodules index ceb5ef53..c4ddce75 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "rd-submodules/yuzu"] path = rd-submodules/yuzu url = https://github.com/flathub/org.yuzu_emu.yuzu +[submodule "rd-submodules/pcsx2"] + path = rd-submodules/pcsx2 + url = https://github.com/flathub/net.pcsx2.PCSX2.git diff --git a/com.xargon.retrodeck.yml b/com.xargon.retrodeck.yml index 45a4604e..7a1e6aef 100644 --- a/com.xargon.retrodeck.yml +++ b/com.xargon.retrodeck.yml @@ -495,14 +495,149 @@ modules: # Yuzu - END + # pcsx2 - https://github.com/flathub/net.pcsx2.PCSX2 + + - name: wxWidgets + buildsystem: cmake-ninja + config-opts: + - '-DCMAKE_BUILD_TYPE=Release' + cleanup: + - /bin + - /include + - /lib/wx/include + sources: + - type: git + url: https://github.com/wxWidgets/wxWidgets.git + tag: v3.1.5 + commit: 9c0a8be1dc32063d91ed1901fd5fcd54f4f955a1 + x-checker-data: + type: git + tag-pattern: ^v([\d.]+)$ + modules: + - shared-modules/glu/glu-9.json + - name: libaio + no-autogen: true + make-install-args: + - prefix=${FLATPAK_DEST} + sources: + - type: git + url: https://pagure.io/libaio.git + tag: libaio-0.3.112 + commit: d025927efa75a0d1b46ca3a5ef331caa2f46ee0e + x-checker-data: + type: git + tag-pattern: ^libaio-([\d.]+)$ + cleanup: + - /include + - /lib/*.a + - name: portaudio + buildsystem: cmake-ninja + config-opts: + - '-DCMAKE_BUILD_TYPE=Release' + cleanup: + - /include + - /share/doc + - /lib/cmake + - /lib/pkgconfig + - /lib/*.a + sources: + - type: git + url: https://github.com/PortAudio/portaudio.git + tag: v19.7.0 + commit: 147dd722548358763a8b649b3e4b41dfffbcfbb6 + x-checker-data: + type: git + tag-pattern: ^v([\d.]+)$ + - name: soundtouch + buildsystem: cmake-ninja + sources: + - type: git + url: https://codeberg.org/soundtouch/soundtouch.git + tag: 2.3.1 + commit: e1f315f5358d9db5cee35a7a2886425489fcefe8 + x-checker-data: + type: git + tag-pattern: ^([\d.]+)$ + cleanup: + - /bin + - /include + - /lib/cmake + - /lib/pkgconfig + - /share/doc + - /lib/*.a + - name: png++ + disabled: true + buildsystem: simple + build-commands: + - make + - make prefix=/app install + sources: + - type: archive + url: >- + https://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz + sha256: 998af216ab16ebb88543fbaa2dbb9175855e944775b66f2996fc945c8444eee1 + - name: libpcap + buildsystem: cmake-ninja + sources: + - type: git + url: https://github.com/the-tcpdump-group/libpcap.git + tag: libpcap-1.10.1 + commit: c7642e2cc0c5bd65754685b160d25dc23c76c6bd + x-checker-data: + type: git + tag-pattern: ^libpcap-([\d.]+)$ + cleanup: + - /bin + - /include + - /share/man + - /lib/pkgconfig + - /lib/*.a + - name: pcsx2 + buildsystem: cmake-ninja + builddir: true + config-opts: + - '-DCMAKE_BUILD_TYPE=Release' + - '-DPACKAGE_MODE=TRUE' + - '-DXDG_STD=TRUE' + - '-DDISABLE_BUILD_DATE=TRUE' + - '-DDISABLE_PCSX2_WRAPPER=TRUE' + - '-DDISABLE_ADVANCE_SIMD=TRUE' + - '-DSDL2_API=TRUE' + cleanup: + - /share/pixmaps + - /share/man + - /share/doc + post-install: + - >- + desktop-file-edit --set-key=Exec --set-value=pcsx2 + /app/share/applications/PCSX2.desktop + - >- + install -Dm644 ../AppIcon128.png + /app/share/icons/hicolor/128x128/apps/PCSX2.png + - >- + install -Dm644 ../net.pcsx2.PCSX2.metainfo.xml + /app/share/metainfo/net.pcsx2.PCSX2.metainfo.xml + sources: + - type: git + url: https://github.com/PCSX2/pcsx2.git + tag: v1.7.2554 + commit: 0d1675fbaa0d40874df98eed6270efc55620271b + - type: file + path: rd-submodules/pcsx2/net.pcsx2.PCSX2.metainfo.xml + - type: file + path: rd-submodules/pcsx2/AppIcon128.png + + # pcsx2 - END + # Ryujinx # Xemu # Rpcs3 - # pcsx2 # vita3k # dolphin # arduboy + # pocket station + # cemu - win only: wine # External manifests end diff --git a/rd-submodules/pcsx2 b/rd-submodules/pcsx2 new file mode 160000 index 00000000..68a40d61 --- /dev/null +++ b/rd-submodules/pcsx2 @@ -0,0 +1 @@ +Subproject commit 68a40d61b37b6f9c9033dc93d426570b86938e3f