mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
dd555537fc
commit
cde73f6048
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user