Files
evolution/flatpak/org.gnome.Evolution-master.json
2018-09-11 13:29:00 +02:00

369 lines
8.9 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",
"--talk-name=org.freedesktop.Notifications",
"--talk-name=org.freedesktop.portal.Desktop",
"--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.3/libical-3.0.3.tar.gz",
"sha256": "5b91eb8ad2d2dcada39d2f81d5e3ac15895823611dc7df91df39a35586f39241"
}
]
},
{
"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",
"config-opts": [
"--disable-introspection",
"--disable-gtk-doc"
],
"cleanup": [
"/share/gtk-doc"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/geocode-glib/3.24/geocode-glib-3.24.0.tar.xz",
"sha256": "19c1fef4fd89eb4bfe6decca45ac45a2eca9bb7933be560ce6c172194840c35e"
}
]
},
{
"name": "libgweather",
"config-opts": [
"--disable-glade-catalog",
"--disable-introspection",
"--disable-vala"
],
"cleanup": [
"/share/gtk-doc"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/libgweather/3.24/libgweather-3.24.1.tar.xz",
"sha256": "1227316037b63dac4153031a22abccb3d2ac679a7409e29cd303eec499eb653c"
}
]
},
{
"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": "dconf",
"config-opts": [
"--disable-gtk-doc",
"--disable-man"
],
"cleanup": [
"/share/bash-completion",
"/share/gtk-doc",
"/share/vala"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/dconf/0.26/dconf-0.26.0.tar.xz",
"sha256": "8683292eb31a3fae31e561f0a4220d8569b0f6d882e9958b68373f9043d658c9"
}
]
},
{
"name": "gnome-keyring",
"rm-configure": true,
"config-opts": [
"--with-pkcs11-config=/app/share/gk-to-remove",
"--with-pkcs11-modules=/app/share/gk-to-remove",
"--disable-doc",
"--disable-pam",
"--disable-p11-tests",
"--disable-ssh-agent"
],
"cleanup": [
"/etc/xdg",
"/share/gk-to-remove",
"/share/GConf"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/gnome-keyring/3.28/gnome-keyring-3.28.2.tar.xz",
"sha256": "81171b7d07211b216b4c9bb79bf2deb3deca18fe8d56d46dda1c4549b4a2646a"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"AUTOMAKE=\"automake --foreign\" autoreconf -vfi"
]
}
]
},
{
"name": "evolution-data-server",
"buildsystem": "cmake-ninja",
"cleanup": [ "/share/GConf" ],
"config-opts": [
"-DENABLE_FILE_LOCKING=fcntl",
"-DENABLE_DOT_LOCKING=OFF",
"-DENABLE_OAUTH2=ON",
"-DENABLE_GTK=ON",
"-DENABLE_UOA=OFF",
"-DENABLE_GOA=ON",
"-DENABLE_EXAMPLES=OFF",
"-DENABLE_INTROSPECTION=OFF",
"-DENABLE_VALA_BINDINGS=OFF",
"-DENABLE_INSTALLED_TESTS=OFF",
"-DENABLE_GTK_DOC=OFF",
"-DENABLE_DBUS_SESSION_TOOL=ON",
"-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": [
"export GIO_USE_NETWORK_MONITOR=base",
"echo evolution-flatpak | /app/bin/gnome-keyring-daemon --daemonize --unlock &",
"/app/libexec/dconf-service &",
"sleep 1",
"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",
"sleep 3"
],
"dest-filename": "flatpak-evolution-wrapper.sh"
},
{
"type": "script",
"commands": [
"/app/libexec/evolution-data-server/evolution-dbus-session \\",
" --exec /app/bin/evolution-wrapper \\",
" --service-dir /app/share/dbus-1/services/ \\",
" --iface org.freedesktop.Notifications:/org/freedesktop/Notifications \\",
" --iface org.freedesktop.portal.Desktop:/org/freedesktop/portal/desktop \\",
" --iface org.gnome.OnlineAccounts:/org/gnome/OnlineAccounts"
],
"dest-filename": "flatpak-evolution-run.sh"
}
],
"post-install": [
"mv /app/bin/evolution /app/bin/evolution.bin",
"cp flatpak-evolution-run.sh /app/bin/evolution",
"cp flatpak-evolution-wrapper.sh /app/bin/evolution-wrapper"
]
},
{
"name": "libmspack",
"cleanup": [ "/bin" ],
"sources": [
{
"type": "archive",
"url": "https://www.cabextract.org.uk/libmspack/libmspack-0.6alpha.tar.gz",
"sha256": "1edbee82accb28e679ab538f803aab7a5a569e4102ccf1715b462b1bd915f921"
}
]
},
{
"name": "evolution-ews",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/evolution-ews.git",
"branch": "master"
}
]
}
]
}