libgudev: explicitly disable tests and vapi

Explicitly disable the tests and vapi support instead of relying on
defaults and missing dependencies.

(From OE-Core rev: c451a9cb6adbc9480dacd81e935a0b9369f22e07)

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>
(cherry picked from commit 575e2e29e00bb4492e7ee7f10b753e3f17982caa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Ross Burton 2023-09-06 19:14:15 +01:00 committed by Steve Sakoman
parent 1606f9676a
commit 1ebf76e213

View File

@ -25,6 +25,8 @@ GTKDOC_MESON_OPTION = "gtk_doc"
UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/"
UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))"
EXTRA_OEMESON += "-Dtests=disabled -Dvapi=disabled"
# 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):