129.4. libgudev-238
GObject bindings for libudev (used by upower and NetworkManager)
238-1 · LGPL-2.1-or-later · 0.1 SBU · 108.7 KiB, 12 files · 41_system, 180 of 1047 · ports/core/gtk/libgudev
Homepage: https://gitlab.gnome.org/GNOME/libgudev
libgudev wraps libudev in GObject: a GLib program uses it to enumerate devices, read their udev properties and receive add, change and remove events on the GLib main loop. On KDOS libudev is eudev’s, so no systemd is involved. Its users are the system services and desktop libraries built on GLib, among them upower, networkmanager, modemmanager, udisks2 and the GStreamer plugin packages.
Depends on: meson, eudev, glib.
Required by (17): gimp, gst-plugins-bad, gst-plugins-base, gst-plugins-good, gvfs, iio-sensor-proxy, libfprint, libqmi, libwacom, modemmanager, networkmanager, rhythmbox, switcheroo-control, udisks2, upower, xdg-desktop-portal, xfburn.
Sources: libgudev-238.tar.xz (29.8 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libgudev'
build.sh:
meson setup build --buildtype=release \
--prefix=/usr --sysconfdir=/etc --libdir=lib \
-Dintrospection=disabled \
-Dvapi=disabled \
-Dtests=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
-Dintrospection=disabled— Generate noGUdev-1.0GIR or typelib. gobject-introspection is not independs, so at the default,auto, whether the package carried the data would depend on whether gobject-introspection happened to be installed before this port was built.-Dvapi=disabled— Generate no Vala binding. It needsvapigenfrom vala, which is not independseither, andautowould make the package depend on build order in the same way.-Dtests=disabled— Build no tests. They need umockdev, which is not a port.
Libraries: libgudev-1.0.so.
Directories: /usr/include/gudev-1.0, /usr/share/licenses/libgudev.