Setting up Flatpak for GNOME Development¶
While this documentation will direct you to the stable flatpak GNOME repository, it will be common and often required to use the gnome-nightly repository instead, for example to access the master branches of GNOME Sdk and Platform. These master branches may be required to build projects such as Calls. For more information, see the Nightly GNOME Apps page.
The Flatpak documentation should be used as the main reference but we will provide some basic steps for installing Flatpak for GNOME development on the development system:
purism@pureos:~$ sudo apt-get install flatpak flatpak-builder purism@pureos:~$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo purism@pureos:~$ flatpak install flathub org.gnome.Platform//3.32
apt-get -y install qemu-user-static
This collection of emulator binaries includes an aarch64 emulator that will be used when compiling applications for the phone.