mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
EXPERIMENTAL: trying a new modules build approach
This commit is contained in:
parent
96275264e8
commit
381f59013b
|
@ -68,6 +68,7 @@ modules:
|
||||||
# UPDATE STEPS FOR MAIN:
|
# UPDATE STEPS FOR MAIN:
|
||||||
# [ ] Update the VERSION variable
|
# [ ] Update the VERSION variable
|
||||||
# [ ] Update the appdata.xml with the version number and notes
|
# [ ] 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
|
||||||
|
@ -221,116 +222,129 @@ modules:
|
||||||
|
|
||||||
# RetroArch - https://github.com/flathub/org.libretro.RetroArch
|
# RetroArch - https://github.com/flathub/org.libretro.RetroArch
|
||||||
|
|
||||||
|
# - name: retroarch
|
||||||
|
# config-opts:
|
||||||
|
# - '--enable-dbus'
|
||||||
|
# make-args:
|
||||||
|
# - GLOBAL_CONFIG_DIR=${FLATPAK_DEST}/etc
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/RetroArch.git
|
||||||
|
# branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38
|
||||||
|
# - type: file
|
||||||
|
# path: retroarch.cfg
|
||||||
|
# post-install:
|
||||||
|
# - mkdir -p ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/
|
||||||
|
# - >-
|
||||||
|
# mv ${FLATPAK_DEST}/share/pixmaps/retroarch.svg
|
||||||
|
# ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/
|
||||||
|
# - rmdir --ignore-fail-on-non-empty ${FLATPAK_DEST}/share/pixmaps/
|
||||||
|
# - mkdir -p ${FLATPAK_DEST}/etc
|
||||||
|
# - >-
|
||||||
|
# sed s:@prefix@:${FLATPAK_DEST}:g retroarch.cfg >
|
||||||
|
# ${FLATPAK_DEST}/etc/retroarch.cfg
|
||||||
|
# modules:
|
||||||
|
# - libpng/libpng-1.6.35.json
|
||||||
|
# #nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013.json
|
||||||
|
# - shared-modules/SDL/SDL-1.2.15.json
|
||||||
|
# - shared-modules/SDL/SDL_image-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_ttf-2.0.11.json
|
||||||
|
# - shared-modules/libusb/libusb.json
|
||||||
|
# # certificate glu issue
|
||||||
|
# #- shared-modules/gudev/gudev.json
|
||||||
|
# libbz2/libbz2-1.0.8.json
|
||||||
|
# xrandr/xrandr-1.5.1.json
|
||||||
|
# libaio/libaio-0.3.112.json
|
||||||
|
# # certificate issue, check libglu module for more info
|
||||||
|
# #- shared-modules/glu/glu-9.json
|
||||||
|
# libdecor/libdecor-0.1.0.json
|
||||||
|
# - name: retroarch-filers-video
|
||||||
|
# subdir: gfx/video_filters
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/RetroArch.git
|
||||||
|
# branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38
|
||||||
|
# - name: retroarch-filers-audio
|
||||||
|
# subdir: libretro-common/audio/dsp_filters
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/RetroArch.git
|
||||||
|
# branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38
|
||||||
|
# - name: retroarch-assets
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/retroarch-assets.git
|
||||||
|
# commit: f45dd1351e6bfb9f01e12bee8d358ad22a2bb8f9
|
||||||
|
# - name: libretro-database
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/libretro-database.git
|
||||||
|
# commit: f3b10ec262fcbd78da3473f46d244270d12a327e
|
||||||
|
# - name: libretro-core-info
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/libretro-core-info.git
|
||||||
|
# commit: 06dac6318c067a6a40e2ea1e1260e74681ada844
|
||||||
|
# - name: retroarch-joypad-autoconfig
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/retroarch-joypad-autoconfig.git
|
||||||
|
# commit: 760b057f1865a827762a54a8a32afda2cdd9e170
|
||||||
|
# - name: common-shaders
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/common-shaders.git
|
||||||
|
# commit: 55e401834b732e62c34411321c4ffd82524345d4
|
||||||
|
# - name: slang-shaders
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/slang-shaders.git
|
||||||
|
# commit: 148c57d9747f5db124135501ac280b5ca129a83f
|
||||||
|
# - name: glsl-shaders
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/glsl-shaders.git
|
||||||
|
# commit: 8f6b2649489760caea8f36ec6099998854059569
|
||||||
|
# - name: common-overlays
|
||||||
|
# make-install-args:
|
||||||
|
# - PREFIX=${FLATPAK_DEST}
|
||||||
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/libretro/common-overlays.git
|
||||||
|
# commit: db9744f4e58a740f0f10b04b62af347cd6f01928
|
||||||
|
|
||||||
|
# RetroArch experiment: cloning the flathub repository directly and adding its manifest as module
|
||||||
|
|
||||||
- name: retroarch
|
- name: retroarch
|
||||||
config-opts:
|
buildsystem: simple
|
||||||
- '--enable-dbus'
|
build-commands:
|
||||||
make-args:
|
- echo ""
|
||||||
- GLOBAL_CONFIG_DIR=${FLATPAK_DEST}/etc
|
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/libretro/RetroArch.git
|
url: https://github.com/libretro/RetroArch.git
|
||||||
branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38
|
tag: v1.10.2
|
||||||
- type: file
|
|
||||||
path: rd-submodules/retroarch/retroarch.cfg
|
|
||||||
post-install:
|
|
||||||
- mkdir -p ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/
|
|
||||||
- >-
|
|
||||||
mv ${FLATPAK_DEST}/share/pixmaps/retroarch.svg
|
|
||||||
${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/
|
|
||||||
- rmdir --ignore-fail-on-non-empty ${FLATPAK_DEST}/share/pixmaps/
|
|
||||||
- mkdir -p ${FLATPAK_DEST}/etc
|
|
||||||
- >-
|
|
||||||
sed s:@prefix@:${FLATPAK_DEST}:g retroarch.cfg >
|
|
||||||
${FLATPAK_DEST}/etc/retroarch.cfg
|
|
||||||
modules:
|
modules:
|
||||||
- libpng/libpng-1.6.35.json
|
- org.libretro.RetroArch.json
|
||||||
#- rd-submodules/retroarch/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013.json
|
|
||||||
- shared-modules/SDL/SDL-1.2.15.json
|
|
||||||
- shared-modules/SDL/SDL_image-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_ttf-2.0.11.json
|
|
||||||
- shared-modules/libusb/libusb.json
|
|
||||||
# certificate glu issue
|
|
||||||
#- shared-modules/gudev/gudev.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
|
|
||||||
# certificate issue, check libglu module for more info
|
|
||||||
#- shared-modules/glu/glu-9.json
|
|
||||||
- rd-submodules/retroarch/libdecor/libdecor-0.1.0.json
|
|
||||||
- name: retroarch-filers-video
|
|
||||||
subdir: gfx/video_filters
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/RetroArch.git
|
|
||||||
branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38
|
|
||||||
- name: retroarch-filers-audio
|
|
||||||
subdir: libretro-common/audio/dsp_filters
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/RetroArch.git
|
|
||||||
branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38
|
|
||||||
- name: retroarch-assets
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/retroarch-assets.git
|
|
||||||
commit: f45dd1351e6bfb9f01e12bee8d358ad22a2bb8f9
|
|
||||||
- name: libretro-database
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/libretro-database.git
|
|
||||||
commit: f3b10ec262fcbd78da3473f46d244270d12a327e
|
|
||||||
- name: libretro-core-info
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/libretro-core-info.git
|
|
||||||
commit: 06dac6318c067a6a40e2ea1e1260e74681ada844
|
|
||||||
- name: retroarch-joypad-autoconfig
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/retroarch-joypad-autoconfig.git
|
|
||||||
commit: 760b057f1865a827762a54a8a32afda2cdd9e170
|
|
||||||
- name: common-shaders
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/common-shaders.git
|
|
||||||
commit: 55e401834b732e62c34411321c4ffd82524345d4
|
|
||||||
- name: slang-shaders
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/slang-shaders.git
|
|
||||||
commit: 148c57d9747f5db124135501ac280b5ca129a83f
|
|
||||||
- name: glsl-shaders
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/glsl-shaders.git
|
|
||||||
commit: 8f6b2649489760caea8f36ec6099998854059569
|
|
||||||
- name: common-overlays
|
|
||||||
make-install-args:
|
|
||||||
- PREFIX=${FLATPAK_DEST}
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/libretro/common-overlays.git
|
|
||||||
commit: db9744f4e58a740f0f10b04b62af347cd6f01928
|
|
||||||
|
|
||||||
# RetroArch - END
|
# RetroArch - END
|
||||||
|
|
||||||
|
@ -1033,23 +1047,21 @@ 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_find_rules.xml /app/share/emulationstation/resources/systems/unix/
|
- cp es-configs/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_systems.xml /app/share/emulationstation/resources/systems/unix/
|
- cp es-configs/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_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml
|
- cp es-configs/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 splash.svg /app/share/emulationstation/resources/graphics/splash.svg
|
- cp res/splash.svg /app/share/emulationstation/resources/graphics/splash.svg
|
||||||
- cp icon.svg /app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg
|
- cp res/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 start-*.sh ${FLATPAK_DEST}/retrodeck/tools/
|
- cp tools/* ${FLATPAK_DEST}/retrodeck/tools/
|
||||||
- cp move-roms.sh ${FLATPAK_DEST}/retrodeck/tools/
|
- mv -f ${FLATPAK_DEST}/retrodeck/tools/tools-gamelist.xml ${FLATPAK_DEST}/retrodeck/
|
||||||
- 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
|
||||||
|
@ -1057,56 +1069,51 @@ 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
|
||||||
|
|
||||||
# Steam Grids - When BoilR comes it will be deprecated
|
# 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)
|
||||||
- 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/
|
||||||
# RetroArch
|
# RetroArch
|
||||||
- cp retroarch* ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp emu-configs/retroarch* ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||||
# Dolphin
|
# Dolphin
|
||||||
- cp Dolphin.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp emu-configs/Dolphin/* ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||||
- cp Hotkeys.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
|
||||||
- cp GCPadNew.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
|
||||||
- cp GFX.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
|
||||||
- cp Qt.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
|
||||||
# Yuzu
|
# Yuzu
|
||||||
- cp yuzu-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp emu-configs/yuzu-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||||
# Pcsx2
|
# Pcsx2
|
||||||
- cp PCSX2_ui.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp emu-configs/PCSX2_ui.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||||
- cp GS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp emu-configs/GS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||||
- cp PCSX2_vm.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp emu-configs/PCSX2_vm.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||||
# MelonDS
|
# MelonDS
|
||||||
- cp melonDS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp emu-configs/melonDS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||||
# CITRA
|
# CITRA
|
||||||
- cp citra-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp emu-configs/citra-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||||
# RPCS3
|
# RPCS3
|
||||||
- cp config.yml ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp emu-configs/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: dir
|
- type: git
|
||||||
path: es-configs
|
url: https://github.com/XargonWan/RetroDECK.git
|
||||||
- type: file
|
branch: cooker
|
||||||
path: retrodeck.sh
|
# - type: dir
|
||||||
- type: dir
|
# path: es-configs
|
||||||
path: emu-configs
|
# - type: file
|
||||||
- type: dir
|
# path: retrodeck.sh
|
||||||
path: emu-configs/Dolphin
|
# - type: dir
|
||||||
- type: dir
|
# path: emu-configs
|
||||||
path: res
|
# - type: dir
|
||||||
- type: dir
|
# path: emu-configs/Dolphin
|
||||||
path: res/steam
|
# - type: dir
|
||||||
- type: dir
|
# path: res
|
||||||
path: tools
|
# - type: dir
|
||||||
- type: file
|
# path: res/steam
|
||||||
path: net.retrodeck.retrodeck.desktop
|
# - type: dir
|
||||||
- type: file
|
# path: tools
|
||||||
path: net.retrodeck.retrodeck.appdata.xml
|
# - type: file
|
||||||
|
# path: net.retrodeck.retrodeck.desktop
|
||||||
|
# - type: file
|
||||||
|
# path: net.retrodeck.retrodeck.appdata.xml
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 74 KiB |
Binary file not shown.
Before Width: | Height: | Size: 90 KiB |
Binary file not shown.
Before Width: | Height: | Size: 79 KiB |
Loading…
Reference in a new issue