fractal/flatpak/org.gnome.Fractal.json
Jordan Petridis 94ed965130
Flatpak: Configure libhandy
We don't need to build the tests, examples, vapi or docs in the
flatpak build. They are just not useful when you embed the
dependency.
2018-10-06 04:45:34 +03:00

103 lines
2.9 KiB
JSON

{
"app-id" : "org.gnome.FractalDevel",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command" : "fractal",
"tags" : [
"devel",
"development",
"nightly"
],
"desktop-file-name-suffix" : " (Development)",
"finish-args" : [
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--share=network",
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--socket=pulseaudio",
"--talk-name=org.freedesktop.secrets",
"--talk-name=org.freedesktop.Notifications",
"--filesystem=home"
],
"build-options" : {
"append-path" : "/usr/lib/sdk/rust-stable/bin",
"build-args" : [
"--share=network"
],
"env" : {
"CARGO_HOME" : "/run/build/Fractal/cargo",
"RUST_BACKTRACE" : "1"
}
},
"modules" : [
{
"name" : "enchant",
"cleanup" : [
"/include",
"/lib/pkgconfig",
"*.la",
"/share"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/AbiWord/enchant/releases/download/v2.2.3/enchant-2.2.3.tar.gz",
"sha256" : "abd8e915675cff54c0d4da5029d95c528362266557c61c7149d53fa069b8076d"
}
]
},
{
"name" : "libhandy",
"buildsystem" : "meson",
"config-opts" : [
"-Dprofiling=false",
"-Dintrospection=true",
"-Dgtk_doc=false",
"-Dtests=false",
"-Dexamples=false",
"-Dvapi=false",
"-Dglade_catalog=false"
],
"sources" : [
{
"type" : "git",
"url" : "https://source.puri.sm/Librem5/libhandy"
}
]
},
{
"name" : "gtksourceview",
"config-opts" : [
"--disable-Werror"
],
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/GNOME/gtksourceview.git",
"branch" : "gnome-3-24"
}
]
},
{
"name" : "fractal",
"buildsystem" : "meson",
"config-opts" : [
"-Dprofile=development"
],
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/World/fractal.git"
}
]
}
]
}