geary/org.gnome.Geary.json
Jordan Petridis c1ed9b105f
Flatpak: Add enchant as a module
With the 3.30 release of the runtime enchant 1.x was dropped
from the sdk in favor of enchant 2.
2018-10-15 20:33:18 +03:00

136 lines
4 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" : "enchant",
"cleanup" : [
"/bin"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/AbiWord/enchant/releases/download/enchant-1-6-1/enchant-1.6.1.tar.gz",
"sha256" : "bef0d9c0fef2e4e8746956b68e4d6c6641f6b85bd2908d91731efb68eba9e3f5"
}
]
},
{
"name": "geary",
"buildsystem": "meson",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/geary.git",
"branch": "master"
}
]
}
]
}