summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-gnome/gcr/gcr_4.4.0.1.bb (renamed from meta/recipes-gnome/gcr/gcr_4.3.1.bb)11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gcr/gcr_4.3.1.bb b/meta/recipes-gnome/gcr/gcr_4.4.0.1.bb
index f556376258..25c394c9d0 100644
--- a/meta/recipes-gnome/gcr/gcr_4.3.1.bb
+++ b/meta/recipes-gnome/gcr/gcr_4.4.0.1.bb
@@ -19,7 +19,7 @@ UPSTREAM_CHECK_REGEX = "gcr-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
19 19
20REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" 20REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
21 21
22SRC_URI[archive.sha256sum] = "b2f070fff1840eef70546a28be80235427c116aadc593b5b68ccc869be3aa09d" 22SRC_URI[archive.sha256sum] = "0c3c341e49f9f4f2532a4884509804190a0c2663e6120360bb298c5d174a8098"
23 23
24PACKAGECONFIG ??= " \ 24PACKAGECONFIG ??= " \
25 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ 25 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
@@ -55,3 +55,12 @@ ssh-add = '${bindir}/ssh-add'
55ssh-agent = '${bindir}/ssh-agent' 55ssh-agent = '${bindir}/ssh-agent'
56EOF 56EOF
57} 57}
58
59# gnome_verdir is coming from gnomebase.bbclass, which seems to work
60# with gcr as long as its version has 3 sections (x.y.z).
61# This version is 4.4.0.1 - add a custom version parser, otherwise the
62# original parser constructs invalid download URL.
63# It can be removed with the next update, when/if the version has only
64# 3 sections again.
65def gnome_verdir(v):
66 return ".".join(v.split(".")[:2]) or v