app-id: io.github.openbrickprotocolfoundation.oopetris runtime: org.freedesktop.Platform runtime-version: '25.08' sdk: org.freedesktop.Sdk command: oopetris modules: - name: OOPetris buildsystem: meson config-opts: - -Dbuildtype=release - -Ddefault_library=shared - -Dbuild_installer=true - --libdir=lib - -Dtests=true - -Dsdl2_image:test=false - --fatal-meson-warnings - -Drun_in_ci=true # note we always want the CI checks in the case we built the flatpak - --force-fallback-for=fmt # note, the freedesktop sdk has this installed, but it is not copiable into the runtime, so we need to build it ourself, to be able to install it correctly builddir: true build-options: build-args: - --share=network sources: - type: dir path: '.' skip: - .github/ - .vscode/ - build/ run-tests: true cleanup: - /include - /lib/pkgconfig - /share/pkgconfig finish-args: - --socket=x11 - --socket=wayland - --device=all - --device=dri - --socket=pulseaudio - --share=network - --filesystem=xdg-run/discord-ipc-0:rw