virt-manager: update for PACKAGECONFIG gui

It turned to meson since virt-manager 5.0, so update for PACKAGECONFIG
gui accordingly. And merge the DEPENDS lines that the latter one uses
direct assign('=') which clears the content of DEPENDS set before.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Kai Kang 2025-03-12 13:46:28 +08:00 committed by Bruce Ashfield
parent c949c06f0b
commit dffc059521

View File

@ -2,7 +2,7 @@ DESCRIPTION = "virt-manager is a graphical tool for managing virtual machines vi
HOMEPAGE = "https://virt-manager.org/"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS += "python3-docutils-native"
DEPENDS += "python3-docutils-native python3-pylint"
SRCREV = "da2f65f9262fc18e2b05f527cf8886b1c6b9cde1"
SRC_URI = " \
@ -15,22 +15,18 @@ PV = "v5.0.0+git"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= "gui"
PACKAGECONFIG[gui] = ",--no-update-icon-cache --no-compile-schemas,python3-pygobject"
PACKAGECONFIG[gui] = ",-Dupdate-icon-cache=false -Dcompile-schemas=false,python3-pygobject"
inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)}
inherit bash-completion gettext pkgconfig meson
EXTRA_OEMESON += "-Dupdate-icon-cache=false \
-Dtests=disabled \
"
EXTRA_OEMESON += "-Dtests=disabled"
PACKAGES += " \
${PN}-common \
${PN}-install \
"
DEPENDS = "python3-pylint"
RDEPENDS:${PN}-common += " \
libvirt-python \
libosinfo \