Folks recently gained support for the Meson build system, so use that instead of autotools. This should make the build faster and more future-proof (since the autotools build might not survive for long).
230 lines
7 KiB
JSON
230 lines
7 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",
|
|
|
|
/* Folks contact and avatar support (via EDS) */
|
|
"--talk-name=org.gnome.evolution.dataserver.AddressBook9",
|
|
"--talk-name=org.gnome.evolution.dataserver.Sources5",
|
|
"--filesystem=xdg-cache/evolution/addressbook:ro",
|
|
|
|
/* 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": "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": "libical",
|
|
"cleanup": [
|
|
"/lib/cmake"
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
"-DCMAKE_INSTALL_LIBDIR=lib",
|
|
"-DBUILD_SHARED_LIBS:BOOL=ON"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/libical/libical/releases/download/v2.0.0/libical-2.0.0.tar.gz",
|
|
"sha256": "654c11f759c19237be39f6ad401d917e5a05f36f1736385ed958e60cf21456da"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "evolution-data-server",
|
|
"cleanup": [
|
|
"/lib/cmake",
|
|
"/lib/evolution-data-server/*-backends",
|
|
"/libexec",
|
|
"/share/dbus-1/services"
|
|
],
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
"-DENABLE_GTK=ON",
|
|
"-DENABLE_GOA=ON",
|
|
"-DENABLE_UOA=OFF",
|
|
"-DENABLE_GOOGLE_AUTH=OFF",
|
|
"-DENABLE_GOOGLE=OFF",
|
|
"-DENABLE_WITH_PHONENUMBER=OFF",
|
|
"-DENABLE_VALA_BINDINGS=ON",
|
|
"-DENABLE_WEATHER=OFF",
|
|
"-DWITH_OPENLDAP=OFF",
|
|
"-DWITH_LIBDB=OFF",
|
|
"-DENABLE_INTROSPECTION=ON",
|
|
"-DENABLE_INSTALLED_TESTS=OFF",
|
|
"-DENABLE_GTK_DOC=OFF",
|
|
"-DENABLE_EXAMPLES=OFF"
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "folks",
|
|
"buildsystem": "meson",
|
|
"cleanup": [
|
|
"/bin"
|
|
],
|
|
"config-opts": [
|
|
"-Dtelepathy_backend=false",
|
|
"-Dinspect_tool=false",
|
|
"-Dimport_tool=false"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/folks.git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gmime",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/jstedfast/gmime.git",
|
|
"branch": "gmime-2-6"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libhandy",
|
|
"buildsystem": "meson",
|
|
"builddir": true,
|
|
"config-opts": [
|
|
"-Dglade_catalog=disabled"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://source.puri.sm/Librem5/libhandy.git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libunwind",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://git.savannah.gnu.org/git/libunwind.git",
|
|
"branch": "master"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libytnef",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/Yeraze/ytnef.git",
|
|
"branch": "master"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "geary",
|
|
"buildsystem": "meson",
|
|
"builddir": true,
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/geary.git",
|
|
"branch": "mainline"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|