aboutsummaryrefslogtreecommitdiffstats
path: root/community/chatty/APKBUILD
blob: 825e38867692b05d4db9e68d51782ed5786271e3 (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>
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=chatty
pkgver=0.3.2
pkgrel=0
pkgdesc="A phone dialer and call handler"
# s390x, mips64 and riscv64 blocked by purple-mm-sms
arch="all !s390x !mips64 !riscv64"
url="https://source.puri.sm/Librem5/chatty"
license="GPL-3.0-or-later"
depends="
	cyrus-sasl
	libpurple-xmpp
	purple-carbons
	purple-lurch
	purple-mm-sms
	purple-xmpp-http-upload
	"
makedepends="meson ninja gtk+3.0-dev pidgin-dev libhandy1-dev evolution-dev
	evolution-data-server-dev libgee-dev folks-dev feedbackd-dev libphonenumber-dev olm-dev"
checkdepends="appstream-glib desktop-file-utils"
source="https://source.puri.sm/Librem5/chatty/-/archive/v$pkgver/chatty-v$pkgver.tar.gz"
subpackages="$pkgname-lang $pkgname-bash-completion $pkgname-dbg"
options="!check" # Requires running Wayland compositor
builddir="$srcdir/$pkgname-v$pkgver"

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

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="bdf53a3708bcf866fd659f69c9f72d01da20208b8a48ca139b0cbe0278f66f368a1e02d49ec94c5cb458fa2263ccdd72266196e48631a7002d4d5b52e490e78d  chatty-v0.3.2.tar.gz"