summaryrefslogtreecommitdiffstats
path: root/recipes-extended/virt-viewer
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-12-20 21:15:29 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-12-22 10:32:59 -0500
commitd95762855e9b00f1a04faee856763ee86fa5fb41 (patch)
treea23d018ebd4b4c37dd46489c7d575c3374ba34fe /recipes-extended/virt-viewer
parente48b934c833576e4354e8b68efadb0f6be0fa382 (diff)
downloadmeta-virtualization-d95762855e9b00f1a04faee856763ee86fa5fb41.tar.gz
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 <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/virt-viewer')
-rw-r--r--recipes-extended/virt-viewer/virt-viewer_11.0.bb4
1 files changed, 3 insertions, 1 deletions
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"
16PV = "11.0+git${SRCPV}" 16PV = "11.0+git${SRCPV}"
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18
19REQUIRED_DISTRO_FEATURES = "opengl"
20
19PACKAGECONFIG ?= "libvirt spice vte" 21PACKAGECONFIG ?= "libvirt spice vte"
20 22
21PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib" 23PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib"
@@ -23,7 +25,7 @@ PACKAGECONFIG[spice] = "-Dspice=enabled,-Dspice=disabled,spice-gtk spice-protoco
23PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc" 25PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc"
24PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte" 26PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte"
25 27
26inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection 28inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection features_check
27 29
28FILES:${PN} += "${datadir}" 30FILES:${PN} += "${datadir}"
29GIR_MESON_OPTION = '' 31GIR_MESON_OPTION = ''