app-id: io.github.klorfmorf.Goemon64Recomp runtime: org.freedesktop.Platform runtime-version: '25.08' sdk: org.freedesktop.Sdk command: io.github.klorfmorf.Goemon64Recomp.sh finish-args: # hardware 3D and controller access - --device=all # X11 + XShm access - --share=ipc - --socket=wayland - --socket=fallback-x11 # Audio - --socket=pulseaudio # Gamescope for SteamOS - --filesystem=xdg-run/gamescope-0:ro build-options: strip: true no-debuginfo: true modules: - name: recomp buildsystem: simple sources: - type: archive only-arches: - aarch64 url: https://github.com/klorfmorf/Goemon64Recomp/releases/download/v0.2.0-dev/Goemon64Recompiled-Linux-ARM64-Release.zip dest-filename: recomp.zip sha256: 134fc51de50d8aba05fe9b13c069598030e9588d2b83304e1ace925c135f321b x-checker-data: type: json url: https://api.github.com/repos/klorfmorf/Goemon64Recomp/releases/latest version-query: .tag_name url-query: .assets[] | select(.name | test("^Goemon64Recompiled.*Linux-ARM64-Release.zip$")).browser_download_url - type: archive only-arches: - x86_64 url: https://github.com/klorfmorf/Goemon64Recomp/releases/download/v0.2.0-dev/Goemon64Recompiled-Linux-X64-Release.zip dest-filename: recomp.zip sha256: 73e0deb9fab6deb40365708ca4c8ef5ef2d06e54160a9eb089655b063b361f0d x-checker-data: type: json url: https://api.github.com/repos/klorfmorf/Goemon64Recomp/releases/latest version-query: .tag_name url-query: .assets[] | select(.name | test("^Goemon64Recompiled.*Linux-X64-Release.zip$")).browser_download_url build-commands: - tar -xf Goemon64Recompiled.tar.gz --no-same-owner - install -D -m755 Goemon64Recompiled -t /app/bin/ - install -D -m644 recompcontrollerdb.txt -t /app/bin/ - cp -rv assets /app/bin/ - name: freedesktop buildsystem: simple sources: - type: archive url: https://api.github.com/repos/klorfmorf/Goemon64Recomp/tarball/v0.2.0-dev dest-filename: recomp.tar.gz sha256: 01cb0fc9268cb1adb24d0211971c96a5e4519cc31a79879a879471ed3de92363 x-checker-data: type: json url: https://api.github.com/repos/klorfmorf/Goemon64Recomp/releases/latest version-query: .tag_name | sub("^v"; "") url-query: .tarball_url - type: file path: io.github.klorfmorf.Goemon64Recomp.metainfo.xml - type: script dest-filename: io.github.klorfmorf.Goemon64Recomp.sh commands: - export APP_FOLDER_PATH="${XDG_DATA_HOME}/${FLATPAK_ID}" - if [[ ! -d "${APP_FOLDER_PATH}" ]]; then mkdir -p ${APP_FOLDER_PATH}; fi - cd /app/bin/ - Goemon64Recompiled build-commands: # desktop file - desktop-file-edit --set-key=Exec --set-value=${FLATPAK_ID}.sh flatpak/io.github.klorfmorf.goemon64recomp.desktop - desktop-file-edit --set-key=Icon --set-value=${FLATPAK_ID} flatpak/io.github.klorfmorf.goemon64recomp.desktop - install -D -m644 flatpak/io.github.klorfmorf.goemon64recomp.desktop /app/share/applications/${FLATPAK_ID}.desktop # icon - install -D -m644 icons/512.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png # metainfo - install -Dm644 ${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/ # launcher script - install -D -m755 ${FLATPAK_ID}.sh -t /app/bin/