aboutsummaryrefslogtreecommitdiffstats
path: root/community/chatty/APKBUILD
blob: d242cf741f1b292a4db4d6d7e45dafe46347f570 (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.3
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="97b1302110b4bd87664681ed1e34b63b6f561f9312fbbfe012ce540db78b4c3110c8837ba1d5beb35dee148560386f4c25fb3b5b455550ef491f1b0d4325a219  chatty-v0.3.3.tar.gz"