summaryrefslogtreecommitdiffstats
path: root/recipes-extended/virt-viewer/virt-viewer_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/virt-viewer/virt-viewer_git.bb')
-rw-r--r--recipes-extended/virt-viewer/virt-viewer_git.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-extended/virt-viewer/virt-viewer_git.bb b/recipes-extended/virt-viewer/virt-viewer_git.bb
new file mode 100644
index 00000000..322d92ff
--- /dev/null
+++ b/recipes-extended/virt-viewer/virt-viewer_git.bb
@@ -0,0 +1,38 @@
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 = "107f60c168c405cf1782b686a65bf4af16ec8c9d"
16PV = "11.0+git"
17S = "${WORKDIR}/git"
18
19REQUIRED_DISTRO_FEATURES = "opengl"
20
21PACKAGECONFIG ?= "libvirt spice vte"
22
23PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt libvirt-glib"
24PACKAGECONFIG[spice] = "-Dspice=enabled,-Dspice=disabled,spice-gtk spice-protocol"
25PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc"
26PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte"
27
28inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection features_check
29
30FILES:${PN} += "${datadir}"
31GIR_MESON_OPTION = ''
32
33do_compile:append() {
34 # glib-mkenums is embedding full paths into this file. There's no
35 # option to it to use a sysroot style variable. So to avoid QA
36 # errors, we sed WORKDIR out and make its includes relative
37 sed -i "s,${WORKDIR}/build/,," src/virt-viewer-enums.c
38}