The libgudev package contains GObject bindings for libudev.
This package is known to build and work properly using an LFS 12.0 platform.
Download (HTTP): https://download.gnome.org/sources/libgudev/238/libgudev-238.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/libgudev/238/libgudev-238.tar.xz
Download MD5 sum: 46da30a1c69101c3a13fa660d9ab7b73
Download size: 32 KB
Estimated disk space required: 2.0 MB
Estimated build time: less than 0.1 SBU
gobject-introspection-1.76.1 (for gir-data, needed for GNOME), GTK-Doc-1.33.2, and umockdev-0.17.18 (for testing)
Install libgudev by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-Dgtk_doc=true
: Use this option if
GTK-Doc is installed and you wish to build and install the API
documentation.