aboutsummaryrefslogtreecommitdiffstats
path: root/community/calls/APKBUILD
blob: f4fcf69a267bc689894e4314000686fa7fc02296 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=calls
pkgver=0.2.0
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
	0001-call-display-update-libcallaudio-API-calls.patch
	0002-src-meson.build-update-libcallaudio-dependency.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="d89c725294779e294d53b51af7b1f63029f1dc44bc6fb28fa2e866bccbb49e1e42cb7c6870957d4bfc23ae61d265e0bebda0eaf33339c4a6701851af7d28ea08  calls-v0.2.0.tar.gz
ef324847f01ad2dec6961f6df1a6a9d41b2bd6532a9785d836b00aa1ed9ee5b8cca0bb9c2013cf8bf307eda0bbf8502b9781c6eeacf0ef14ad58b591a89d9985  0001-call-display-update-libcallaudio-API-calls.patch
84de4fa9ce4f28ec985ca4e0052b9e80fd7367fbd661ba3b0f12f2bc453f6520ac36309058981deeefb73b9d3802f468a0e9b9ec67a21365ba717ab03c8b980d  0002-src-meson.build-update-libcallaudio-dependency.patch"