Commit 3b5706f5 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

examples: Add a Flatpak manifest

This allows to easily build Handy and run its demo in a sandboxed
environment using the 3.26 GNOME runtime.

This makes hacking on the library very convenient from GNOME Builder
with minimal host system requirements.
parent 089d1ef8
......@@ -6,6 +6,8 @@ example_sources = [
example = executable('example', example_sources,
dependencies: libhandy_dep,
gui_app: true,
install: true,
)
endif
{
"app-id": "sm.puri.Handy.Example",
"runtime": "org.gnome.Platform",
"runtime-version": "3.26",
"sdk": "org.gnome.Sdk",
"command": "example",
"finish-args": [
"--share=ipc", "--socket=x11",
"--socket=wayland",
"--device=all"
],
"build-options": {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"env": {
"V": "1"
}
},
"modules": [
{
"name": "example",
"buildsystem": "meson",
"builddir": true,
"build-options": "examples",
"sources": [
{
"type": "git",
"url": "https://code.puri.sm/Librem5/libhandy.git"
}
]
}
]
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment