Flatpak packaging

Prepare and test your Flatpak, publish a GitHub release, then submit that release in the dashboard.

  1. Add your Flatpak manifest

    Put a self-contained JSON manifest in packaging/flatpak/, for example packaging/flatpak/manifest.json. Set app-id, runtime, runtime-version, sdk, command and modules. Use the same app ID for the manifest, desktop file, icon and AppStream metadata.

    Use an available Freedesktop, GNOME or KDE runtime and SDK from Flathub, on the stable Flatpak branch. Follow the Flatpak manifest guide and the desktop metadata conventions.

  2. Pin the build inputs

    Declare your public GitHub repository as a Git source with "commit": "@ENZIM_SOURCE_COMMIT@" and "disable-submodules": true. The builder substitutes the exact commit selected on the website.

    Use full commit hashes for other Git sources and SHA-256 for every downloaded file or archive. Declare dependencies as sources so compilation can run offline. For Rust, follow the manifest, Cargo archive and local build example.

  3. Publish and check a GitHub release

    Publish a GitHub release from the commit with the manifest and attach the files it references. Sign in to the dashboard, connect the public repository and select the release.

    The dashboard reads the manifest from the commit the release tag points to. For sources attached to that release, it checks the exact download URL and filename, and compares the SHA-256 when GitHub reports one. The build verifies the downloaded bytes against the manifest checksum.

    If you fix the manifest, publish a new release from the corrected commit and select it. If you fix a release attachment, choose Check this release again.

  4. Submit and follow the build

    Once the Flatpak check passes, complete the listing, including an icon, screenshots and explanations for any permissions the app requests. You can submit as soon as those fields are complete.

    The first build needs a one-time GitHub workflow setup. After you submit, the dashboard opens it: review the setup pull request and choose Merge and build. Later releases build as soon as you submit.

    Track the build and manual review in My apps. Once approved, choose Publish this version.

Open the developer dashboard