From dffc059521fbd87d183cad3867d0afd515acfbfd Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Wed, 12 Mar 2025 13:46:28 +0800 Subject: [PATCH] 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 Signed-off-by: Bruce Ashfield --- recipes-extended/virt-manager/virt-manager_git.bb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/recipes-extended/virt-manager/virt-manager_git.bb b/recipes-extended/virt-manager/virt-manager_git.bb index 71806077..a33f37a6 100644 --- a/recipes-extended/virt-manager/virt-manager_git.bb +++ b/recipes-extended/virt-manager/virt-manager_git.bb @@ -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 \