Distributing app as both flatpak and snap


I would like to distribute an app as a flatpak, and also as a snap. I have some difficulties finding a strategy to handle dependecies.

Flatpak recommends I use either GNOME Runtime 44 or 45, while the latest snap base (base22) is, as far as I can tell, using GTK libraries from around release 42. I tried to provide the snap newer versions of the depenecies as parts, but I seem to have reached neverending chain of mismatched versions and missing libraries.

Am I missing something? Is there an easier way to do this?
Can anyone point me to some resources I can leverage? Examples of other apps doing something similar?

Thank you

I will post what if found, in case anyone else will have the same difficulties that I had.

There is this project GitHub - ubuntu/gnome-sdk: GNOME SDK/Platform snap, which can be used as an snap extension, and it provides up-to-date dependencies for GTK apps.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.