# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=evolution pkgver=3.48.4 pkgrel=0 pkgdesc="evolution mail client" url="https://projects.gnome.org/evolution" arch="all" license="GPL-2.0-or-later" depends="highlight gsettings-desktop-schemas" depends_dev="evolution=$pkgver-r$pkgrel enchant2-dev gcr-dev itstool libcanberra-dev libgweather4-dev libnotify-dev libxml2-dev openldap-dev " makedepends="$depends_dev bison cmake cmark-dev evolution-data-server-dev flex geocode-glib-dev glib-dev gnome-autoar-dev gnome-desktop-dev gperf gsettings-desktop-schemas-dev gspell-dev gtk+3.0-dev gtkspell3-dev libxml2-utils nss-dev samurai webkit2gtk-4.1-dev " options="!check" # need to be installed subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/evolution/${pkgver%.*}/evolution-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONF_INSTALL_DIR=/etc \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DENABLE_GNOME_DESKTOP=ON \ -DENABLE_AUTOAR=ON \ -DENABLE_YTNEF=OFF \ -DENABLE_PST_IMPORT=OFF \ -DENABLE_SMIME=ON \ -DENABLE_SCHEMAS_COMPILE=OFF cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 6476a995fe2ef4c9aa849296a7b9c6174d0b0d373efe72139a94911cd370efb4b517dbace173295fd3d2114dcb50e8fe3227eeee917a2ca9cbdecc9a1fdadd47 evolution-3.48.4.tar.xz "