From 64d9c40810f47bebe87c7e7f8d07edbdd113688c Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sun, 21 Jul 2024 11:12:12 +0900 Subject: [PATCH] SOLARUS: outsourced --- automation_tools/automation_task_list.cfg | 3 ++ net.retrodeck.retrodeck.yml | 57 ++++------------------- old/removed-modules.yml | 55 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 48 deletions(-) diff --git a/automation_tools/automation_task_list.cfg b/automation_tools/automation_task_list.cfg index f13a13c5..cd7555cf 100644 --- a/automation_tools/automation_task_list.cfg +++ b/automation_tools/automation_task_list.cfg @@ -1,6 +1,7 @@ # The proper format for this file is # ACTION^PLACEHOLDERTEXT^URL^REPO(Optional) # hash^DOOMSHAPLACEHOLDER^https://buildbot.libretro.com/assets/cores/DOOM/Doom%20%28Shareware%29.zip +# Please leave some newlines in the end of this file or it will break #hash^DUCKSTATIONSHAPLACEHOLDER^https://github.com/stenzek/duckstation/releases/download/preview/DuckStation-x64.AppImage hash^SAMEDUCKSHAPLACEHOLDER^https://buildbot.libretro.com/nightly/linux/x86_64/latest/sameduck_libretro.so.zip hash^PPSSPPBIOSHASHPLACEHOLDER^https://github.com/hrydgard/ppsspp/archive/refs/heads/master.zip @@ -20,6 +21,8 @@ url^RDPPSSPPURL^"https://github.com/RetroDECK/org.ppsspp.PPSSPP/releases/downloa hash^RDPPSSPPHASH^"https://github.com/RetroDECK/org.ppsspp.PPSSPP/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.ppsspp.PPSSPP/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-PPSSPP-Artifact.tar.gz" url^RETRODECKDOLPHINURLPLACEHOLDER^"https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.DolphinEmu.dolphin-emu/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-dolphin-Artifact.tar.gz" hash^RETRODECKDOLPHINPLACEHOLDER^"https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.DolphinEmu.dolphin-emu/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-dolphin-Artifact.tar.gz" +url^RETRODECKSOLARUSURLPLACEHOLDER^"https://github.com/RetroDECK/org.solarus_games.solarus.Launcher/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.solarus_games.solarus.Launcher/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-solarus-Artifact.tar.gz" +hash^RETRODECKSOLARUSPLACEHOLDER^"https://github.com/RetroDECK/org.solarus_games.solarus.Launcher/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.solarus_games.solarus.Launcher/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-solarus-Artifact.tar.gz" diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index db88d2ed..f43c4079 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -631,56 +631,17 @@ modules: # SOLARUS - START # why from source: they only provide a snap - # https://github.com/flathub/org.solarus_games.solarus.Launcher + # https://github.com/RetroDECK/org.solarus_games.solarus.Launcher - - name: luajit - no-autogen: true - cleanup: - - /bin - - /lib/*.a - - /include - - /lib/pkgconfig - - /share/man + - name: retrodeck-solarus + buildsystem: simple + build-commands: + - cp -r files/** "${FLATPAK_DEST}" + - chmod +x "${FLATPAK_DEST}/bin/"* sources: - - type: archive - url: https://luajit.org/download/LuaJIT-2.0.5.tar.gz - sha256: 874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979 - - type: shell - commands: - - sed -i 's|/usr/local|/app|' ./Makefile - - - name: libmodplug - cleanup: - - /include - sources: - - type: archive - url: https://download.sourceforge.net/project/modplug-xmms/libmodplug/0.8.9.0/libmodplug-0.8.9.0.tar.gz - sha512: 880e10154fd367ee24ace53ca7e32a5c1fee7dfff1f934e6499944c12779427da63e2f55f8d6ce25db0a42a5b4424053bf64305b31dbfc4ef6a8909924d655fd - - - name: physfs - buildsystem: cmake-ninja - config-opts: - - -DPHYSFS_BUILD_TEST=OFF - sources: - - type: archive - url: https://icculus.org/physfs/downloads/physfs-3.0.2.tar.bz2 - sha256: 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863 - size: 194888 - x-checker-data: - type: anitya - project-id: 3631 - url-template: https://icculus.org/physfs/downloads/physfs-$version.tar.bz2 - - - name: solarus - buildsystem: cmake-ninja - builddir: true - config-opts: - - -DSOLARUS_GUI=OFF - sources: - - type: git - url: https://gitlab.com/solarus-games/solarus.git - tag: v1.6.5 - commit: 3aec70b0556a8d7aed7903d1a3e4d9a18c5d1649 + - type: archive + url: RETRODECKSOLARUSURLPLACEHOLDER + sha256: RETRODECKSOLARUSPLACEHOLDER # SOLARUS - END diff --git a/old/removed-modules.yml b/old/removed-modules.yml index 26796131..11a5868f 100644 --- a/old/removed-modules.yml +++ b/old/removed-modules.yml @@ -295,3 +295,58 @@ commit: UNIVERSALDYNAMICINPUTCOMMITPLACEHOLDER # Dolphin - END + + # SOLARUS - START + # why from source: they only provide a snap + # https://github.com/flathub/org.solarus_games.solarus.Launcher + + - name: luajit + no-autogen: true + cleanup: + - /bin + - /lib/*.a + - /include + - /lib/pkgconfig + - /share/man + sources: + - type: archive + url: https://luajit.org/download/LuaJIT-2.0.5.tar.gz + sha256: 874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979 + - type: shell + commands: + - sed -i 's|/usr/local|/app|' ./Makefile + + - name: libmodplug + cleanup: + - /include + sources: + - type: archive + url: https://download.sourceforge.net/project/modplug-xmms/libmodplug/0.8.9.0/libmodplug-0.8.9.0.tar.gz + sha512: 880e10154fd367ee24ace53ca7e32a5c1fee7dfff1f934e6499944c12779427da63e2f55f8d6ce25db0a42a5b4424053bf64305b31dbfc4ef6a8909924d655fd + + - name: physfs + buildsystem: cmake-ninja + config-opts: + - -DPHYSFS_BUILD_TEST=OFF + sources: + - type: archive + url: https://icculus.org/physfs/downloads/physfs-3.0.2.tar.bz2 + sha256: 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863 + size: 194888 + x-checker-data: + type: anitya + project-id: 3631 + url-template: https://icculus.org/physfs/downloads/physfs-$version.tar.bz2 + + - name: solarus + buildsystem: cmake-ninja + builddir: true + config-opts: + - -DSOLARUS_GUI=OFF + sources: + - type: git + url: https://gitlab.com/solarus-games/solarus.git + tag: v1.6.5 + commit: 3aec70b0556a8d7aed7903d1a3e4d9a18c5d1649 + + # SOLARUS - END \ No newline at end of file