Files
evolution/flatpak/org.gnome.Evolution-master.json
Milan Crha 37550264cc [Flatpak manifests] Build geocode-glib directly with meson
As geocode-glib is provided with a ./configure script the build system
in Flatpak had been chosen to be autotool, even the script calls meson
in the background. This script requires 'mesontest' binary, which had
been removed in meson 0.48.0. Using meson build system directly makes
the build work regardless of used meson version.
2018-12-07 17:12:09 +01:00

308 lines
7.3 KiB
JSON

{
"app-id": "org.gnome.Evolution",
"runtime": "org.gnome.Platform",
"runtime-version": "3.28",
"sdk": "org.gnome.Sdk",
"command": "evolution",
"rename-icon": "evolution",
"copy-icon": true,
"branch": "master",
"desktop-file-name-suffix": " (Development)",
"tags": [ "devel" ],
"build-options" : {
"cflags": "-O2 -g -Wno-deprecated-declarations",
"cxxflags": "-O2 -g -Wno-deprecated-declarations"
},
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/pkgconfig",
"/share/aclocal",
"*.la",
"*.a"
],
"finish-args": [
"--share=ipc",
"--share=network",
"--socket=x11",
"--socket=wayland",
"--socket=pulseaudio",
"--device=dri",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--talk-name=ca.desrt.dconf",
"--talk-name=org.freedesktop.Notifications",
"--talk-name=org.freedesktop.secrets",
"--talk-name=org.gnome.OnlineAccounts"
],
"modules": [
{
"name": "libical",
"cleanup": [ "/lib/cmake" ],
"buildsystem": "cmake-ninja",
"config-opts": [
"-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib",
"-DBUILD_SHARED_LIBS:BOOL=ON",
"-DGOBJECT_INTROSPECTION:BOOL=OFF"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/libical/libical/releases/download/v3.0.4/libical-3.0.4.tar.gz",
"sha256": "72b216e10233c3f60cb06062facf41f3b0f70615e5a60b47f9853341a0d5d145"
}
]
},
{
"name": "liboauth",
"config-opts": [ "--enable-nss" ],
"cleanup": [ "/share/man" ],
"sources": [
{
"type": "archive",
"url": "https://downloads.sourceforge.net/project/liboauth/liboauth-1.0.3.tar.gz",
"sha256": "0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f"
}
]
},
{
"name": "gnome-online-accounts",
"config-opts": [
"--disable-Werror",
"--disable-telepathy",
"--disable-documentation",
"--disable-backend"
],
"cleanup": [ "/bin", "/share/GConf" ],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/gnome-online-accounts/3.28/gnome-online-accounts-3.28.0.tar.xz",
"sha256": "87bc4ef307604f1ce4f09f6e5c9996ef8d37ca5e0a3bf76f6b27d71844adb40c"
}
]
},
{
"name": "libgdata",
"config-opts": [
"--disable-always-build-tests",
"--disable-goa",
"--disable-gtk-doc",
"--disable-introspection",
"--disable-installed-tests",
"--disable-vala"
],
"cleanup": [
"/share/gtk-doc"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/libgdata/0.17/libgdata-0.17.9.tar.xz",
"sha256": "85c4f7674c0098ffaf060ae01b6b832cb277b3673d54ace3bdedaad6b127453a"
}
]
},
{
"name": "geocode-glib",
"buildsystem": "meson",
"config-opts": [
"-Denable-introspection=false",
"-Denable-gtk-doc=false"
],
"cleanup": [
"/share/gtk-doc"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.0.tar.xz",
"sha256": "ea4086b127050250c158beff28dbcdf81a797b3938bb79bbaaecc75e746fbeee"
}
]
},
{
"name": "libgweather",
"buildsystem": "meson",
"cleanup": [
"/share/gtk-doc"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/libgweather/3.28/libgweather-3.28.2.tar.xz",
"sha256": "081ce81653afc614e12641c97a8dd9577c524528c63772407ae2dbcde12bde75"
}
]
},
{
"name": "openldap",
"rm-configure": true,
"cleanup": [
"/bin",
"/share/man"
],
"config-opts": [
"--disable-backends",
"--disable-overlays",
"--disable-slapd",
"--disable-debug",
"--enable-dynamic",
"--without-threads",
"--with-tls=gnutls"
],
"sources": [
{
"type": "archive",
"url": "http://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.46.tgz",
"sha256": "9a90dcb86b99ae790ccab93b7585a31fbcbeec8c94bf0f7ab0ca0a87ea0c4b2d"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"AUTOMAKE=\"/bin/true\" autoreconf -vfi"
]
}
]
},
{
"name": "evolution-data-server",
"buildsystem": "cmake-ninja",
"cleanup": [ "/share/GConf" ],
"config-opts": [
"-DDBUS_SERVICES_PREFIX=org.gnome.Evolution",
"-DENABLE_FILE_LOCKING=fcntl",
"-DENABLE_DOT_LOCKING=OFF",
"-DENABLE_OAUTH2=ON",
"-DENABLE_GTK=ON",
"-DENABLE_GOA=ON",
"-DENABLE_EXAMPLES=OFF",
"-DENABLE_INTROSPECTION=OFF",
"-DENABLE_VALA_BINDINGS=OFF",
"-DENABLE_INSTALLED_TESTS=OFF",
"-DENABLE_GTK_DOC=OFF",
"-DWITH_LIBDB=OFF",
"-DWITH_PRIVATE_DOCS=OFF",
"-DWITH_PHONENUMBER=OFF",
"-DWITH_SYSTEMDUSERUNITDIR=OFF"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/evolution-data-server.git",
"branch": "master"
}
]
},
{
"name": "gtkspell3",
"config-opts": [
"--disable-gtk-doc",
"--disable-introspection",
"--disable-vala"
],
"cleanup": [ "/share/gtk-doc" ],
"sources": [
{
"type": "archive",
"url": "https://downloads.sourceforge.net/project/gtkspell/3.0.9/gtkspell3-3.0.9.tar.xz",
"sha256": "a4f4a4a2789f7499563e26d96b22d8085222ebe278da47d026b2de782b8b4d26"
}
]
},
{
"name": "evolution",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DENABLE_AUTOAR=OFF",
"-DENABLE_CONTACT_MAPS=OFF",
"-DENABLE_GNOME_DESKTOP=OFF",
"-DENABLE_GTK_DOC=OFF",
"-DENABLE_INSTALLED_TESTS=OFF",
"-DENABLE_PST_IMPORT=OFF",
"-DENABLE_TEXT_HIGHLIGHT=OFF",
"-DENABLE_YTNEF=OFF",
"-DWITH_GLADE_CATALOG=OFF",
"-DWITH_HELP=OFF"
],
"cleanup": [
"/etc/xdg",
"/share/GConf"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/evolution.git",
"branch": "master"
},
{
"type": "shell",
"commands": [
"cp config.h.in config.h.in.orig",
"cat config.h.in.orig | sed -e \"s|\\@VERSION_SUBSTRING\\@| \\(flatpak git$(git log --pretty=format:%h --max-count=1)\\)|\" >config.h.in"
]
},
{
"type": "script",
"commands": [
"if [ \"$1\" = \"--quit\" -o \"$1\" = \"--force-shutdown\" ]; then",
" /app/bin/evolution.bin \"$@\"",
"else",
" export GIO_USE_NETWORK_MONITOR=base",
" gsettings reset org.gnome.evolution-data-server network-monitor-gio-name",
" /app/libexec/evolution-source-registry &",
" sleep 1",
" /app/libexec/evolution-addressbook-factory -r &",
" /app/libexec/evolution-calendar-factory -r &",
" sleep 1",
" /app/bin/evolution.bin \"$@\"",
"fi"
],
"dest-filename": "flatpak-evolution-wrapper.sh"
}
],
"post-install": [
"mv /app/bin/evolution /app/bin/evolution.bin",
"cp flatpak-evolution-wrapper.sh /app/bin/evolution"
]
},
{
"name": "libmspack",
"cleanup": [ "/bin" ],
"sources": [
{
"type": "archive",
"url": "https://www.cabextract.org.uk/libmspack/libmspack-0.8alpha.tar.gz",
"sha256": "0533792e9561375a5fce1bc96bbc65ec778af486e0daa3803b226da9244addaf"
}
]
},
{
"name": "evolution-ews",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/evolution-ews.git",
"branch": "master"
}
]
}
]
}