aboutsummaryrefslogtreecommitdiffstats
path: root/community/geary/APKBUILD
blob: 72280f5e3049665995abf777b978895f98382f4b (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.1
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="9b22062c9d97bf9bcdc9516dc6a2ea92562815a2d907fcd9148f7dc6a00548b006eba93c1204e9b4fef6683f09c5e9a5557f2816f79ebc51bbf9c0f8c0952476  geary-3.34.1.tar.xz"