geary/org.gnome.Geary.json
Michael Gratton 68a985a76c Support building with Enchant 2.x
This adds support for Enchant 2 named "enchant" and Enchant 2 named
"enchant-2" (!)
2019-01-16 11:12:31 +11:00

123 lines
3.6 KiB
JSON

/* flatpak-builder config for Geary. */
{
"app-id": "org.gnome.Geary",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"command": "geary",
/* Nightly build args, remove these when creating a new stable branch */
"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",
/* 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"
],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"env": {
"V": "1"
}
},
"cleanup": ["/include", "/lib/pkgconfig",
"/share/pkgconfig", "/share/aclocal",
"/man", "/share/man", "/share/gtk-doc",
"/share/vala",
"*.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://gitlab.gnome.org/GNOME/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 our build-options above, and the
latter conflicts with both the build options and
with whatever is causing FORTIFY_SOURCE to be
set. 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"
}
]
}
]
}