From eb411d0c5b34ba8339b2b0b0347e61549cb24889 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 1 Nov 2022 17:30:18 +0100 Subject: virt-viewer: add recipe virt-viewer is a minimal tool for displaying the graphical console of a virtual machine. The console is accessed using the VNC or SPICE protocol. The guest can be referred to based on its name, ID, or UUID. If the guest is not already running, then the viewer can be told to wait until it starts before attempting to connect to the console. The viewer can connect directly to both local and remotely hosted machines , optionally using SSL/TLS encryption. virt-viewer is the required client for the debian based proxmox ve. That's also the environ- ment for which it was tested at runtime (only on x86_64). I have successfully compiled it for x86_64, aarch64 and qemumips. Other platforms might work (as long as gobject-introspection is available), but are untested. Adding the vnc protocol would pull in a layer dependency on meta-gnome. Signed-off-by: Markus Volk Signed-off-by: Bruce Ashfield --- recipes-extended/virt-viewer/virt-viewer_11.0.bb | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-extended/virt-viewer/virt-viewer_11.0.bb diff --git a/recipes-extended/virt-viewer/virt-viewer_11.0.bb b/recipes-extended/virt-viewer/virt-viewer_11.0.bb new file mode 100644 index 00000000..d71e5585 --- /dev/null +++ b/recipes-extended/virt-viewer/virt-viewer_11.0.bb @@ -0,0 +1,29 @@ +SUMMARY = "Virtual Machine Viewer" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" + +# for ovirt support librest-0.7 and libgovirt would be needed +DEPENDS = " \ + desktop-file-utils-native \ + glib-2.0 \ + gtk+3 \ + libxml2 \ +" + +SRC_URI = "git://gitlab.com/virt-viewer/virt-viewer.git;protocol=https;branch=master" + +SRCREV = "1e99e5e4f409da91638eb79067ec738994c28ef5" +PV = "11.0+git${SRCPV}" +S = "${WORKDIR}/git" + +PACKAGECONFIG ?= "libvirt spice vte" + +PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib" +PACKAGECONFIG[spice] = "-Dspice=enabled,-Dspice=disabled,spice-gtk spice-protocol" +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 + +FILES:${PN} += "${datadir}" +GIR_MESON_OPTION = '' -- cgit v1.2.3-54-g00ecf