aboutsummaryrefslogtreecommitdiffstats
path: root/community/chatty/APKBUILD
blob: 903dbfed1edd023831ec8ecb5a9b849e4f6de194 (plain)
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>
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=chatty
pkgver=0.1.16
pkgrel=0
pkgdesc="A phone dialer and call handler"
arch="all !s390x !mips !mips64" # Blocked by libhandy and evolution
url="https://gitlab.gnome.org/Community/Purism/chatty"
license="GPL-3.0-or-later"
depends="libpurple-xmpp purple-mm-sms cyrus-sasl"
makedepends="meson ninja gtk+3.0-dev pidgin-dev libhandy-dev evolution-dev
	evolution-data-server-dev libgee-dev folks-dev feedbackd-dev"
checkdepends="appstream-glib desktop-file-utils"
source="https://source.puri.sm/Librem5/chatty/-/archive/v$pkgver/chatty-v$pkgver.tar.gz
	0001-meson.build-set-version-to-0.1.16.patch"
subpackages="$pkgname-lang $pkgname-bash-completion"
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="3212031d6fece3551ce0cc40bcfd32f16b989f8a3d47e8203d87857f7cf44557f70d3951e65701c1c69182bb76c22d469d24395c8b0b4ad52c7fd030a7f546c7  chatty-v0.1.16.tar.gz
ee432882fb270865853cff2809677d8d145e2969d88ad5c2a63cb7a3506652011204646fdb04d6c9db0a79c23df9d86cbe371b57021ab4b6a3cc958bb122b979  0001-meson.build-set-version-to-0.1.16.patch"