aboutsummaryrefslogtreecommitdiffstats
path: root/community/geary
diff options
context:
space:
mode:
Diffstat (limited to 'community/geary')
-rw-r--r--community/geary/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/geary/APKBUILD b/community/geary/APKBUILD
new file mode 100644
index 0000000000..d206d6ecd3
--- /dev/null
+++ b/community/geary/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=geary
+pkgver=3.34.0
+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="d7209fd0918575d2fb70f3fc029861d6b58b127a21bddc3deaccb5aa45786ce41564b755fd3a4e72961c80445d0bd7f1e2ee2a563519a23a35d78b4e6613b1e4 geary-3.34.0.tar.xz"