Preparing for Flathub

This commit is contained in:
Steam OS User 2022-04-13 23:08:36 +09:00
parent 4445e55abe
commit 9db71931d4

View file

@ -8,6 +8,9 @@ base-version: 5.15-21.08
# /Needed for Yuzu # /Needed for Yuzu
command: retrodeck.sh command: retrodeck.sh
# WORKING ON RetroDECK branch:
# 9d8b5ad985c5b29980810fdf05e1a534d2070ce2
finish-args: finish-args:
- --socket=x11 - --socket=x11
- --socket=wayland - --socket=wayland
@ -203,6 +206,9 @@ modules:
make-args: make-args:
- GLOBAL_CONFIG_DIR=${FLATPAK_DEST}/etc - GLOBAL_CONFIG_DIR=${FLATPAK_DEST}/etc
sources: sources:
- type: git
url: https://github.com/XargonWan/RetroDECK.git
branch: 9d8b5ad985c5b29980810fdf05e1a534d2070ce2
- type: git - type: git
url: https://github.com/libretro/RetroArch.git url: https://github.com/libretro/RetroArch.git
branch: de4e56ecf28a09057734f8624af6d62f3088734f branch: de4e56ecf28a09057734f8624af6d62f3088734f
@ -478,6 +484,9 @@ modules:
sed 's/yuzu/org.yuzu_emu.yuzu/g' -i sed 's/yuzu/org.yuzu_emu.yuzu/g' -i
/app/share/mime/packages/org.yuzu_emu.yuzu.xml /app/share/mime/packages/org.yuzu_emu.yuzu.xml
sources: sources:
- type: git
url: https://github.com/XargonWan/RetroDECK.git
branch: 9d8b5ad985c5b29980810fdf05e1a534d2070ce2
- 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-969 tag: mainline-0-969
@ -618,6 +627,9 @@ modules:
install -Dm644 ../net.pcsx2.PCSX2.metainfo.xml install -Dm644 ../net.pcsx2.PCSX2.metainfo.xml
/app/share/metainfo/net.pcsx2.PCSX2.metainfo.xml /app/share/metainfo/net.pcsx2.PCSX2.metainfo.xml
sources: sources:
- type: git
url: https://github.com/XargonWan/RetroDECK.git
branch: 9d8b5ad985c5b29980810fdf05e1a534d2070ce2
- type: git - type: git
url: https://github.com/PCSX2/pcsx2.git url: https://github.com/PCSX2/pcsx2.git
tag: v1.7.2554 tag: v1.7.2554
@ -660,14 +672,19 @@ modules:
# Logo, res # Logo, res
- rm -f /app/share/emulationstation/resources/graphics/splash.svg - rm -f /app/share/emulationstation/resources/graphics/splash.svg
- cp splash.svg /app/share/emulationstation/resources/graphics/splash.svg #- cp splash.svg /app/share/emulationstation/resources/graphics/splash.svg
- cp icon.svg /app/share/icons/hicolor/scalable/apps/com.xargon.retrodeck.svg - cp res/splash.svg /app/share/emulationstation/resources/graphics/splash.svg
#- cp icon.svg /app/share/icons/hicolor/scalable/apps/com.xargon.retrodeck.svg
- cp res/icon.svg /app/share/icons/hicolor/scalable/apps/com.xargon.retrodeck.svg
# Tools # Tools
- mkdir -p ${FLATPAK_DEST}/retrodeck/tools/ - mkdir -p ${FLATPAK_DEST}/retrodeck/tools/
- cp start-retroarch.sh ${FLATPAK_DEST}/retrodeck/tools/ #- cp start-retroarch.sh ${FLATPAK_DEST}/retrodeck/tools/
- cp move-roms.sh ${FLATPAK_DEST}/retrodeck/tools/ #- cp move-roms.sh ${FLATPAK_DEST}/retrodeck/tools/
- cp tools/start-retroarch.sh ${FLATPAK_DEST}/retrodeck/tools/
- cp tools/move-roms.sh ${FLATPAK_DEST}/retrodeck/tools/
- cp tools-gamelist.xml ${FLATPAK_DEST}/retrodeck/ - 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
@ -677,21 +694,24 @@ modules:
#cleanup: ['*'] #cleanup: ['*']
sources: sources:
- type: file - type: git
path: es_find_rules.xml url: https://github.com/XargonWan/RetroDECK.git
- type: file branch: 9d8b5ad985c5b29980810fdf05e1a534d2070ce2
path: es_settings.xml #- type: file
- type: file # path: es_find_rules.xml
path: es_systems.xml #- type: file
- type: file # path: es_settings.xml
path: retrodeck.sh #- type: file
- type: file # path: es_systems.xml
path: retrodeck-retroarch.cfg #- type: file
- type: file # path: retrodeck.sh
path: tools-gamelist.xml #- type: file
- type: dir # path: retrodeck-retroarch.cfg
path: res #- type: file
- type: dir # path: tools-gamelist.xml
path: tools #- type: dir
- type: file # path: res
path: desktop_entry #- type: dir
# path: tools
#- type: file
# path: desktop_entry