PCSX2: removed desktop file

This commit is contained in:
Steam Deck User 2022-06-17 16:30:30 +02:00
parent 80a5682bda
commit 0a43fd33e2

View file

@ -66,9 +66,8 @@ modules:
# The version number is stored in /var/conf/retrodeck/version # The version number is stored in /var/conf/retrodeck/version
# #
# UPDATE STEPS FOR MAIN: # UPDATE STEPS FOR MAIN:
# [ ] Update the VERSION variable # [X] Update the VERSION variable
# [ ] Update the appdata.xml with the version number and notes # [X] Update the appdata.xml with the version number and notes
# [ ] change branch into main in retrodeck module (last one)
# #
- name: version-initialization - name: version-initialization
buildsystem: simple buildsystem: simple
@ -76,7 +75,7 @@ modules:
- | - |
git checkout ${GITHUB_REF_NAME} git checkout ${GITHUB_REF_NAME}
mkdir -p ${FLATPAK_DEST}/retrodeck/ mkdir -p ${FLATPAK_DEST}/retrodeck/
VERSION="cooker" VERSION="0.4.1b"
if [[ $VERSION == "cooker" ]]; if [[ $VERSION == "cooker" ]];
then then
VERSION=$(git describe --tags | tr - .) VERSION=$(git describe --tags | tr - .)
@ -147,8 +146,7 @@ modules:
url: https://ftp.osuosl.org/pub/blfs/conglomeration/libgudev/libgudev-237.tar.xz url: https://ftp.osuosl.org/pub/blfs/conglomeration/libgudev/libgudev-237.tar.xz
sha256: 0d06b21170d20c93e4f0534dbb9b0a8b4f1119ffb00b4031aaeb5b9148b686aa sha256: 0d06b21170d20c93e4f0534dbb9b0a8b4f1119ffb00b4031aaeb5b9148b686aa
# ES-DE - START # ES-DE
# https://gitlab.com/es-de/emulationstation-de
- name: ffmpeg - name: ffmpeg
config-opts: config-opts:
@ -221,8 +219,7 @@ modules:
# External manifests start # External manifests start
# RetroArch - START # RetroArch - https://github.com/flathub/org.libretro.RetroArch
# https://github.com/flathub/org.libretro.RetroArch
- name: retroarch - name: retroarch
config-opts: config-opts:
@ -232,7 +229,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/libretro/RetroArch.git url: https://github.com/libretro/RetroArch.git
branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38 branch: de4e56ecf28a09057734f8624af6d62f3088734f
- type: file - type: file
path: rd-submodules/retroarch/retroarch.cfg path: rd-submodules/retroarch/retroarch.cfg
post-install: post-install:
@ -246,18 +243,15 @@ modules:
sed s:@prefix@:${FLATPAK_DEST}:g retroarch.cfg > sed s:@prefix@:${FLATPAK_DEST}:g retroarch.cfg >
${FLATPAK_DEST}/etc/retroarch.cfg ${FLATPAK_DEST}/etc/retroarch.cfg
modules: modules:
- rd-submodules/retroarch/libpng/libpng-1.6.35.json - rd-submodules/retroarch/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013.json
#nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013.json
- shared-modules/SDL/SDL-1.2.15.json - shared-modules/SDL/SDL-1.2.15.json
- shared-modules/SDL/SDL_image-1.2.12.json - shared-modules/SDL/SDL_image-1.2.12.json
- shared-modules/SDL/SDL_mixer-1.2.12.json - shared-modules/SDL/SDL_mixer-1.2.12.json
- shared-modules/SDL/SDL_net-1.2.8.json - shared-modules/SDL/SDL_net-1.2.8.json
- shared-modules/SDL/SDL_ttf-2.0.11.json
- shared-modules/libusb/libusb.json - shared-modules/libusb/libusb.json
# certificate glu issue # certificate glu issue
#- shared-modules/gudev/gudev.json #- shared-modules/gudev/gudev.json
- rd-submodules/retroarch/libbz2/libbz2-1.0.8.json - rd-submodules/retroarch/libbz2/libbz2-1.0.8.json
- rd-submodules/retroarch/xrandr/xrandr-1.5.1.json
- rd-submodules/retroarch/libaio/libaio-0.3.112.json - rd-submodules/retroarch/libaio/libaio-0.3.112.json
# certificate issue, check libglu module for more info # certificate issue, check libglu module for more info
#- shared-modules/glu/glu-9.json #- shared-modules/glu/glu-9.json
@ -269,7 +263,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/libretro/RetroArch.git url: https://github.com/libretro/RetroArch.git
branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38 branch: de4e56ecf28a09057734f8624af6d62f3088734f
- name: retroarch-filers-audio - name: retroarch-filers-audio
subdir: libretro-common/audio/dsp_filters subdir: libretro-common/audio/dsp_filters
make-install-args: make-install-args:
@ -277,7 +271,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/libretro/RetroArch.git url: https://github.com/libretro/RetroArch.git
branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38 branch: de4e56ecf28a09057734f8624af6d62f3088734f
- name: retroarch-assets - name: retroarch-assets
make-install-args: make-install-args:
- PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
@ -291,49 +285,49 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/libretro/libretro-database.git url: https://github.com/libretro/libretro-database.git
commit: f3b10ec262fcbd78da3473f46d244270d12a327e commit: 1754130f72d8c00a512797bf85442576258279e8
- name: libretro-core-info - name: libretro-core-info
make-install-args: make-install-args:
- PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
sources: sources:
- type: git - type: git
url: https://github.com/libretro/libretro-core-info.git url: https://github.com/libretro/libretro-core-info.git
commit: 06dac6318c067a6a40e2ea1e1260e74681ada844 commit: 1b2472eca14a5a187ff298ace1b614fd3d47bc7c
- name: retroarch-joypad-autoconfig - name: retroarch-joypad-autoconfig
make-install-args: make-install-args:
- PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
sources: sources:
- type: git - type: git
url: https://github.com/libretro/retroarch-joypad-autoconfig.git url: https://github.com/libretro/retroarch-joypad-autoconfig.git
commit: 760b057f1865a827762a54a8a32afda2cdd9e170 commit: 0eb3ad2666e6bdc2de2cde4c5d4af29b8c7f2c67
# - name: common-shaders - name: common-shaders
# make-install-args: make-install-args:
# - PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
# sources: sources:
# - type: git - type: git
# url: https://github.com/libretro/common-shaders.git url: https://github.com/libretro/common-shaders.git
# commit: 55e401834b732e62c34411321c4ffd82524345d4 commit: 55e401834b732e62c34411321c4ffd82524345d4
# - name: slang-shaders - name: slang-shaders
# make-install-args: make-install-args:
# - PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
# sources: sources:
# - type: git - type: git
# url: https://github.com/libretro/slang-shaders.git url: https://github.com/libretro/slang-shaders.git
# commit: 148c57d9747f5db124135501ac280b5ca129a83f commit: 77558d5f2ac807b27201fb888cbf2caee8e289fa
# - name: glsl-shaders - name: glsl-shaders
# make-install-args: make-install-args:
# - PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
# sources: sources:
# - type: git - type: git
# url: https://github.com/libretro/glsl-shaders.git url: https://github.com/libretro/glsl-shaders.git
# commit: 8f6b2649489760caea8f36ec6099998854059569 commit: 20801b38aa2c89a2beb9f57ffbbbcea7256e2523
# - name: common-overlays - name: common-overlays
# make-install-args: make-install-args:
# - PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
# sources: sources:
# - type: git - type: git
# url: https://github.com/libretro/common-overlays.git url: https://github.com/libretro/common-overlays.git
# commit: db9744f4e58a740f0f10b04b62af347cd6f01928 commit: db9744f4e58a740f0f10b04b62af347cd6f01928
# RetroArch - END # RetroArch - END
@ -345,16 +339,14 @@ modules:
- mv ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/ - mv ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/
sources: sources:
- type: archive - type: archive
url: https://buildbot.libretro.com/stable/1.10.3/linux/x86_64/RetroArch_cores.7z url: https://buildbot.libretro.com/stable/1.10.2/linux/x86_64/RetroArch_cores.7z
sha256: 33abf39839687f8faba202ed5dcf3a54c06266a49fad35f0521fa445523d009f sha256: 0c59f99534a1ae3a2d34b1747c40398325e53db69acfab35b99c8fa8d76430e5
# Yuzu - START # Yuzu - https://github.com/flathub/org.yuzu_emu.yuzu
# https://github.com/flathub/org.yuzu_emu.yuzu
- name: libzip - name: libzip
buildsystem: cmake-ninja buildsystem: cmake-ninja
config-opts: config-opts:
- '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON'
- '-DCMAKE_BUILD_TYPE=RelWithDebInfo' - '-DCMAKE_BUILD_TYPE=RelWithDebInfo'
sources: sources:
- type: archive - type: archive
@ -382,7 +374,6 @@ modules:
- name: fmt - name: fmt
buildsystem: cmake-ninja buildsystem: cmake-ninja
config-opts: config-opts:
- '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON'
- '-DFMT_TEST=OFF' - '-DFMT_TEST=OFF'
sources: sources:
- type: archive - type: archive
@ -399,8 +390,8 @@ modules:
- '-DCMAKE_BUILD_TYPE=Release' - '-DCMAKE_BUILD_TYPE=Release'
sources: sources:
- type: archive - type: archive
url: https://github.com/KhronosGroup/glslang/archive/11.9.0.tar.gz url: https://github.com/KhronosGroup/glslang/archive/11.8.0.tar.gz
sha256: d5744adba19eef9ad3d73f524226b39fec559d94cb582cd442e3c5de930004b2 sha256: 9e5fbe5b844d203da5e61bcd84eda76326e0ff5dc696cb862147bbe01d2febb0
x-checker-data: x-checker-data:
type: anitya type: anitya
stable-only: true stable-only: true
@ -410,13 +401,12 @@ modules:
buildsystem: cmake-ninja buildsystem: cmake-ninja
config-opts: config-opts:
- '-DCMAKE_BUILD_TYPE=Release' - '-DCMAKE_BUILD_TYPE=Release'
- '-DCATCH_INSTALL_EXTRAS=ON'
- '-DCATCH_BUILD_TESTING=OFF' - '-DCATCH_BUILD_TESTING=OFF'
builddir: true builddir: true
sources: sources:
- type: archive - type: archive
url: https://github.com/catchorg/Catch2/archive/v2.13.9.tar.gz url: https://github.com/catchorg/Catch2/archive/v2.13.8.tar.gz
sha256: 06dbc7620e3b96c2b69d57bf337028bf245a211b3cddb843835bfe258f427a52 sha256: b9b592bd743c09f13ee4bf35fc30eeee2748963184f6bea836b146e6cc2a585a
x-checker-data: x-checker-data:
type: anitya type: anitya
stable-only: true stable-only: true
@ -426,7 +416,6 @@ modules:
buildsystem: cmake-ninja buildsystem: cmake-ninja
config-opts: config-opts:
- '-DCMAKE_BUILD_TYPE=Release' - '-DCMAKE_BUILD_TYPE=Release'
- '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON'
- '-DJSON_BuildTests=OFF' - '-DJSON_BuildTests=OFF'
sources: sources:
- type: archive - type: archive
@ -434,7 +423,7 @@ modules:
sha256: 5daca6ca216495edf89d167f808d1d03c4a4d929cef7da5e10f135ae1540c7e4 sha256: 5daca6ca216495edf89d167f808d1d03c4a4d929cef7da5e10f135ae1540c7e4
x-checker-data: x-checker-data:
type: anitya type: anitya
project-id: 11152 project-id: 141453
url-template: https://github.com/nlohmann/json/archive/v$version.tar.gz url-template: https://github.com/nlohmann/json/archive/v$version.tar.gz
- name: boost - name: boost
buildsystem: simple buildsystem: simple
@ -444,13 +433,13 @@ modules:
sources: sources:
- type: archive - type: archive
url: >- url: >-
https://boostorg.jfrog.io/artifactory/main/release/1.79.0/source/boost_1_79_0.tar.bz2 https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.bz2
sha256: 475d589d51a7f8b3ba2ba4eda022b170e562ca3b760ee922c146b6c65856ef39 sha256: 8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc
x-checker-data: x-checker-data:
type: anitya type: anitya
project-id: 6845 project-id: 6845
url-template: >- url-template: >-
https://boostorg.jfrog.io/artifactory/main/release/$version/source/boost_1_79_0.tar.bz2 https://boostorg.jfrog.io/artifactory/main/release/$version/source/boost_1_78_0.tar.bz2
- name: nv-codec-headers - name: nv-codec-headers
make-install-args: make-install-args:
- PREFIX=/app - PREFIX=/app
@ -476,8 +465,8 @@ modules:
- '-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON' - '-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON'
- '-DYUZU_USE_QT_WEB_ENGINE=ON' - '-DYUZU_USE_QT_WEB_ENGINE=ON'
- '-DYUZU_USE_BUNDLED_FFMPEG=ON' - '-DYUZU_USE_BUNDLED_FFMPEG=ON'
- '-DDISPLAY_VERSION=1039' - '-DDISPLAY_VERSION=969'
- '-DBUILD_TAG=mainline-1039' - '-DBUILD_TAG=mainline-969'
- '-DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline' - '-DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline'
build-options: build-options:
env: env:
@ -489,14 +478,24 @@ modules:
- /share/pixmaps - /share/pixmaps
post-install: post-install:
- install -Dm755 ../yuzu-launcher.sh /app/bin/yuzu-launcher - install -Dm755 ../yuzu-launcher.sh /app/bin/yuzu-launcher
- 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 install -Dm644 ../dist/yuzu.svg
/app/share/icons/hicolor/scalable/apps/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: sources:
- type: git - type: git
url: https://github.com/yuzu-emu/yuzu-mainline.git url: https://github.com/yuzu-emu/yuzu-mainline.git
tag: mainline-0-1039 tag: mainline-0-969
commit: 983afc5328725109a1cf13c61103b8a553c005d0 commit: d179e12137cd8ff88b0eade7d13de801661f869b
disable-shallow-clone: true disable-shallow-clone: true
x-checker-data: x-checker-data:
type: git type: git
@ -508,8 +507,7 @@ modules:
# Yuzu - END # Yuzu - END
# PCSX2 - START # pcsx2 - https://github.com/flathub/net.pcsx2.PCSX2
# https://github.com/flathub/net.pcsx2.PCSX2
- name: wxWidgets - name: wxWidgets
buildsystem: cmake-ninja buildsystem: cmake-ninja
@ -522,8 +520,8 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/wxWidgets/wxWidgets.git url: https://github.com/wxWidgets/wxWidgets.git
tag: v3.1.6 tag: v3.1.5
commit: 19907924842a9152b8ee5f03f117aed65193b964 commit: 9c0a8be1dc32063d91ed1901fd5fcd54f4f955a1
x-checker-data: x-checker-data:
type: git type: git
tag-pattern: ^v([\d.]+)$ tag-pattern: ^v([\d.]+)$
@ -535,8 +533,8 @@ modules:
sources: sources:
- type: git - type: git
url: https://pagure.io/libaio.git url: https://pagure.io/libaio.git
tag: libaio-0.3.113 tag: libaio-0.3.112
commit: 1b18bfafc6a2f7b9fa2c6be77a95afed8b7be448 commit: d025927efa75a0d1b46ca3a5ef331caa2f46ee0e
x-checker-data: x-checker-data:
type: git type: git
tag-pattern: ^libaio-([\d.]+)$ tag-pattern: ^libaio-([\d.]+)$
@ -620,13 +618,19 @@ modules:
- /share/pixmaps - /share/pixmaps
- /share/man - /share/man
- /share/doc - /share/doc
post-install:
- >-
install -Dm644 ../AppIcon128.png
/app/share/icons/hicolor/128x128/apps/PCSX2.png
sources: sources:
- type: git - type: git
url: https://github.com/PCSX2/pcsx2.git url: https://github.com/PCSX2/pcsx2.git
tag: v1.7.2889 tag: v1.7.2554
commit: a6649b2d6b558806fbe7cbaf6296014e3c5c192e commit: 0d1675fbaa0d40874df98eed6270efc55620271b
- type: file
path: rd-submodules/pcsx2/AppIcon128.png
# PCSX2 - END # pcsx2 - END
# Dolphin - START # Dolphin - START
# https://github.com/flathub/org.DolphinEmu.dolphin-emu # https://github.com/flathub/org.DolphinEmu.dolphin-emu
@ -694,11 +698,14 @@ modules:
- /share/man - /share/man
post-install: post-install:
- install -D dolphin-emu-wrapper /app/bin/dolphin-emu-wrapper - install -D dolphin-emu-wrapper /app/bin/dolphin-emu-wrapper
- install -Dm644 appdata.xml /app/share/appdata/dolphin-emu.appdata.xml
- sed -i -e 's/"2048"/"512"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg - sed -i -e 's/"2048"/"512"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
/app/share/applications/dolphin-emu.desktop
sources: sources:
- type: git - type: git
url: https://github.com/dolphin-emu/dolphin.git url: https://github.com/dolphin-emu/dolphin.git
commit: 8335ec70e5fe253eb21509408ca6b5736ed57dfc commit: 8ecfa537a242de74d2e372e30d9d79b14584b2fb
# detects whether dolphin is running in a flatpak sandbox # detects whether dolphin is running in a flatpak sandbox
# and makes it use xdg directories if it is. # and makes it use xdg directories if it is.
# prevents dolphin from attempting to write conf files # prevents dolphin from attempting to write conf files
@ -709,25 +716,19 @@ modules:
# version strings must match exactly for online multiplayer # version strings must match exactly for online multiplayer
- type: patch - type: patch
path: rd-submodules/dolphin/nodirtyversion.patch path: rd-submodules/dolphin/nodirtyversion.patch
- type: file
path: rd-submodules/dolphin/appdata.xml
- type: script - type: script
commands: commands:
- for i in {0..9}; do - for i in {0..9}; do
- test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i; - test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
- done - done
# use gtk3 filechooser on steamdeck - dolphin-emu "$@"
- bv=`cat /sys/devices/virtual/dmi/id/board_vendor`
- bv=$bv`cat /sys/devices/virtual/dmi/id/board_name`
- if [[ $bv == "ValveJupiter" ]]; then
- QT_QPA_PLATFORMTHEME=gtk3 dolphin-emu "$@"
- else
- dolphin-emu "$@"
- fi
dest-filename: dolphin-emu-wrapper dest-filename: dolphin-emu-wrapper
# Dolphin - END # Dolphin - END
# XEMU - START # XEMU - START
# https://github.com/flathub/app.xemu.xemu
# certificate issue, check libglu module for more info # certificate issue, check libglu module for more info
# - name: libglu # - name: libglu
@ -747,15 +748,6 @@ modules:
# stable-only: true # stable-only: true
# url-template: http://mesa.freedesktop.org/archive/glu/glu-$version.tar.xz # url-template: http://mesa.freedesktop.org/archive/glu/glu-$version.tar.xz
- name: PyYAML
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/yaml/pyyaml/archive/refs/tags/6.0.tar.gz
sha256: f33eaba25d8e0c1a959bbf00655198c287dfc5868f5b7b01e401eaa1796cc778
- name: xemu - name: xemu
buildsystem: autotools buildsystem: autotools
builddir: true builddir: true
@ -774,18 +766,21 @@ modules:
install -Dm644 ../ui/icons/xemu_${px}x${px}.png /app/share/icons/hicolor/${px}x${px}/apps/app.xemu.xemu.png install -Dm644 ../ui/icons/xemu_${px}x${px}.png /app/share/icons/hicolor/${px}x${px}/apps/app.xemu.xemu.png
done done
- install -Dm644 ../ui/icons/xemu.svg /app/share/icons/hicolor/scalable/apps/app.xemu.xemu.svg - install -Dm644 ../ui/icons/xemu.svg /app/share/icons/hicolor/scalable/apps/app.xemu.xemu.svg
- desktop-file-install ../ui/xemu.desktop --dir /app/share/applications
- sed -i 's/^Icon=xemu/Icon=app.xemu.xemu/' /app/share/applications/xemu.desktop
- mv qemu-system-i386 /app/bin/xemu - mv qemu-system-i386 /app/bin/xemu
- mkdir -p /app/share/licenses/xemu - mkdir -p /app/share/licenses/xemu
- cd .. && python3 scripts/gen-license.py > /app/share/licenses/xemu/LICENSE.txt - cd .. && python3 scripts/gen-license.py > /app/share/licenses/xemu/LICENSE.txt
sources: sources:
- type: git - type: git
url: https://github.com/mborgerson/xemu.git url: https://github.com/mborgerson/xemu.git
tag: v0.7.29 tag: gh-release/0.6.2-90-g6f507c80af
commit: 69dcbe9b3081ee51d1468b1b7777b8b930bfba6c commit: 6f507c80af546e0f5d316622d20f78820423ce6e
x-checker-data: x-checker-data:
type: json type: json
url: https://api.github.com/repos/mborgerson/xemu/releases/latest url: https://api.github.com/repos/mborgerson/xemu/releases/latest
tag-query: .tag_name tag-query: .tag_name
version-query: $tag | sub("^gh-release/"; "")
timestamp-query: .published_at timestamp-query: .published_at
is-main-source: true is-main-source: true
@ -843,8 +838,8 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/citra-emu/citra-nightly.git url: https://github.com/citra-emu/citra-nightly.git
tag: nightly-1767 tag: nightly-1762
commit: 6f6a9357c26eccf09bf0c993f159d69bbe472f49 commit: 1382035d4de5ada310c7f4fd00f1836b16ab74fb
disable-shallow-clone: true disable-shallow-clone: true
x-checker-data: x-checker-data:
type: git type: git
@ -860,8 +855,6 @@ modules:
#- shared-modules/glu/glu-9.json #- shared-modules/glu/glu-9.json
- shared-modules/glew/glew.json - shared-modules/glew/glew.json
# llvm13 is already included in the flathub enviornment, letś see if it's working correctly as this module fails
- name: rpcs3-llvm - name: rpcs3-llvm
buildsystem: cmake-ninja buildsystem: cmake-ninja
builddir: true builddir: true
@ -940,9 +933,11 @@ modules:
post-install: post-install:
- | - |
set -eux; set -eux;
sed -i 's|<id>RPCS3</id>|<id>net.rpcs3.RPCS3</id>|' ${FLATPAK_DEST}/share/metainfo/rpcs3.metainfo.xml;
COMM_TAG="$(awk -F'[\{,]' '/version{.*}/{printf "%d.%d.%d", $2, $3, $4}' ../rpcs3/rpcs3_version.cpp)"; COMM_TAG="$(awk -F'[\{,]' '/version{.*}/{printf "%d.%d.%d", $2, $3, $4}' ../rpcs3/rpcs3_version.cpp)";
COMM_COUNT="$(git rev-list --count HEAD)"; COMM_COUNT="$(git rev-list --count HEAD)";
COMM_HASH="$(git rev-parse --short=8 HEAD)"; COMM_HASH="$(git rev-parse --short=8 HEAD)";
sed -i 's|</component>|<content_rating type="oars-1.1"/><releases><release date="'$(git show -s --format=%cs)'" version="'"${COMM_TAG}"'-'"${COMM_COUNT}"'-'"${COMM_HASH}"'"/></releases></component>|' ${FLATPAK_DEST}/share/metainfo/rpcs3.metainfo.xml;
sources: sources:
- type: git - type: git
url: https://github.com/RPCS3/rpcs3.git url: https://github.com/RPCS3/rpcs3.git
@ -996,7 +991,7 @@ modules:
- name: ppsspp - name: ppsspp
buildsystem: cmake-ninja buildsystem: cmake-ninja
config-opts: config-opts:
- '-DUSE_SYSTEM_FFMPEG=OFF' - '-DUSE_SYSTEM_FFMPEG=OFF' # turn this on?
- '-DUSE_SYSTEM_LIBZIP=ON' - '-DUSE_SYSTEM_LIBZIP=ON'
- '-DUSE_SYSTEM_ZSTD=ON' - '-DUSE_SYSTEM_ZSTD=ON'
@ -1029,21 +1024,23 @@ modules:
# Prep the ES-DE and RetroArch config files - I will have to SED/XMLSTARLET them soon # Prep the ES-DE and RetroArch config files - I will have to SED/XMLSTARLET them soon
- rm -rf /app/share/emulationstation/resources/systems/unix/es_find_rules.xml - rm -rf /app/share/emulationstation/resources/systems/unix/es_find_rules.xml
- cp es-configs/es_find_rules.xml /app/share/emulationstation/resources/systems/unix/ - cp es_find_rules.xml /app/share/emulationstation/resources/systems/unix/
- rm -rf /app/share/emulationstation/resources/systems/unix/es_systems.xml - rm -rf /app/share/emulationstation/resources/systems/unix/es_systems.xml
- cp es-configs/es_systems.xml /app/share/emulationstation/resources/systems/unix/ - cp es_systems.xml /app/share/emulationstation/resources/systems/unix/
# These must be put in home folder, managed by retrodeck.sh # These must be put in home folder, managed by retrodeck.sh
- cp es-configs/es_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml - cp es_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml
# Logo, res # Logo, res
- rm -f /app/share/emulationstation/resources/graphics/splash.svg - rm -f /app/share/emulationstation/resources/graphics/splash.svg
- cp res/splash.svg /app/share/emulationstation/resources/graphics/splash.svg - cp splash.svg /app/share/emulationstation/resources/graphics/splash.svg
- cp res/icon.svg /app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg - cp icon.svg /app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg
# Tools # Tools
- mkdir -p ${FLATPAK_DEST}/retrodeck/tools/ - mkdir -p ${FLATPAK_DEST}/retrodeck/tools/
- cp tools/* ${FLATPAK_DEST}/retrodeck/tools/ - cp start-*.sh ${FLATPAK_DEST}/retrodeck/tools/
- mv -f es-configs/tools-gamelist.xml ${FLATPAK_DEST}/retrodeck/ - cp move-roms.sh ${FLATPAK_DEST}/retrodeck/tools/
- cp start-yuzu.sh ${FLATPAK_DEST}/retrodeck/tools/
- cp tools-gamelist.xml ${FLATPAK_DEST}/retrodeck/
- cp retrodeck.sh /app/bin/retrodeck.sh - cp retrodeck.sh /app/bin/retrodeck.sh
- chmod +x /app/bin/retrodeck.sh - chmod +x /app/bin/retrodeck.sh
@ -1051,51 +1048,55 @@ modules:
# Desktop entry # Desktop entry
- cp net.retrodeck.retrodeck.desktop /app/share/applications/net.retrodeck.retrodeck.desktop - cp net.retrodeck.retrodeck.desktop /app/share/applications/net.retrodeck.retrodeck.desktop
# TODO: group the configs per-emu and optimize the following cps, like already done with Dolphin. Please not that some files may be renamed, check retrodeck.sh to know how (and fix it after the edit) # Steam Grids - When BoilR comes it will be deprecated
- mkdir -p ${FLATPAK_DEST}/retrodeck/steam/
- cp banner_main.png ${FLATPAK_DEST}/retrodeck/steam/
- cp poster_main.png ${FLATPAK_DEST}/retrodeck/steam/
- cp poster_main_nodecklogo.png ${FLATPAK_DEST}/retrodeck/steam/
# Configuring emulators: # Configuring emulators:
- mkdir -p ${FLATPAK_DEST}/retrodeck/emu-configs/ - mkdir -p ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin
# RetroArch # RetroArch
- cp emu-configs/retroarch* ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp retroarch* ${FLATPAK_DEST}/retrodeck/emu-configs/
# Dolphin # Dolphin
- cp emu-configs/Dolphin/* ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp Dolphin.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
- cp Hotkeys.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
- cp GCPadNew.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
- cp GFX.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
- cp Qt.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
# Yuzu # Yuzu
- cp emu-configs/yuzu-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp yuzu-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
# Pcsx2 # Pcsx2
- cp emu-configs/PCSX2_ui.ini ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp PCSX2_ui.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/GS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp GS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/PCSX2_vm.ini ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp PCSX2_vm.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
# MelonDS # MelonDS
- cp emu-configs/melonDS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp melonDS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
# CITRA # CITRA
- cp emu-configs/citra-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp citra-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
# RPCS3 # RPCS3
- cp emu-configs/config.yml ${FLATPAK_DEST}/retrodeck/emu-configs/ - cp config.yml ${FLATPAK_DEST}/retrodeck/emu-configs/
# Placing appdata # Placing appdata
- mkdir -p ${FLATPAK_DEST}/share/appdata - mkdir -p ${FLATPAK_DEST}/share/appdata
- cp net.retrodeck.retrodeck.appdata.xml ${FLATPAK_DEST}/share/appdata - cp net.retrodeck.retrodeck.appdata.xml ${FLATPAK_DEST}/share/appdata
sources: sources:
- type: git - type: dir
url: https://github.com/XargonWan/RetroDECK.git path: es-configs
branch: cooker - type: file
# - type: dir path: retrodeck.sh
# path: es-configs - type: dir
# - type: file path: emu-configs
# path: retrodeck.sh - type: dir
# - type: dir path: emu-configs/Dolphin
# path: emu-configs - type: dir
# - type: dir path: res
# path: emu-configs/Dolphin - type: dir
# - type: dir path: res/steam
# path: res - type: dir
# - type: dir path: tools
# path: res/steam - type: file
# - type: dir path: net.retrodeck.retrodeck.desktop
# path: tools - type: file
# - type: file path: net.retrodeck.retrodeck.appdata.xml
# path: net.retrodeck.retrodeck.desktop
# - type: file
# path: net.retrodeck.retrodeck.appdata.xml