# Forked from Alpine to apply Purism's mobile patches pkgname=geary pkgver=9999_git20201126 pkgrel=0 _commit="7644e034c4034658305c23008db8d12dcf01a9c9" pkgdesc="Geary is an email application built around conversations" url="https://wiki.gnome.org/Apps/Geary" # libhandy is not available on s390x or mips arch="all !s390x !mips !mips64" license="LGPL-2.1-or-later AND CC-BY-3.0 AND BSD-2-Clause" depends="iso-codes dbus:org.freedesktop.Secrets" makedepends=" appstream-glib-dev enchant2-dev folks-dev gcr-dev glib-dev gmime-dev gnome-online-accounts-dev gspell-dev gtk+3.0-dev iso-codes-dev itstool json-glib-dev libcanberra-dev libgee-dev libhandy1-dev libnotify-dev libpeas-dev libsecret-dev libxml2-dev meson sqlite-dev vala webkit2gtk-dev ytnef-dev " checkdepends=" desktop-file-utils ibus xvfb-run " options="!check" # https://gitlab.gnome.org/GNOME/geary/-/issues/776 subpackages="$pkgname-lang $pkgname-doc" source="https://source.puri.sm/Librem5/geary/-/archive/$_commit/geary-$_commit.tar.gz" builddir="$srcdir/$pkgname-$_commit" build() { abuild-meson \ -Dlibunwind_optional=true \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { xvfb-run meson test --no-rebuild -v -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="bd208108f6f22864422daf26a0a689f4100d30c1eadbac31bb67b8cd897faf5353064b5af99f8b74882d794cf3050483e84ffddc356bc1768cff2dabd0358054 geary-7644e034c4034658305c23008db8d12dcf01a9c9.tar.gz"