summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/librsvg
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-07-27 16:36:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-30 09:16:52 +0100
commit43cf578a843d5f3e0564e5bdfffc4e581e0b9c65 (patch)
tree78588a0859300a2ec3fb5c2fb611e30e66c123e6 /meta/recipes-gnome/librsvg
parentf6bd6b72f82bdc0aed4c08d2bbe41f1cd4bb4335 (diff)
downloadpoky-43cf578a843d5f3e0564e5bdfffc4e581e0b9c65.tar.gz
librsvg: fix upstream version check
- upstream no longer uses odd-even scheme https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.55.1 - x.y.9z versions are pre-releases and need to be excluded (From OE-Core rev: df99bd7c99bb5c18632ab8203d64b54b4b8a2204) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/librsvg')
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.56.1.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.56.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.56.1.bb
index edd7ad38fd..76fd5ae2d5 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.56.1.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.56.1.bb
@@ -14,7 +14,7 @@ SECTION = "x11/utils"
14DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native" 14DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native"
15BBCLASSEXTEND = "native nativesdk" 15BBCLASSEXTEND = "native nativesdk"
16 16
17inherit cargo_common gnomebase pixbufcache upstream-version-is-even gobject-introspection rust vala gi-docgen cargo-update-recipe-crates 17inherit cargo_common gnomebase pixbufcache gobject-introspection rust vala gi-docgen cargo-update-recipe-crates
18 18
19require ${BPN}-crates.inc 19require ${BPN}-crates.inc
20 20
@@ -23,6 +23,8 @@ SRC_URI += "file://0001-Makefile.am-pass-rust-target-to-cargo-also-when-not-.pat
23 23
24SRC_URI[archive.sha256sum] = "1685aeacae9a441dcb12c0c3ec63706172a2f52705dafbefb8e7311d4d5e430b" 24SRC_URI[archive.sha256sum] = "1685aeacae9a441dcb12c0c3ec63706172a2f52705dafbefb8e7311d4d5e430b"
25 25
26UPSTREAM_CHECK_REGEX = "librsvg-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
27
26# librsvg is still autotools-based, but is calling cargo from its automake-driven makefiles 28# librsvg is still autotools-based, but is calling cargo from its automake-driven makefiles
27# so we cannot use cargo class directly, but still need bits and pieces from it 29# so we cannot use cargo class directly, but still need bits and pieces from it
28# for cargo to be happy 30# for cargo to be happy