- 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

Signed-off-by: Alexander Kanavin <a...@linutronix.de>
---
 meta/recipes-gnome/librsvg/librsvg_2.56.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/librsvg/librsvg_2.56.1.bb 
b/meta/recipes-gnome/librsvg/librsvg_2.56.1.bb
index edd7ad38fd6..76fd5ae2d51 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"
 DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native"
 BBCLASSEXTEND = "native nativesdk"
 
-inherit cargo_common gnomebase pixbufcache upstream-version-is-even 
gobject-introspection rust vala gi-docgen cargo-update-recipe-crates
+inherit cargo_common gnomebase pixbufcache gobject-introspection rust vala 
gi-docgen cargo-update-recipe-crates
 
 require ${BPN}-crates.inc
 
@@ -23,6 +23,8 @@ SRC_URI += 
"file://0001-Makefile.am-pass-rust-target-to-cargo-also-when-not-.pat
 
 SRC_URI[archive.sha256sum] = 
"1685aeacae9a441dcb12c0c3ec63706172a2f52705dafbefb8e7311d4d5e430b"
 
+UPSTREAM_CHECK_REGEX = "librsvg-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
+
 # librsvg is still autotools-based, but is calling cargo from its 
automake-driven makefiles
 # so we cannot use cargo class directly, but still need bits and pieces from 
it 
 # for cargo to be happy
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#184946): 
https://lists.openembedded.org/g/openembedded-core/message/184946
Mute This Topic: https://lists.openembedded.org/mt/100391607/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to