xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-gnome/libgudev/libgudev_237.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "GObject wrapper for libudev"
2DESCRIPTION = "This library makes it much simpler to use libudev from programs \
3already using GObject. It also makes it possible to easily use libudev from \
4other programming languages, such as Javascript, because of GObject \
5introspection support."
6HOMEPAGE = "https://wiki.gnome.org/Projects/libgudev"
7BUGTRACKER = "https://gitlab.gnome.org/GNOME/libgudev/issues"
8SRC_URI[archive.sha256sum] = "0d06b21170d20c93e4f0534dbb9b0a8b4f1119ffb00b4031aaeb5b9148b686aa"
9
10DEPENDS = "glib-2.0 udev"
11
12RCONFLICTS:${PN} = "systemd (<= 220)"
13
14LICENSE = "LGPL-2.1-only"
15LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
16
17GNOMEBASEBUILDCLASS = "meson"
18inherit gnomebase gobject-introspection gtk-doc
19
20GIR_MESON_ENABLE_FLAG = 'enabled'
21GIR_MESON_DISABLE_FLAG = 'disabled'
22
23GTKDOC_MESON_OPTION = "gtk_doc"
24
25UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/"
26UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))"
27
28# This isn't a GNOME-style version do gnome_verdir fails. Just return the
29# version as that is how the directory is structured.
30def gnome_verdir(v):
31    return v
32