Docs: Add note about flatpak manifests

Fixes #60.
This commit is contained in:
James Westman 2022-05-27 10:52:54 -05:00
parent 166b77f4af
commit f6355fe412
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
2 changed files with 26 additions and 0 deletions

25
docs/flatpak.rst Normal file
View file

@ -0,0 +1,25 @@
=======
Flatpak
=======
Flathub's builders don't allow internet access during the build; everything that
goes into the build must be specified in the manifest. This means meson
submodules won't work. Instead, you need to install blueprint-compiler as
a module in your flatpak manifest:
.. code-block:: json
{
"name": "blueprint-compiler",
"buildsystem": "meson",
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"branch": "main"
}
]
}
You can keep the submodule configuration--Meson will ignore it if
blueprint-compiler is already installed.

View file

@ -9,6 +9,7 @@ Blueprint is a markup language and compiler for GTK 4 user interfaces.
setup
translations
flatpak
examples