aboutsummaryrefslogtreecommitdiffstats
path: root/community/calls/APKBUILD
blob: 2901bb7598db7d39dc53ddfa3b175d5cc1e3e57f (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=calls
pkgver=0.3.1
pkgrel=1
pkgdesc="A phone dialer and call handler"
arch="all !s390x !mips !mips64" # Blocked by libhandy
url="https://gitlab.gnome.org/Community/Purism/calls"
license="GPL-3.0-or-later"
depends="modemmanager callaudiod"
makedepends="meson ninja vala gettext-dev gobject-introspection-dev gtk+3.0-dev libhandy1-dev
	gsound-dev libpeas-dev modemmanager-dev gom-dev evolution-data-server-dev folks-dev
	feedbackd-dev callaudiod-dev"
subpackages="$pkgname-lang"
source="https://source.puri.sm/Librem5/calls/-/archive/v$pkgver/calls-v$pkgver.tar.gz"
options="!check" # Requires running Wayland compositor
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	abuild-meson . 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="96229fff5e4adf0ecfcacf182462527eb219144f631297f26e2f1265e52734739c8479cb671555397728e60b806806b5a1ec2154962609add534002bbda72aac  calls-v0.3.1.tar.gz"