95.9. libgpiod-2.3.1
The chardev GPIO ABI — gpioset, gpioget and gpiomon
2.3.1-1 · LGPL-2.1-or-later AND GPL-2.0-or-later · 0.1 SBU · 520.8 KiB, 32 files · 41_system, 444 of 1047 · ports/core/hardware/libgpiod
Homepage: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/hardware.txt:
The chardev GPIO ABI — /sys/class/gpio is gone, and gpiomon on this is a poor man's logic analyzer needing no hardware beyond the header pins.
Depends on: meson, pkgconf, help2man, libedit.
Required by (7): avrdude, direwolf, fldigi, flrig, linuxcnc, nut, openfpgaloader.
Sources: libgpiod-2.3.1.tar.gz (305.5 KiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
-Ddbus=disabled, line 17: dbus
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libgpiod'
build.sh:
meson setup build --prefix=/usr --libdir=lib --buildtype=release \
-Dtools=enabled -Dgpioset-interactive=enabled \
-Dtests=disabled -Dexamples=disabled \
-Dbindings-cxx=disabled -Dbindings-python=disabled \
-Dbindings-rust=disabled -Dbindings-glib=disabled \
-Ddbus=disabled -Dintrospection=disabled -Dsystemd=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
Programs: gpiodetect, gpioget, gpioinfo, gpiomon, gpionotify, gpioset.
Libraries: libgpiod.a, libgpiod.so, libgpiotools.so.
Directories: /usr/share/licenses/libgpiod.