diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2022-12-20 21:15:29 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-12-22 10:32:59 -0500 |
commit | d95762855e9b00f1a04faee856763ee86fa5fb41 (patch) | |
tree | a23d018ebd4b4c37dd46489c7d575c3374ba34fe /recipes-extended/virt-viewer | |
parent | e48b934c833576e4354e8b68efadb0f6be0fa382 (diff) | |
download | meta-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.bb | 4 |
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" | |||
16 | PV = "11.0+git${SRCPV}" | 16 | PV = "11.0+git${SRCPV}" |
17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
18 | 18 | ||
19 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
20 | |||
19 | PACKAGECONFIG ?= "libvirt spice vte" | 21 | PACKAGECONFIG ?= "libvirt spice vte" |
20 | 22 | ||
21 | PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib" | 23 | PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib" |
@@ -23,7 +25,7 @@ PACKAGECONFIG[spice] = "-Dspice=enabled,-Dspice=disabled,spice-gtk spice-protoco | |||
23 | PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc" | 25 | PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc" |
24 | PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte" | 26 | PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte" |
25 | 27 | ||
26 | inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection | 28 | inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection features_check |
27 | 29 | ||
28 | FILES:${PN} += "${datadir}" | 30 | FILES:${PN} += "${datadir}" |
29 | GIR_MESON_OPTION = '' | 31 | GIR_MESON_OPTION = '' |