mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-29 19:45:38 +00:00
SOLARUS: outsourced
This commit is contained in:
parent
839a5f51ea
commit
64d9c40810
|
@ -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"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue