aboutsummaryrefslogtreecommitdiffstats
path: root/testing/geary/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-07 16:53:49 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-09 09:52:07 -0300
commit55e7c057a5ba32e327a525f3c29d011c163d1da3 (patch)
treed6ac1ef5faa063ddf3ba94d9cf4406620513e708 /testing/geary/APKBUILD
parent46e4d595e5cceab655cb17539c3b5051f2dcfa5f (diff)
downloadaports-55e7c057a5ba32e327a525f3c29d011c163d1da3.tar.bz2
aports-55e7c057a5ba32e327a525f3c29d011c163d1da3.tar.xz
testing/geary: move from unmaintained
Diffstat (limited to 'testing/geary/APKBUILD')
-rw-r--r--testing/geary/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/geary/APKBUILD b/testing/geary/APKBUILD
new file mode 100644
index 0000000000..686e77dca1
--- /dev/null
+++ b/testing/geary/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=geary
+pkgver=3.32.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"
+checkdepends="xvfb-run"
+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() {
+ xvfb-run ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="8ef01c497b22a8d2257103b508b1416b038d8fb0cb95f40010347722f9e321671c2a0869bd1220a8de0efdc71c5cd8c72770f232f58509f902c9e4a29530e5dd geary-3.32.2.tar.xz"