temp/gnome-contacts: upgrade to 9999_git20210711 (MR 2212)
This commit is contained in:
parent
5f05b64259
commit
de056ce4f8
2 changed files with 15 additions and 33 deletions
|
@ -1,23 +1,29 @@
|
|||
# Forked from Alpine to apply Purism's mobile patches
|
||||
pkgname=gnome-contacts
|
||||
pkgver=9999_git20200619
|
||||
pkgrel=2
|
||||
_commit="334f9cdb5173358221da9be5b83a796b1c285904"
|
||||
pkgver=9999_git20210711
|
||||
pkgrel=0
|
||||
_commit="2357edb60111f19da83630dc08d009451b3524f5"
|
||||
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
|
||||
libhandy-dev gtk+3.0-dev"
|
||||
libhandy1-dev gtk+3.0-dev"
|
||||
checkdepends="appstream-glib desktop-file-utils"
|
||||
subpackages="$pkgname-lang $pkgname-doc"
|
||||
source="
|
||||
https://source.puri.sm/Librem5/gnome-contacts/-/archive/$_commit/gnome-contacts-$_commit.tar.bz2
|
||||
Dont-use-unsupported-vala-syntax.patch
|
||||
https://source.puri.sm/Librem5/debs/gnome-contacts/-/archive/$_commit/gnome-contacts-$_commit.tar.bz2
|
||||
"
|
||||
builddir="$srcdir/$pkgname-$_commit"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
grep "\.patch$" debian/patches/series \
|
||||
| xargs -I {} -t -r -n1 patch -p1 -i debian/patches/{}
|
||||
}
|
||||
|
||||
build() {
|
||||
meson \
|
||||
--prefix=/usr \
|
||||
|
@ -37,5 +43,6 @@ package() {
|
|||
DESTDIR="$pkgdir" ninja -C output install
|
||||
}
|
||||
|
||||
sha512sums="c984391a9fe4fab76da168a521a08b3c2798d152266dfe1af7172dcb74c9fe3a0c41534dc55f41ebfca16ab24d928e12b19fd5b278136c5ab2945d810bd42cb8 gnome-contacts-334f9cdb5173358221da9be5b83a796b1c285904.tar.bz2
|
||||
9b01a7ac134b254a4f240d77cb40384c59d47881b6dafaa53092ba8b254e58cb5e23f3e27c077d10c135c2648aff732b5708879485ac79310a49250c3116eba7 Dont-use-unsupported-vala-syntax.patch"
|
||||
sha512sums="
|
||||
8457b24dd135c986619bdf9ac42c46ba29a5f6b4a511b92c485db9c12ea4250dc42c09ceb1dd30287adc3263ead94c779999d39ed95146a1449d6cd2ae68d262 gnome-contacts-2357edb60111f19da83630dc08d009451b3524f5.tar.bz2
|
||||
"
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
From 22ac2c6fecc98efd11d96dc3e04938b8777a3510 Mon Sep 17 00:00:00 2001
|
||||
From: Rico Tzschichholz <ricotz@ubuntu.com>
|
||||
Date: Thu, 2 Jul 2020 15:34:42 +0200
|
||||
Subject: [PATCH] Don't use unsupported vala syntax
|
||||
|
||||
---
|
||||
src/contacts-avatar-utils.vala | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/contacts-avatar-utils.vala b/src/contacts-avatar-utils.vala
|
||||
index 15e84164..c5c6d61d 100644
|
||||
--- a/src/contacts-avatar-utils.vala
|
||||
+++ b/src/contacts-avatar-utils.vala
|
||||
@@ -126,7 +126,7 @@ namespace Contacts.AvatarUtils {
|
||||
|
||||
public Gdk.RGBA get_color_for_name(string name) {
|
||||
// https://gitlab.gnome.org/Community/Design/HIG-app-icons/blob/master/GNOME%20HIG.gpl
|
||||
- const double[,3] GNOME_COLOR_PALETTE = {
|
||||
+ const double[,] GNOME_COLOR_PALETTE = {
|
||||
{ 98, 160, 234 },
|
||||
{ 53, 132, 228 },
|
||||
{ 28, 113, 216 },
|
||||
--
|
||||
GitLab
|
||||
|
Loading…
Reference in a new issue