2020-09-04 20:07:48 +00:00
|
|
|
# Forked from Alpine to apply Purism's mobile patches
|
|
|
|
pkgname=gnome-contacts
|
2021-07-11 14:53:40 +00:00
|
|
|
pkgver=9999_git20210711
|
2021-10-26 14:13:23 +00:00
|
|
|
pkgrel=1
|
2021-07-11 14:53:40 +00:00
|
|
|
_commit="2357edb60111f19da83630dc08d009451b3524f5"
|
2020-09-04 20:07:48 +00:00
|
|
|
pkgdesc="A contacts manager for GNOME"
|
|
|
|
url="https://wiki.gnome.org/Apps/Contacts"
|
|
|
|
arch="all !s390x !mips !mips64" # libhandy is missing
|
|
|
|
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
|
2021-07-11 14:53:40 +00:00
|
|
|
libhandy1-dev gtk+3.0-dev"
|
2020-09-04 20:07:48 +00:00
|
|
|
checkdepends="appstream-glib desktop-file-utils"
|
|
|
|
subpackages="$pkgname-lang $pkgname-doc"
|
2020-09-12 21:24:37 +00:00
|
|
|
source="
|
2021-07-11 14:53:40 +00:00
|
|
|
https://source.puri.sm/Librem5/debs/gnome-contacts/-/archive/$_commit/gnome-contacts-$_commit.tar.bz2
|
2020-09-12 21:24:37 +00:00
|
|
|
"
|
2020-09-04 20:07:48 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
2021-07-11 14:53:40 +00:00
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
|
|
|
|
grep "\.patch$" debian/patches/series \
|
|
|
|
| xargs -I {} -t -r -n1 patch -p1 -i debian/patches/{}
|
|
|
|
}
|
|
|
|
|
2020-09-04 20:07:48 +00:00
|
|
|
build() {
|
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--buildtype=plain \
|
|
|
|
. output
|
|
|
|
ninja -C output
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
ninja -C output test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" ninja -C output install
|
|
|
|
}
|
|
|
|
|
2021-07-11 14:53:40 +00:00
|
|
|
sha512sums="
|
|
|
|
8457b24dd135c986619bdf9ac42c46ba29a5f6b4a511b92c485db9c12ea4250dc42c09ceb1dd30287adc3263ead94c779999d39ed95146a1449d6cd2ae68d262 gnome-contacts-2357edb60111f19da83630dc08d009451b3524f5.tar.bz2
|
|
|
|
"
|