app-id: io.github.m0rb.heretic2r runtime: org.freedesktop.Platform runtime-version: &runtime-version '25.08' x-gl-version: &gl-version '1.4' x-gl-versions: &gl-versions 25.08;1.4 sdk: org.freedesktop.Sdk command: io.github.m0rb.heretic2r.sh finish-args: - --share=ipc - --socket=wayland - --socket=fallback-x11 - --socket=pulseaudio - --device=all - --allow=bluetooth build-options: strip: true no-debuginfo: true modules: - name: heretic2r buildsystem: cmake-ninja builddir: true sources: - type: git url: https://github.com/m0rb/Heretic2R-UNIX commit: d35021476cfe365a0bb4adafb38f9776ae8f427f x-checker-data: type: json url: https://api.github.com/repos/m0rb/Heretic2R-UNIX/branches/unix commit-query: .commit.sha - type: archive url: https://github.com/m-x-d/Heretic2R/raw/refs/heads/main/stuff/Heretic_II_Patch_106_for_H2R.zip dest-filename: h2e.zip dest: h2e sha256: 6e2e385c77c0ee8f8f04b2016e43533405f377f1d010a4e446e18893fdf516e3 - type: file path: io.github.m0rb.heretic2r.metainfo.xml post-install: - install -m644 -Dt /app/share/metainfo/ ${FLATPAK_BUILDER_BUILDDIR}/${FLATPAK_ID}.metainfo.xml - mkdir -p /app/share/games/h2e - cp -r ${FLATPAK_BUILDER_BUILDDIR}/h2e/* /app/share/games/h2e/