# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=geary pkgver=3.34.2 pkgrel=0 pkgdesc="Geary is an email application built around conversations" url="https://wiki.gnome.org/Apps/Geary" arch="all !armhf" #failing tests license="LGPL-2.1-or-later AND CC-BY-3.0 AND BSD-2-Clause" depends="iso-codes" 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 gmime26-dev itstool appstream-glib-dev gspell-dev ytnef-dev libhandy-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=release \ -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="d34886829e1330bfe7fe4891b5e368010f5742a5ac20ab057a902897df1f6c4145a882379d9dbe82e0c954a91db265b9758ddd2eb96b9c03c0efc0f6d8cc6ea0 geary-3.34.2.tar.xz"