# Forked from Alpine to apply Purism's mobile patches pkgname=gnome-contacts pkgver=9999_git20211030 _pkgver=41.0 pkgrel=0 pkgdesc="A contacts manager for GNOME" url="https://wiki.gnome.org/Apps/Contacts" # mips64 and riscv64 blocked by webkit2gtk -> evolution-data-server # s390x blocked by libhandy1 arch="all !s390x !mips64 !riscv64" license="GPL-2.0-or-later" makedepends="meson vala folks-dev libgee-dev glib-dev gnome-desktop-dev gnome-online-accounts-dev cheese-dev evolution-data-server-dev telepathy-glib-dev libhandy1-dev gtk+3.0-dev" checkdepends="appstream-glib desktop-file-utils" subpackages="$pkgname-lang $pkgname-doc" source="https://download.gnome.org/sources/gnome-contacts/${_pkgver%.*}/gnome-contacts-$_pkgver.tar.xz 0001-ContactSheet-Add-make-call-and-send-sms-button.patch 0002-Contact-Sheet-use-normalized-phone-number-for-tel-and-sms-.patch 0003-Sheet-use-user-available-symbolic-for-send-sms-btn.patch 0004-ContactSheet-always-show-im-details.patch" builddir="$srcdir/$pkgname-$_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=" 310f333c0863d8e58c2280b994071b2655eee7224ab80a468ffc7acc61834d3f6dbb794bbdc5b8d4428226bab96f3ea65b8bed39df79d88704e38b51a8f4b05f gnome-contacts-41.0.tar.xz 8bf50d6090b1cab1489eb2a837fa774077658d2bb70ccc920bf225d7ec379d1d487f6e8e88d87732ee56826abcb2e85b3eb70bdbbeba89aa5bf1aa1af7f4fe4e 0001-ContactSheet-Add-make-call-and-send-sms-button.patch 163dd9506f783af1816c2884f606e910c4b22322268d54d11296978f3359c1973627b04c65d8c78bb403882c3194a39a38952cc17ccd07ffa2735e9d818bf5fc 0002-Contact-Sheet-use-normalized-phone-number-for-tel-and-sms-.patch e7485667fbc0a8d53d9e7a554e72fd029143b3b4a94b04c8132dd9e8d87c0771411b89493e8f863f091fca573f5f5c7ff573baf081a3228e8d5ef8b3130743ff 0003-Sheet-use-user-available-symbolic-for-send-sms-btn.patch 1535bee27e8835727be875c22d6c5641610f19ea5982a57b648ee585c5e4b4037e501457869fdf73c3965b31456ea8944ff7259d3ace5d1f4397a70e8bd903ae 0004-ContactSheet-always-show-im-details.patch "