summaryrefslogtreecommitdiffstats
path: root/recipes-extended/virt-manager/virt-manager_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/virt-manager/virt-manager_git.bb')
-rw-r--r--recipes-extended/virt-manager/virt-manager_git.bb73
1 files changed, 73 insertions, 0 deletions
diff --git a/recipes-extended/virt-manager/virt-manager_git.bb b/recipes-extended/virt-manager/virt-manager_git.bb
new file mode 100644
index 00000000..4af8977c
--- /dev/null
+++ b/recipes-extended/virt-manager/virt-manager_git.bb
@@ -0,0 +1,73 @@
1DESCRIPTION = "virt-manager is a graphical tool for managing virtual machines via libvirt"
2HOMEPAGE = "https://virt-manager.org/"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5DEPENDS += "python3-docutils-native python3-pylint"
6SRCREV = "4f9618289f279f86994a5d2f1aada8a6524f5a6f"
7
8SRC_URI = " \
9 git://github.com/virt-manager/virt-manager;branch=main;protocol=https \
10 file://0001-build-drop-man-directory.patch \
11"
12
13PV = "v5.0.0+git"
14
15S = "${WORKDIR}/git"
16
17PACKAGECONFIG ??= "gui"
18PACKAGECONFIG[gui] = ",-Dupdate-icon-cache=false -Dcompile-schemas=false,python3-pygobject"
19
20inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)}
21inherit bash-completion gettext pkgconfig meson
22
23EXTRA_OEMESON += "-Dtests=disabled"
24
25PACKAGES += " \
26 ${PN}-common \
27 ${PN}-install \
28"
29
30RDEPENDS:${PN}-common += " \
31 libvirt-python \
32 libosinfo \
33"
34
35RDEPENDS:${PN} = " \
36 ${PN}-common \
37 libvirt-glib \
38 libxml2-python \
39 gdk-pixbuf \
40 gtk+3 \
41 hicolor-icon-theme \
42 python3-pygobject \
43 python3-requests \
44"
45RDEPENDS:${PN}-install = " \
46 ${PN}-common \
47 libvirt-virsh \
48 libxml2-python \
49 python3-pygobject \
50 python3-requests \
51"
52
53SETUPTOOLS_INSTALL_ARGS += "${PACKAGECONFIG_CONFARGS}"
54
55FILES:${PN} = " \
56 ${bindir}/virt-manager \
57 ${datadir}/icons/* \
58"
59
60FILES:${PN}-common = " \
61 ${libdir}/* \
62 ${libdir}/python3.10/* \
63 ${datadir}/applications \
64 ${datadir}/virt-manager \
65 ${datadir}/glib-2.0/* \
66 ${datadir}/metainfo/* \
67"
68
69FILES:${PN}-install = " \
70 ${bindir}/virt-clone \
71 ${bindir}/virt-install \
72 ${bindir}/virt-xml \
73"