{ "app-id": "org.gnome.evolution-nightly", "runtime": "org.gnome.Platform", "runtime-version": "master", "sdk": "org.gnome.Sdk", "command": "evolution", "rename-icon": "evolution", "copy-icon": true, "branch": "master", "desktop-file-name-suffix": " (Nightly)", "tags": [ "devel" ], "cleanup": [ "*.la", "*.a" ], "finish-args": [ "--share=ipc", "--share=network", "--socket=fallback-x11", "--socket=wayland", "--socket=pulseaudio", "--socket=pcsc", "--device=dri", "--filesystem=~/.gnupg:rw", "--filesystem=xdg-config/gnupg:rw", "--filesystem=~/.pki:rw", "--filesystem=xdg-config/pki:rw", "--filesystem=xdg-run/gvfsd:rw", "--filesystem=/run/.heim_org.h5l.kcm-socket", "--metadata=X-DConf=migrate-path=/org/gnome/evolution/", "--talk-name=org.freedesktop.Notifications", "--talk-name=org.freedesktop.secrets", "--talk-name=org.gnome.keyring.SystemPrompter", "--talk-name=org.gnome.OnlineAccounts" ], "add-extensions": { "org.gnome.Evolution.Extension": { "directory": "evolution/extensions", "add-ld-path": "lib", "merge-dirs": "lib;share", "subdirectories": true, "no-autodownload": true, "autodelete": true } }, "modules": [ { "name": "libcanberra", "config-opts": [ "--disable-gtk", "--disable-oss", "--enable-alsa", "--enable-gtk3", "--enable-null", "--without-systemdsystemunitdir", "--with-builtin=dso", "--disable-gtk-doc", "--disable-gtk-doc-html" ], "cleanup": [ "/bin", "/share/gtk-doc", "/share/gdm", "/share/gnome", "/share/vala" ], "sources": [ { "type": "git", "url": "git://git.0pointer.net/libcanberra.git", "branch": "master" } ] }, { "name": "libical", "cleanup": [ "/lib/cmake", "/libexec/libical" ], "buildsystem": "cmake-ninja", "config-opts": [ "-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib", "-DBUILD_SHARED_LIBS:BOOL=ON", "-DGOBJECT_INTROSPECTION:BOOL=ON", "-DICAL_BUILD_DOCS:BOOL=OFF", "-DICAL_GLIB_VAPI:BOOL=ON", "-DICAL_GLIB:BOOL=ON" ], "sources": [ { "type": "git", "url": "https://github.com/libical/libical.git", "branch": "3.0" } ] }, { "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": "librest", "buildsystem": "meson", "config-opts": [ "-Dexamples=false", "-Dgtk_doc=false", "-Dtests=false" ], "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/GNOME/librest.git", "branch": "master" } ] }, { "name": "gnome-online-accounts", "buildsystem": "meson", "config-opts": [ "-Dvapi=false", "-Dgoabackend=false", "-Dintrospection=false" ], "cleanup": [ "/bin" ], "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/GNOME/gnome-online-accounts.git", "branch": "master" } ] }, { "name": "geocode-glib", "buildsystem": "meson", "config-opts": [ "-Denable-installed-tests=false", "-Denable-introspection=false", "-Denable-gtk-doc=false", "-Dsoup2=false" ], "cleanup": [ "/share/gtk-doc" ], "sources": [ { "type": "archive", "url": "https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.3.tar.xz", "sha256": "1dfeae83b90eccca1b6cf7dcf7c5e3b317828cf0b56205c4471ef0f911999766" } ] }, { "name": "libgweather4", "buildsystem": "meson", "config-opts": [ "-Denable_vala=false", "-Dgtk_doc=false", "-Dintrospection=false", "-Dtests=false" ], "cleanup": [ "/lib/girepository-1.0", "/share/gtk-doc", "/share/gir-1.0" ], "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/GNOME/libgweather.git", "branch": "main" } ] }, { "name": "openldap", "rm-configure": true, "cleanup": [ "/bin", "/etc", "/share/man" ], "config-opts": [ "--disable-backends", "--disable-overlays", "--disable-slapd", "--disable-debug", "--enable-dynamic", "--without-threads", "--with-tls=gnutls" ], "sources": [ { "type": "archive", "url": "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.6.2.tgz", "sha256": "81d09345232eb62486ecf5acacd2c56c0c45b4a6c8c066612e7f421a23a1cf87" }, { "type": "script", "dest-filename": "autogen.sh", "commands": [ "AUTOMAKE=\"/bin/true\" autoreconf -vfi" ] } ] }, { "name": "evolution-data-server", "buildsystem": "cmake-ninja", "cleanup": [ "/etc/xdg", "/share/GConf" ], "config-opts": [ "-DDBUS_SERVICES_PREFIX=org.gnome.evolution-nightly", "-DEXTENSIONS_DIR=/app/evolution/extensions", "-DENABLE_FILE_LOCKING=fcntl", "-DENABLE_DOT_LOCKING=OFF", "-DENABLE_GTK=ON", "-DENABLE_GTK4=OFF", "-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": "intltool", "cleanup": [ "*" ], "sources": [ { "type": "archive", "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz", "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" } ] }, { "name": "gspell", "config-opts": [ "--disable-gtk-doc", "--disable-introspection", "--disable-vala" ], "cleanup": [ "/bin", "/share/gtk-doc" ], "sources": [ { "type": "archive", "url": "https://download.gnome.org/sources/gspell/1.9/gspell-1.9.1.tar.xz", "sha256": "dcbb769dfdde8e3c0a8ed3102ce7e661abbf7ddf85df08b29915e92cd723abdd" } ] }, { "name": "pinentry", "config-opts": [ "--enable-pinentry-gnome3", "--disable-ncurses", "--disable-fallback-curses", "--disable-pinentry-curses", "--disable-pinentry-emacs", "--disable-pinentry-gtk2", "--disable-pinentry-qt5", "--disable-pinentry-tty", "--disable-pinentry-tqt", "--disable-pinentry-fltk" ], "cleanup": [ "/share/info" ], "sources": [ { "type": "archive", "url": "https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.2.0.tar.bz2", "sha256": "10072045a3e043d0581f91cd5676fcac7ffee957a16636adedaa4f583a616470" } ] }, { "name": "bogofilter", "buildsystem": "simple", "build-commands": [ "cd ./bogofilter/ && echo \"# Skip for Flatpak build\" > doc/Makefile.am && autoreconf -fi && ./configure --prefix=/app --disable-rpath --with-database=sqlite3 && make && make install" ], "cleanup": [ "/etc" ], "sources": [ { "type": "git", "url": "https://git.code.sf.net/p/bogofilter/git", "branch": "main" } ] }, { "name": "cmark", "buildsystem": "cmake-ninja", "builddir": true, "cleanup": [ "/bin", "/lib/cmake", "/share" ], "sources": [ { "type": "archive", "url": "https://github.com/commonmark/cmark/archive/refs/tags/0.30.2.tar.gz", "sha256": "6c7d2bcaea1433d977d8fed0b55b71c9d045a7cdf616e3cd2dce9007da753db3" } ] }, { "name": "evolution", "buildsystem": "cmake-ninja", "build-options" : { "cflags": "-DTEMP_HOME=1 -Wno-deprecated-declarations" }, "config-opts": [ "-DOVERRIDE_APPLICATION_ID=org.gnome.evolution-nightly", "-DENABLE_MAINTAINER_MODE=ON", "-DENABLE_AUTOAR=OFF", "-DENABLE_CONTACT_MAPS=OFF", "-DENABLE_GNOME_DESKTOP=OFF", "-DENABLE_GTK_DOC=ON", "-DENABLE_INSTALLED_TESTS=OFF", "-DENABLE_PST_IMPORT=OFF", "-DENABLE_TEXT_HIGHLIGHT=OFF", "-DENABLE_YTNEF=OFF", "-DWITH_BOGOFILTER=/app/bin/bogofilter", "-DWITH_GLADE_CATALOG=OFF", "-DWITH_HELP=ON" ], "cleanup": [ "/etc/xdg", "/share/GConf", "/share/man" ], "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", "cp data/org.gnome.Evolution.appdata.xml.in.in data/org.gnome.Evolution.appdata.xml.in.in.orig", "cat data/org.gnome.Evolution.appdata.xml.in.in.orig | sed -e \"s|\\@APPDATA_RELEASES\\@|APPDATA_RELEASES|\" >data/org.gnome.Evolution.appdata.xml.in.in" ] } ], "post-install": [ "mv /app/share/applications/org.gnome.Evolution.desktop /app/share/applications/org.gnome.evolution-nightly.desktop" ] } ] }