From c92c021f4c1f880e2c7ae8299cdea1954a1785b0 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 22 Jul 2024 21:46:49 +0900 Subject: [PATCH] GZDOOM: outsourced --- automation_tools/automation_task_list.cfg | 2 ++ net.retrodeck.retrodeck.yml | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/automation_tools/automation_task_list.cfg b/automation_tools/automation_task_list.cfg index bf4e0764..2c07b608 100644 --- a/automation_tools/automation_task_list.cfg +++ b/automation_tools/automation_task_list.cfg @@ -21,6 +21,8 @@ url^RETRODECKSOLARUSURLPLACEHOLDER^"https://github.com/RetroDECK/org.solarus_gam 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" url^RETRODECKPRIMEHACKURLPLACEHOLDER^"https://github.com/RetroDECK/io.github.shiiion.primehack/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/io.github.shiiion.primehack/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-primehack-Artifact.tar.gz" hash^RETRODECKPRIMEHACKPLACEHOLDER^"https://github.com/RetroDECK/io.github.shiiion.primehack/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/io.github.shiiion.primehack/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-primehack-Artifact.tar.gz" +url^RETRODECKGZDOOMSURLPLACEHOLDER^"https://github.com/RetroDECK/org.zdoom.GZDoom/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.zdoom.GZDoom/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-gzdoom-Artifact.tar.gz" +hash^RETRODECKGZDOOMSHASPLACEHOLDER^"https://github.com/RetroDECK/org.zdoom.GZDoom/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.zdoom.GZDoom/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-gzdoom-Artifact.tar.gz" latestcommit^UNIVERSALDYNAMICINPUTCOMMITPLACEHOLDER^https://github.com/Venomalia/UniversalDynamicInput^main outside_file^VERSIONPLACEHOLDER^${GITHUB_WORKSPACE}/buildid branch^THISBRANCH diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 0e5ee587..b71d5b10 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -466,7 +466,7 @@ modules: build-commands: - chmod +x *.AppImage - ./*.AppImage --appimage-extract - - rm -f /app/lib/libselinux.so.1 # TODO this rfile is breaking the build, we need it? Error: cp: /app/lib/libselinux.so.1: no version information available (required by cp) + #- rm -f /app/lib/libselinux.so.1 # TODO this rfile is breaking the build, we need it? Error: cp: /app/lib/libselinux.so.1: no version information available (required by cp) - mkdir -p "${FLATPAK_DEST}/usr/local/lib" - mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/usr/local/lib" - cp -r squashfs-root/usr/* "${FLATPAK_DEST}" @@ -631,7 +631,20 @@ modules: # GZDoom - Start # When updating remember to update all the .pk3 files from the standalone linux download - - rd-submodules/shared-modules/gzdoom/gzdoom.json + # https://github.com/RetroDECK/org.zdoom.GZDoom + + - name: retrodeck-gzdoom + buildsystem: simple + build-commands: + - mkdir -p "${FLATPAK_DEST}/usr/local/lib" + - mv "files/lib/"* "${FLATPAK_DEST}/usr/local/lib" + - cp -r files/* "${FLATPAK_DEST}" + - chmod +x "${FLATPAK_DEST}/bin/"* + sources: + - type: archive + url: RETRODECKGZDOOMSURLPLACEHOLDER + sha256: RETRODECKGZDOOMSHASPLACEHOLDER + # GZDoom - END # MAME - Start