{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreig4unqiyyrh7dsxq374dmisqev4lyfkmdx6hrxdwkdsm5ojt3yhoe",
"uri": "at://did:plc:yrn4rbgwenb6lfhhzjegbtnc/app.bsky.feed.post/3mnivdcosvtm2"
},
"path": "/t/introducing-flutpak-automating-flathub-submission-for-flutter-apps/12294#post_4",
"publishedAt": "2026-06-04T23:37:35.000Z",
"site": "https://discourse.flathub.org",
"tags": [
"https://github.com/flathub/flathub/pull/8889",
"https://github.com/o-murphy/flutpak"
],
"textContent": "> **Update:** `flutpak` just passed Flathub CI on the first try (Proof of Concept)\n\nHey everyone! Quick update on `flutpak` (the tool automating Flathub submissions for Flutter apps).\n\nTwo days ago, I shared the tool while my own app’s submission (`io.github.o_murphy.ebalistyka`) was still in progress. Today, I’m thrilled to report that **the Flathub test build has successfully passed on the very first attempt!**\n\n**Build succeeded for both`x86_64` and `aarch64`.**\n\n### What’s under the hood?\n\nThe application is now built properly from source, except for `objectbox-c` dependency which is distributed only as pre-compiled binaries under the Apache License.\n\nKey improvements in the manifest:\n\n * `.desktop`, `.metainfo.xml`, and icon files have been moved upstream to the main repository (no longer committed directly to the Flathub repo)\n * Screenshots in the metainfo file now point to an immutable release tag instead of the main branch tip\n * Updated runtime to `25.08` with adjusted permissions\n\n\n\n### Why is this a big deal?\n\n * **Zero manual manifest tweaks:** The entire `generated-sources.json` (with hundreds of lines of pub.dev dependencies) and the manifest were generated entirely by `flutpak generate`.\n * **Handled complex native dependencies:** The `known-patches/` system worked flawlessly. It successfully injected the offline patch for `objectbox_flutter_libs`, mapping the correct version-stamped paths without breaking the strict offline network restriction of the Flathub compiler.\n\n\n\nThe PR is now clean, passes all linters, and is currently awaiting final human review.\n\n**Pull Request:** https://github.com/flathub/flathub/pull/8889\n\nIf you’ve been holding back on bringing your Flutter app to Linux because of the painful manual packaging process, `flutpak` is officially proven to close that gap.\n\nCheck out the repo, try it on your app, and if you use packages that require native C-bindings or offline patches, contributions to `known-patches/` are highly welcome!\n\n**Repo:** https://github.com/o-murphy/flutpak",
"title": "Introducing flutpak - automating Flathub submission for Flutter apps"
}