aboutsummaryrefslogtreecommitdiffstats
path: root/community/geary/APKBUILD
blob: d206d6ecd333c48b1490004cda5abfc43f96c4a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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"