aboutsummaryrefslogtreecommitdiffstats
path: root/community/calls/APKBUILD
blob: 0b0c8ed0ec9317fc42983ed82258cf8cd64db626 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=calls
pkgver=0.1.9
pkgrel=0
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
	fix-meson.patch"
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="89a5063159593094e3d6e19c14258abe682edf7331ddbc4585baf4043763fca2a3a89322ee72285d644ad9420e5848f8ca6dc89225a726a5524abbe6d5ec3d57  calls-v0.1.9.tar.gz
6cf822b0bc9a6c63c21436cfde3b3a07d1d4dde34eb385a8a2c21fc04337371f4ecd4f6f83113a7bb7c50bc79c146ef840ea4b15308054a12496eb1dbf7f35cd  fix-meson.patch"