# Contributor: Bart Ribbers # Contributor: Danct12 # Contributor: Rasmus Thomsen # Contributor: Mike Banon # Maintainer: Clayton Craft pkgname=chatty pkgver=0.7.3 pkgrel=1 _libcmatrix=ec50358d3bf102e7f8f1843e537bcf1f150d2b7a _libgd=c7c7ff4e05d3fe82854219091cf116cce6b19de0 pkgdesc="XMPP and SMS messaging via libpurple and Modemmanager" # s390x: doubt anyone would use a mainframe for texting # ppc64le lacks the libphonenumber / libphonenumber-dev arch="all !s390x !ppc64le" url="https://source.puri.sm/Librem5/chatty" license="GPL-3.0-or-later" depends=" cyrus-sasl purple-xmpp mmsd-tng purple-carbons purple-lurch purple-xmpp-http-upload " makedepends=" evolution-data-server-dev evolution-dev feedbackd-dev folks-dev gspell-dev gtk+3.0-dev libgee-dev libhandy1-dev libphonenumber-dev meson modemmanager-dev olm-dev pidgin-dev " checkdepends="appstream-glib desktop-file-utils" source="https://source.puri.sm/Librem5/chatty/-/archive/v$pkgver/chatty-v$pkgver.tar.gz https://source.puri.sm/Librem5/libcmatrix/-/archive/$_libcmatrix/libcmatrix-$_libcmatrix.tar.gz https://gitlab.gnome.org/GNOME/libgd/-/archive/$_libgd/libgd-$_libgd.tar.gz " subpackages="$pkgname-lang $pkgname-bash-completion $pkgname-dbg" options="!check" # Requires running Wayland compositor builddir="$srcdir/$pkgname-v$pkgver" prepare() { rm -rf "$builddir"/subprojects/libgd rm -rf "$builddir"/subprojects/libcmatrix mv "$srcdir"/libgd-$_libgd "$builddir"/subprojects/libgd mv "$srcdir"/libcmatrix-$_libcmatrix "$builddir"/subprojects/libcmatrix default_prepare } build() { abuild-meson \ -Db_lto=true \ . output meson compile -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 3046b8883cdfbf52ce01c63baa84902435bcc8776c65014da04091a2e695ebf31b93ec06afd40a4aec1520571ea47a1d22475767215ef300cd6aada78d1b5920 chatty-v0.7.3.tar.gz 2cca107d97e1e3dac9d3f3d8d404c45b1033c7f672f789fdb27b3b7dbd14c3d5b2a831d952335e45974382589b2d8d6f815272c94174eb51f64ecb84dc29a89d libcmatrix-ec50358d3bf102e7f8f1843e537bcf1f150d2b7a.tar.gz 681cc23b5a33df88a92e3aac33d0dba1c6ebb69a2bd6f15b6ae31f0b444c108f7bfd1391e604433be58d82c0032028b112652d3d0c473abe4db02d66c55cdef3 libgd-c7c7ff4e05d3fe82854219091cf116cce6b19de0.tar.gz "