This commit is contained in:
Rekku 2024-08-19 12:58:47 +01:00
commit 32cdf315d3

View file

@ -1,7 +1,4 @@
app-id: net.retrodeck.retrodeck app-id: net.retrodeck.retrodeck
# next 2 lines Used by Godot
base: org.godotengine.godot.BaseApp
base-version: "4.2"
runtime: org.kde.Platform runtime: org.kde.Platform
runtime-version: "6.7" runtime-version: "6.7"
sdk: org.kde.Sdk sdk: org.kde.Sdk
@ -161,18 +158,18 @@ modules:
- name: retrodeck-configurator - name: retrodeck-configurator
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- install -Dm755 "Godot_v4.2.2-stable_linux.x86_64" "${FLATPAK_DEST}/bin/godot" - install -Dm755 "Godot_*-stable_linux.x86_64" "${FLATPAK_DEST}/bin/godot"
- mkdir -p "${FLATPAK_DEST}/retrodeck" - mkdir -p "${FLATPAK_DEST}/retrodeck"
- godot --headless --path "tools/configurator" --import - godot --headless --path "tools/configurator" --import
- godot --headless --path "tools/configurator" --export-pack "Linux/X11 64-bit" "${FLATPAK_DEST}/retrodeck/configurator.pck" - godot --headless --path "tools/configurator" --export-pack "Linux/X11 64-bit" "${FLATPAK_DEST}/retrodeck/configurator.pck"
- chmod +x "${FLATPAK_DEST}/retrodeck/configurator.pck" - chmod +x "${FLATPAK_DEST}/retrodeck/configurator.pck"
- echo '#!/bin/sh' > "godot-configurator.sh" - echo '#!/bin/sh' > "godot-configurator.sh"
- echo 'godot-runner --main-pack /app/retrodeck/configurator.pck' >> "godot-configurator.sh" - echo 'godot --main-pack /app/retrodeck/configurator.pck' >> "godot-configurator.sh"
- install -Dm755 "godot-configurator.sh" "/app/bin/" - install -Dm755 "godot-configurator.sh" "/app/bin/"
sources: sources:
- type: archive - type: archive
url: https://github.com/godotengine/godot/releases/download/4.2.2-stable/Godot_v4.2.2-stable_linux.x86_64.zip url: https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.x86_64.zip
sha256: 69eb9881e1b82ab93924c83106a7c031497f252bc0c08e199e4da6380072d6ef sha256: 7de56444b130b10af84d19c7e0cf63cf9e9937ee4ba94364c3b7dd114253ca21
- type: archive - type: archive
url: https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.15.0.tar.gz url: https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.15.0.tar.gz
sha256: f5f359d6332861bd497570848fcb42520964a9e83d5e3abe397b6b6db9bcaaf4 sha256: f5f359d6332861bd497570848fcb42520964a9e83d5e3abe397b6b6db9bcaaf4