meta-virtualization/recipes-extended/libvirt/libvirt-glib_4.0.0.bb
Markus Volk ecdb3aa7e1 libvirt-glib: fix introspection and documentation build
Building Gobject introspection during cross-compilation is not an easy task.
Therefore, the meson.build file disables the build for introspection and
also for gtkdoc by default.
This commit adds a patch to enable this, as introspection can be easily built
on newer platforms with yocto/oe.

The options to enable/disable introspection/doc are defined as feature
while the corresponding bbclass defines it as a boolean.
Override this so that it should be possible to be enabled/disabled by using DISTRO_FEATURES.

Inherit  gettext bbclass as used in libvirt-glib.

Add a missing dependency on libxslt.
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-09-04 03:03:14 +00:00

22 lines
723 B
BlitzBasic

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 libxslt"
SRC_URI = " \
git://gitlab.com/libvirt/libvirt-glib;protocol=https;branch=master \
file://0001-meson.build-allow-crosscompiling-gir-and-doc.patch \
"
SRCREV = "e0bfc34682744a74b850fa217e9c206a9eb80612"
S = "${WORKDIR}/git"
inherit meson pkgconfig gobject-introspection gettext vala gtk-doc
GIR_MESON_ENABLE_FLAG = 'enabled'
GIR_MESON_DISABLE_FLAG = 'disabled'
GTKDOC_MESON_ENABLE_FLAG = 'enabled'
GTKDOC_MESON_DISABLE_FLAG = 'disabled'