app-id: net.duke4.m210.buildgdx runtime: org.freedesktop.Platform runtime-version: &runtime-version '25.08' sdk: org.freedesktop.Sdk command: net.duke4.m210.buildgdx.sh sdk-extensions: - org.freedesktop.Sdk.Extension.openjdk25 finish-args: # hardware 3D and controller access - --device=all # X11 + XShm access - --share=ipc - --socket=x11 # Audio - --socket=pulseaudio # network access - --share=network # Add JRE to system path - --env=PATH=/app/jre/bin:/app/bin:/usr/bin build-options: strip: true no-debuginfo: true modules: - ../shared-modules/linux-audio/fluidsynth2.json - name: openjdk buildsystem: simple build-commands: - /usr/lib/sdk/openjdk25/install.sh - name: buildgdx buildsystem: simple sources: - type: extra-data url: https://m210.duke4.net/index.php/downloads/send/8-java/54-buildgdx filename: buildgdx.zip size: 21136045 sha256: 8f9758b7a0a4392d91f25e7551a42c3027d78d71b06772d84a0a7c6bf118178b x-checker-data: type: anitya project-id: 391027 url-template: "https://m210.duke4.net/index.php/downloads/send/8-java/54-buildgdx" - type: script dest-filename: apply_extra commands: - unzip buildgdx.zip && rm buildgdx.zip && rm *.txt *.bat - type: script dest-filename: net.duke4.m210.buildgdx.sh commands: - if [[ ! -d $XDG_DATA_HOME ]]; then mkdir -p $XDG_DATA_HOME; fi - ln -s -T $XDG_DATA_HOME $HOME/.m210projects - java -jar /app/extra/BuildGDX.jar $@ - type: file paths: - net.duke4.m210.buildgdx.desktop - net.duke4.m210.buildgdx.png - net.duke4.m210.buildgdx.metainfo.xml build-commands: - install -Dm755 apply_extra /app/bin/apply_extra - install -Dm755 ${FLATPAK_ID}.sh /app/bin/${FLATPAK_ID}.sh - install -Dm644 ${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop - install -Dm644 ${FLATPAK_ID}.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png - install -Dm644 ${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml