# Contributor: Rasmus Thomsen # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=evolution-data-server pkgver=3.34.2 pkgrel=0 pkgdesc="data server for evolution" url="https://projects.gnome.org/evolution" arch="all" license="GPL-2.0-or-later" depends_dev="libgdata-dev db-dev gcr-dev icu-dev" makedepends="$depends_dev gperf flex bison glib-dev gtk+3.0-dev libsecret-dev libsoup-dev libxml2-dev nss-dev sqlite-dev krb5-dev gnu-libiconv-dev openldap-dev json-glib-dev webkit2gtk-dev libgweather-dev cmake libical-dev libcanberra-dev vala gobject-introspection-dev gnome-online-accounts-dev" subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/evolution-data-server/${pkgver%.*}/evolution-data-server-$pkgver.tar.xz" prepare() { default_prepare mkdir -p "$builddir"/build } build() { cd "$builddir"/build CFLAGS="$CFLAGS -I/usr/include/gnu-libiconv" \ cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_GOA=ON \ -DENABLE_UOA=OFF \ -DENABLE_INTROSPECTION=ON \ -DENABLE_VALA_BINDINGS=ON \ .. make } check() { # failing tests case "$CARCH" in s390x) ;; *) make -C build check ;; esac } package() { make -C build DESTDIR="$pkgdir" install } sha512sums="0e32dd3290d8d61c8b415b4690424149547a32dd55da6f5607455424285bb5f9a72be8c7b0674a50d8e98e2921e64a536e40f333a0bf9a330d566206acba42d6 evolution-data-server-3.34.2.tar.xz"