aboutsummaryrefslogtreecommitdiffstats
path: root/community/folks/APKBUILD
blob: 33af91dae271e55ac412b27d5885bb7fcdab6a77 (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
44
45
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=folks
pkgver=0.14.0
pkgrel=3
pkgdesc="GObject Library to aggregate people into metacontacts"
url="https://wiki.gnome.org/Projects/Folks"
# mips64 and riscv64 blocked by evolution-data-server
arch="all !mips64 !riscv64"
arch="$arch !s390x" # blocked by tracker
license="LGPL-2.1-or-later"
makedepends="
	evolution-data-server-dev
	gobject-introspection-dev
	gtk-doc
	libgee-dev
	meson
	py3-dbusmock
	py3-setuptools
	python3
	readline-dev
	telepathy-glib-dev
	tracker-dev
	vala
	"
options="!check" # Can only be run against installed instance
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/folks/${pkgver%.*}/folks-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Ddocs=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="94dc025668ac34df203ea351430bf82dddb4e275d936e2b959a1b9a4cf0fff0218a4baa7d3a89c152a2cb21a94250d731c8e7470d50ac4b658fbe1448974a69e  folks-0.14.0.tar.xz"