Initial PCSX2 integration

This commit is contained in:
XargonWan 2022-04-07 16:56:36 +09:00
parent 534d92b825
commit e2f6af0b8d
3 changed files with 140 additions and 1 deletions

3
.gitmodules vendored
View file

@ -7,3 +7,6 @@
[submodule "rd-submodules/yuzu"] [submodule "rd-submodules/yuzu"]
path = rd-submodules/yuzu path = rd-submodules/yuzu
url = https://github.com/flathub/org.yuzu_emu.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

View file

@ -495,14 +495,149 @@ modules:
# Yuzu - END # 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 # Ryujinx
# Xemu # Xemu
# Rpcs3 # Rpcs3
# pcsx2
# vita3k # vita3k
# dolphin # dolphin
# arduboy # arduboy
# pocket station
# cemu - win only: wine
# External manifests end # External manifests end

1
rd-submodules/pcsx2 Submodule

@ -0,0 +1 @@
Subproject commit 68a40d61b37b6f9c9033dc93d426570b86938e3f