]> code.ossystems Code Review - openembedded-core.git/commitdiff
libgudev: fix SRC_URI
authorRoss Burton <ross@burtonini.com>
Mon, 28 Jun 2021 16:04:44 +0000 (17:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Jun 2021 21:18:21 +0000 (22:18 +0100)
Since oe-core fa8950d0c the logic to turn a version into a directory name
doesn't work for versions which are too short.

Solve this by overriding gnome_verdir() to return the version as-is, as
that is what the directory is called.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/libgudev/libgudev_236.bb

index daa578ddb195e358ecaf9874ce0be0de596781ba..5d1d2d782be9edcd547e343537dafaef1bec1d3a 100644 (file)
@@ -26,3 +26,8 @@ GTKDOC_MESON_OPTION = "gtk_doc"
 
 UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/"
 UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))"
+
+# This isn't a GNOME-style version do gnome_verdir fails. Just return the
+# version as that is how the directory is structured.
+def gnome_verdir(v):
+    return v