# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=geary pkgver=3.36.0 pkgrel=0 pkgdesc="Geary is an email application built around conversations" url="https://wiki.gnome.org/Apps/Geary" # tests fail on armhf # libhandy is not available on s390x arch="all !armhf !s390x" license="LGPL-2.1-or-later AND CC-BY-3.0 AND BSD-2-Clause" depends="iso-codes dbus:org.freedesktop.Secrets" makedepends="meson glib-dev gtk+3.0-dev sqlite-dev webkit2gtk-dev enchant2-dev gcr-dev folks-dev libgee-dev gnome-online-accounts-dev json-glib-dev iso-codes-dev libcanberra-dev libnotify-dev libsecret-dev libxml2-dev vala gmime-dev itstool appstream-glib-dev gspell-dev ytnef-dev libhandy-dev libpeas-dev" checkdepends="xvfb-run" options="!check" # engine-tests fails subpackages="$pkgname-lang $pkgname-doc" source="https://download.gnome.org/sources/geary/${pkgver%.*}/geary-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain \ -Dlibunwind_optional=true \ . output ninja -C output } check() { # client-tests fail with # ** (geary-test-client:6140): WARNING **: 22:33:28.365: WEBKIT_PROCESS_MODEL_SHARED_SECONDARY_PROCESS is deprecated and has no effect [ "$CARCH" = x86 ] && return 0 xvfb-run ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="aefc29e64acc8e4416eb213de8948b6d51dc12f1087b9376ddc8e4991efc171b36c35868043ab3159eef614916da82c046222c5ea6256b51cbc72bce9cfec7d6 geary-3.36.0.tar.xz"