diff options
author | Ross Burton <ross@burtonini.com> | 2021-06-28 17:04:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-29 22:18:57 +0100 |
commit | cde73f60482e2060658d510b73299c990cd7d125 (patch) | |
tree | 3a1e16f0b225c4ca0519c305a8cda46894b3bcbf /meta/recipes-gnome | |
parent | dd555537fc35c5f934af09d601d70772eb5955ae (diff) | |
download | poky-cde73f60482e2060658d510b73299c990cd7d125.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.
(From OE-Core rev: f70dc20f8fe38e07385a8a5910624ef38f72e53e)
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.bb | 5 |
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" | |||
26 | 26 | ||
27 | UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/" | 27 | UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/" |
28 | UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))" | 28 | UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))" |
29 | |||
30 | # This isn't a GNOME-style version do gnome_verdir fails. Just return the | ||
31 | # version as that is how the directory is structured. | ||
32 | def gnome_verdir(v): | ||
33 | return v | ||