summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2022-11-01 17:30:18 +0100
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-12-07 16:12:33 -0500
commiteb411d0c5b34ba8339b2b0b0347e61549cb24889 (patch)
treeae1e4a56ee776cc128c750eb53b71cb28bce389f
parent3fc29f569e10b2c6d3b0a5a2015bbdb7162063ca (diff)
downloadmeta-virtualization-eb411d0c5b34ba8339b2b0b0347e61549cb24889.tar.gz
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 <f_l_k@t-online.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/virt-viewer/virt-viewer_11.0.bb29
1 files changed, 29 insertions, 0 deletions
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 @@
1SUMMARY = "Virtual Machine Viewer"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
4
5# for ovirt support librest-0.7 and libgovirt would be needed
6DEPENDS = " \
7 desktop-file-utils-native \
8 glib-2.0 \
9 gtk+3 \
10 libxml2 \
11"
12
13SRC_URI = "git://gitlab.com/virt-viewer/virt-viewer.git;protocol=https;branch=master"
14
15SRCREV = "1e99e5e4f409da91638eb79067ec738994c28ef5"
16PV = "11.0+git${SRCPV}"
17S = "${WORKDIR}/git"
18
19PACKAGECONFIG ?= "libvirt spice vte"
20
21PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib"
22PACKAGECONFIG[spice] = "-Dspice=enabled,-Dspice=disabled,spice-gtk spice-protocol"
23PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc"
24PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte"
25
26inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection
27
28FILES:${PN} += "${datadir}"
29GIR_MESON_OPTION = ''