From d95762855e9b00f1a04faee856763ee86fa5fb41 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Tue, 20 Dec 2022 21:15:29 +0800 Subject: virt-viewer: add opengl to REQUIRED_DISTRO_FEATURES 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 Signed-off-by: Bruce Ashfield --- recipes-extended/virt-viewer/virt-viewer_11.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-extended/virt-viewer') 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 = '' -- cgit v1.2.3-54-g00ecf