diff options
Diffstat (limited to 'recipes-extended/virt-manager/virt-manager_git.bb')
-rw-r--r-- | recipes-extended/virt-manager/virt-manager_git.bb | 73 |
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 @@ | |||
1 | DESCRIPTION = "virt-manager is a graphical tool for managing virtual machines via libvirt" | ||
2 | HOMEPAGE = "https://virt-manager.org/" | ||
3 | LICENSE = "GPL-2.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
5 | DEPENDS += "python3-docutils-native python3-pylint" | ||
6 | SRCREV = "4f9618289f279f86994a5d2f1aada8a6524f5a6f" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | git://github.com/virt-manager/virt-manager;branch=main;protocol=https \ | ||
10 | file://0001-build-drop-man-directory.patch \ | ||
11 | " | ||
12 | |||
13 | PV = "v5.0.0+git" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | PACKAGECONFIG ??= "gui" | ||
18 | PACKAGECONFIG[gui] = ",-Dupdate-icon-cache=false -Dcompile-schemas=false,python3-pygobject" | ||
19 | |||
20 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)} | ||
21 | inherit bash-completion gettext pkgconfig meson | ||
22 | |||
23 | EXTRA_OEMESON += "-Dtests=disabled" | ||
24 | |||
25 | PACKAGES += " \ | ||
26 | ${PN}-common \ | ||
27 | ${PN}-install \ | ||
28 | " | ||
29 | |||
30 | RDEPENDS:${PN}-common += " \ | ||
31 | libvirt-python \ | ||
32 | libosinfo \ | ||
33 | " | ||
34 | |||
35 | RDEPENDS:${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 | " | ||
45 | RDEPENDS:${PN}-install = " \ | ||
46 | ${PN}-common \ | ||
47 | libvirt-virsh \ | ||
48 | libxml2-python \ | ||
49 | python3-pygobject \ | ||
50 | python3-requests \ | ||
51 | " | ||
52 | |||
53 | SETUPTOOLS_INSTALL_ARGS += "${PACKAGECONFIG_CONFARGS}" | ||
54 | |||
55 | FILES:${PN} = " \ | ||
56 | ${bindir}/virt-manager \ | ||
57 | ${datadir}/icons/* \ | ||
58 | " | ||
59 | |||
60 | FILES:${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 | |||
69 | FILES:${PN}-install = " \ | ||
70 | ${bindir}/virt-clone \ | ||
71 | ${bindir}/virt-install \ | ||
72 | ${bindir}/virt-xml \ | ||
73 | " | ||