app-id: horse.msx.eos runtime: org.freedesktop.Platform sdk: org.freedesktop.Sdk runtime-version: '25.08' command: eos finish-args: - --socket=wayland - --socket=fallback-x11 - --share=ipc # 3D hardware acceleration - --device=dri # Audio - --socket=pulseaudio # Controller support - change to device=input once Flatpak 1.14 is EOL. # https://discourse.flathub.org/t/support-for-device-input/6645 - --device=all # Allow network for multiplayer gameplay - --share=network build-options: strip: true no-debuginfo: true cleanup: - '*.a' - /include - /lib/cmake - /lib/pkgconfig - /share/doc - /share/man - /bin/7zz modules: - ../shared-modules/linux-audio/libinstpatch.json - ../shared-modules/linux-audio/fluidsynth2.json - name: zmusic buildsystem: cmake-ninja build-options: no-debuginfo: true strip: true config-opts: - -DCMAKE_BUILD_TYPE=Release sources: - type: archive url: https://github.com/UZDoom/ZMusic/archive/1.3.0.tar.gz sha256: 2eccd41e1cc9b38b3729ab94d65635719b2adc916de4ca9f8399ebceaee89f7f x-checker-data: type: anitya project-id: 153600 stable-only: true url-template: https://github.com/UZDoom/ZMusic/archive/$version.tar.gz - type: archive url: https://www.un4seen.com/files/unmo3lib.zip sha256: d5d9bfcb7df8e7dd0eaa3bdf9a01b794ba7af4b21d70839932ba02405c024e9a dest: thirdparty/unmo3lib strip-components: 0 - type: patch paths: - org.zdoom.zmusic.unmo3.patch - name: zdoom-eos buildsystem: cmake-ninja config-opts: - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CXX_FLAGS=-DSHARE_DIR=\"/app/share\" sources: - type: archive url: https://api.github.com/repos/UZDoom/UZDoom/tarball/refs/tags/5.0.1 sha256: 3a9c062f1154c72bd93e6d44031830e2c645b6bc110494492f02ec01f6ecd513 dest-filename: uzdoom.tar.gz x-checker-data: type: json url: https://api.github.com/repos/UZDoom/UZDoom/releases/latest version-query: .tag_name url-query: ("https://api.github.com/repos/UZDoom/UZDoom/tarball/refs/tags/" + .tag_name) - type: file path: horse.msx.eos.png dest: src/posix/freedesktop/ - type: patch paths: - org.zdoom.uzdoom.eos-audio.patch - org.zdoom.uzdoom.eos-branding.patch - org.zdoom.uzdoom.eos-custom-keys.patch - org.zdoom.uzdoom.eos-freedesktop.patch - org.zdoom.uzdoom.eos-linetest-zscript.patch - org.zdoom.uzdoom.eos-misc-changes.patch - name: 7zip buildsystem: simple subdir: CPP/7zip/Bundles/Alone2 cleanup: - '*' build-commands: - make -j $FLATPAK_BUILDER_N_JOBS -f makefile.gcc - install -D ./_o/7zz -t /app/bin sources: - type: git url: https://github.com/ip7z/7zip.git tag: '26.03' commit: 0766b733fe3e06dd2a7f9a3cfbf2108ac73abd17 x-checker-data: type: git tag-pattern: ^([\d.]+)$ - name: eos-data buildsystem: simple subdir: Data sources: - type: archive url: https://msx.horse/eos/eos_v1_13.zip sha256: c72bc286b1fe635585fd779f65057e23f69aea0f6989f7365d722231e75ee605 x-checker-data: type: html url: https://msx.horse/eos/ version-pattern: VERSION ([\d\.-]+) url-template: https://msx.horse/eos/eos_v${major}_${minor}.zip build-commands: - 7zz x data2.eos && cd data && zip -r /app/share/games/eos/eos.ipk3 * - 7zz x data1.eos && zip -r /app/share/games/eos/eos.ipk3 maps