From: Mingli Yu <mingli...@windriver.com> Fixes: ERROR: Nothing PROVIDES 'spice-gtk' (but /build/layers/meta-virtualization/recipes-extended/virt-viewer/virt-viewer_11.0.bb DEPENDS on or otherwise requires it) spice-gtk was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'virt-viewer', 'spice-gtk']
Signed-off-by: Mingli Yu <mingli...@windriver.com> --- recipes-extended/virt-viewer/virt-viewer_11.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-extended/virt-viewer/virt-viewer_11.0.bb b/recipes-extended/virt-viewer/virt-viewer_11.0.bb index 55ca57aa..5799f48f 100644 --- a/recipes-extended/virt-viewer/virt-viewer_11.0.bb +++ b/recipes-extended/virt-viewer/virt-viewer_11.0.bb @@ -16,6 +16,8 @@ SRCREV = "1e99e5e4f409da91638eb79067ec738994c28ef5" PV = "11.0+git${SRCPV}" S = "${WORKDIR}/git" +REQUIRED_DISTRO_FEATURES = "opengl" + PACKAGECONFIG ?= "libvirt spice vte" PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib" @@ -23,7 +25,7 @@ PACKAGECONFIG[spice] = "-Dspice=enabled,-Dspice=disabled,spice-gtk spice-protoco PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc" PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte" -inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection +inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection features_check FILES:${PN} += "${datadir}" GIR_MESON_OPTION = '' -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7776): https://lists.yoctoproject.org/g/meta-virtualization/message/7776 Mute This Topic: https://lists.yoctoproject.org/mt/95785321/21656 Group Owner: meta-virtualization+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-