Use --ignore-installed to ensure all dependencies (including Pygments) are installed to the Flatpak prefix, not relying on SDK packages that won't be available at runtime.
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"id" : "cz.vesp.roster",
|
|
"runtime" : "org.gnome.Platform",
|
|
"runtime-version" : "47",
|
|
"sdk" : "org.gnome.Sdk",
|
|
"command" : "roster",
|
|
"finish-args" : [
|
|
"--share=network",
|
|
"--share=ipc",
|
|
"--socket=fallback-x11",
|
|
"--device=dri",
|
|
"--socket=wayland"
|
|
],
|
|
"cleanup" : [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/man",
|
|
"/share/doc",
|
|
"/share/gtk-doc",
|
|
"/share/man",
|
|
"/share/pkgconfig",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"build-options" : {
|
|
"build-args" : [
|
|
"--share=network"
|
|
]
|
|
},
|
|
"modules" : [
|
|
{
|
|
"name" : "httpie",
|
|
"buildsystem" : "simple",
|
|
"build-commands" : [
|
|
"pip3 install --prefix=${FLATPAK_DEST} --ignore-installed httpie"
|
|
]
|
|
},
|
|
{
|
|
"name" : "roster",
|
|
"builddir" : true,
|
|
"buildsystem" : "meson",
|
|
"sources" : [
|
|
{
|
|
"type" : "git",
|
|
"url" : "file:///home/pavelb/GnomeBuilderProjects/Roster"
|
|
}
|
|
],
|
|
"config-opts" : [
|
|
"--libdir=lib"
|
|
]
|
|
}
|
|
]
|
|
}
|