# Generated by flutpak — https://github.com/o-murphy/flutpak # # This is your editable TEMPLATE manifest — commit it to git. # Run "flutpak generate" on every build to produce the final output in generated/. # # SAFE TO EDIT finish-args, build-commands, build-options, sdk-extensions, modules # AUTO-INJECTED tag, commit, modules, manifest.sources, generated-sources.json, and patches are set/appended by generate app-id: io.github.o_murphy.flutpak.demo runtime: org.freedesktop.Platform runtime-version: '25.08' sdk: org.freedesktop.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.llvm20 command: demo_app # Sandbox permissions — review and adjust for your app. finish-args: - --share=ipc - --socket=fallback-x11 - --socket=wayland - --device=dri - --share=network modules: - name: demo subdir: examples/demo_app buildsystem: simple build-options: arch: x86_64: env: BUNDLE_PATH: build/linux/x64/release/bundle aarch64: env: BUNDLE_PATH: build/linux/arm64/release/bundle append-path: /usr/lib/sdk/llvm20/bin:/var/lib/flutter/bin prepend-ld-library-path: /usr/lib/sdk/llvm20/lib env: PUB_CACHE: /run/build/demo/.pub-cache # Build steps — review and customise for your project. build-commands: - flutter pub get --offline - flutter build linux --release --no-pub - mkdir -p /app/demo - cp -r "$BUNDLE_PATH"/. /app/demo/ - install -Dm755 flatpak/demo-wrapper.sh /app/bin/demo_app - install -Dm644 app/share/metainfo/io.github.o_murphy.flutpak.demo.metainfo.xml /app/share/metainfo/io.github.o_murphy.flutpak.demo.metainfo.xml - install -Dm644 app/share/applications/io.github.o_murphy.flutpak.demo.desktop /app/share/applications/io.github.o_murphy.flutpak.demo.desktop - install -Dm644 app/share/icons/hicolor/256x256/apps/io.github.o_murphy.flutpak.demo.png /app/share/icons/hicolor/256x256/apps/io.github.o_murphy.flutpak.demo.png sources: - type: git url: https://github.com/o-murphy/flutpak.git