libvirt-glib: add recipe

libvirt-glib wraps libvirt to provide a high-level object-oriented API better
suited for glib-based applications, via three libraries:

  - libvirt-glib - GLib main loop integration & misc helper APIs
  - libvirt-gconfig - GObjects for manipulating libvirt XML documents
  - libvirt-gobject - GObjects for managing libvirt objects

It is needed as a dependency for glib based projects that make use of libvirt e.g.
virt-manager, virt-viewer or gnome boxes.

Compilation was tested for x86_64, aarch64 and qemumips

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Markus Volk 2022-11-01 17:30:17 +01:00 committed by Bruce Ashfield
parent 99e93d3f88
commit 3fc29f569e

View File

@ -0,0 +1,14 @@
DESCRIPTION = "A toolkit to interact with the virtualization capabilities of recent versions of Linux."
HOMEPAGE = "http://libvirt.org"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = "glib-2.0 libvirt libxml2"
SRC_URI = "git://gitlab.com/libvirt/libvirt-glib;protocol=https;branch=master"
SRCREV = "940bd9ccbfe419573ddec4383e3def4aac1f0e1f"
S = "${WORKDIR}/git"
inherit meson pkgconfig gobject-introspection vala
GIR_MESON_OPTION = ''