Can anyone educate me on Flatpaks concerning the L5?
I have used Flatpaks, Snaps, appimage ect for a few yrs now on PC. When trying to install the same Flatpaks on my L5…some work and some do not. For the ones that don’t i get a message stating that the Flatpak is not compatable with the L5 device. Are Flatpaks written for certain architecture type?
If someone (Dev) was to make a FlatPak for an application, what does it need to consist of in order to function/work on both PC and mobile device?
What information is needed to be known for a common user to request from a App developer to include their apps in such a package management platform like Flatpaks?
Not positive, but I’m pretty sure this is the case.
Needs to be built for aarch64 you can try to build them in the L5 with Gnome Builder or in a desktop PC cross-compilling using Gnome Builder as well.
Also you can ask the developers to do it on their git page or so.
Most Flatpaks are generally compiled for a certain architecture, although you may encounter some that use scripting languages (like Python, PHP, Ruby, etc.) that can run on many architectures. As @uzanto mentioned, you can cross-compile to create aarch64 Flatpacks on an x86_64 PC. See this tutorial on cross-compiling: https://jensd.be/1126/linux/cross-compiling-for-arm-or-aarch64-on-debian-or-ubuntu
If it is Qt code, you can use the Kirigami framework to make convergent applications that work in both mobile and desktop. See this tutorial. If it is GTK code, then you can use libhandy and/or libadwaita to make convergent applications. See this libhandy tutorial.
If you use flathub (which most flatpaks do), you don’t need to cross-compile it yourself because flathub itself compiles it for x86_64 and aarch64 for you. At least as long as you don’t explicitly limit it to x86_64 only. I have a package which I have cross-compiled myself once, but since then I’ve done lots of updates and only tested on x86_64 but it works fine to download for aarch64.
Flathub builds for aarch64 (architecture used by the L5) automatically (if not opted out) so nothing is usually needed for flatpaks from tlathub.
I just Liked the Post of Flatpak from Julian Sparber.
Thanks @jsparber you know what it going on, you are a Rockstar!