summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-06-28 17:04:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-29 22:18:21 +0100
commitf70dc20f8fe38e07385a8a5910624ef38f72e53e (patch)
treed9f0fd064b5dda6e6045b2d3e403db11ef6622df /meta/recipes-gnome
parent244b3be0358a66e0cca4016fe26144e3d7323390 (diff)
downloadopenembedded-core-f70dc20f8fe38e07385a8a5910624ef38f72e53e.tar.gz
libgudev: fix SRC_URI
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>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/libgudev/libgudev_236.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-gnome/libgudev/libgudev_236.bb b/meta/recipes-gnome/libgudev/libgudev_236.bb
index daa578ddb1..5d1d2d782b 100644
--- a/meta/recipes-gnome/libgudev/libgudev_236.bb
+++ b/meta/recipes-gnome/libgudev/libgudev_236.bb
@@ -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