geary/org.gnome.Geary.json

131 lines
3.8 KiB
JSON

/*
* Flatpak builder manifest for Geary.
*
* When updating this file after branching a new stable release,
* the following should be updated:
*
* - app branch and geary source branches
* - remove app tags and desktop-file-name-prefix
*
* When updating the Flathub manifest, copy the stable manifest over
* it and pin each source to a specific tarball.
*/
{
"app-id": "org.gnome.Geary",
"branch": "master",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"command": "geary",
"tags": ["nightly"],
"desktop-file-name-prefix": "(Nightly) ",
"finish-args": [
/* X11 + XShm access */
"--share=ipc", "--socket=x11",
/* Wayland access */
"--socket=wayland",
/* OpenGL access for WK2 */
"--device=dri",
/* Pulseaudio */
"--socket=pulseaudio",
/* Needs to talk to the network: */
"--share=network",
/* Notification access */
"--talk-name=org.freedesktop.Notifications",
/* Secrets access */
"--talk-name=org.freedesktop.secrets",
/* GOA support */
"--talk-name=org.gnome.ControlCenter",
"--talk-name=org.gnome.OnlineAccounts",
/* Needed for dconf to work */
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
/* Let view source keep on working as-sis for now. Bug 779311. */
"--filesystem=/tmp"
],
"cleanup": ["/include", "/lib/pkgconfig",
"/share/pkgconfig", "/share/aclocal",
"/man", "/share/man", "/share/gtk-doc",
"/share/vala", "/share/girepository-1", "/share/gir-1.0",
"*.la", "*.a"],
"modules": [
{
"name": "libgee",
"config-opts" : [
"--enable-introspection=no"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/libgee.git",
"branch": "master"
}
]
},
{
"name": "gmime",
"sources": [
{
"type": "git",
"url": "https://github.com/jstedfast/gmime.git",
"branch": "gmime-2-6"
}
]
},
{
"name": "gnome-online-accounts",
"config-opts": [
"--disable-telepathy",
"--disable-documentation",
"--disable-backend",
/* Enabling debug via configure causes both -g and -O0
to be set, which is bad since the former is
redundant with the default fd.o build-options,
and the latter conflicts with them. So disable
debug instead. */
"--enable-debug=no"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/gnome-online-accounts.git",
"branch": "master"
}
]
},
{
"name": "libunwind",
"sources": [
{
"type": "git",
"url": "https://git.savannah.gnu.org/git/libunwind.git",
"branch": "master"
}
]
},
{
"name": "geary",
"buildsystem": "meson",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/geary.git",
"branch": "master"
}
]
}
]
}