Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

238.4. libvirt-glib-5.0.0

GLib, GObject and GConfig wrappers of the libvirt API, with introspection data and Vala bindings

5.0.0-1 · LGPL-2.1-or-later · 1.7 SBU · 2.3 MiB, 137 files · 43_toolkits, 332 of 344 · ports/core/virt/libvirt-glib

Homepage: https://libvirt.org

Depends on: meson, ninja, pkgconf, glib, libvirt, libxml2, gettext, gobject-introspection, vala.

Required by (1): virt-manager.

Sources: libvirt-glib-5.0.0.tar.xz (165.4 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install libvirt-glib'

build.sh:

meson setup build --prefix=/usr --sysconfdir=/etc --libdir=lib \
	--buildtype=release \
	-Dintrospection=enabled \
	-Dvapi=enabled \
	-Ddocs=disabled \
	-Dtests=disabled \
	-Dgit_werror=disabled \
	-Drpath=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Libraries: libvirt-gconfig-1.0.so, libvirt-glib-1.0.so, libvirt-gobject-1.0.so.

Directories: /usr/include/libvirt-gconfig-1.0, /usr/include/libvirt-glib-1.0, /usr/include/libvirt-gobject-1.0, /usr/share/licenses/libvirt-glib.