meta-virtualization/recipes-extended/virt-manager/virt-manager_4.1.0.bb
Kai Kang 238020e420 virt-manager: update RDEPENDS for virt-manager-install
Update RDEPENDS for package virt-manager-install which are required by
command virt-install. For example, the error is as follows when missing
virsh:

  Error launching ['virsh', '--connect', 'qemu:///system', 'console',
    'myvm']: [Errno 2] No such file or directory

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-09-03 02:09:16 +00:00

67 lines
1.5 KiB
BlitzBasic

DESCRIPTION = "virt-manager is a graphical tool for managing virtual machines via libvirt"
HOMEPAGE = "https://virt-manager.org/"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS += "python3-docutils-native"
SRCREV = "6710ca6969b7d9c4e8344acd0fe3d50b24adc8ec"
SRC_URI = " \
git://github.com/virt-manager/virt-manager;branch=main;protocol=https \
file://0001-setup.py-move-global-args-to-install-args.patch \
"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= "gui"
PACKAGECONFIG[gui] = ",--no-update-icon-cache --no-compile-schemas,python3-pygobject"
inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)}
inherit bash-completion gettext pkgconfig setuptools3_legacy
PACKAGES += " \
${PN}-common \
${PN}-install \
"
RDEPENDS:${PN}-common += " \
libvirt-python \
libosinfo \
"
RDEPENDS:${PN} = " \
${PN}-common \
libvirt-glib \
libxml2-python \
python3-pygobject \
python3-requests \
"
RDEPENDS:${PN}-install = " \
${PN}-common \
libvirt-virsh \
libxml2-python \
python3-pygobject \
python3-requests \
"
SETUPTOOLS_INSTALL_ARGS += "${PACKAGECONFIG_CONFARGS}"
FILES:${PN} = " \
${bindir}/virt-manager \
${datadir}/icons/* \
"
FILES:${PN}-common = " \
${libdir}/* \
${libdir}/python3.10/* \
${datadir}/applications \
${datadir}/virt-manager \
${datadir}/glib-2.0/* \
${datadir}/metainfo/* \
"
FILES:${PN}-install = " \
${bindir}/virt-clone \
${bindir}/virt-install \
${bindir}/virt-xml \
"