summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2025-03-12 13:46:28 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2025-03-24 18:45:11 +0000
commitdffc059521fbd87d183cad3867d0afd515acfbfd (patch)
tree2d5e43a363f8b28768bffeec60aef483bb6bd288
parentc949c06f0b4d6ad6f518acffcffe854b5743b52e (diff)
downloadmeta-virtualization-dffc059521fbd87d183cad3867d0afd515acfbfd.tar.gz
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>
-rw-r--r--recipes-extended/virt-manager/virt-manager_git.bb10
1 files 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
2HOMEPAGE = "https://virt-manager.org/" 2HOMEPAGE = "https://virt-manager.org/"
3LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5DEPENDS += "python3-docutils-native" 5DEPENDS += "python3-docutils-native python3-pylint"
6SRCREV = "da2f65f9262fc18e2b05f527cf8886b1c6b9cde1" 6SRCREV = "da2f65f9262fc18e2b05f527cf8886b1c6b9cde1"
7 7
8SRC_URI = " \ 8SRC_URI = " \
@@ -15,22 +15,18 @@ PV = "v5.0.0+git"
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16 16
17PACKAGECONFIG ??= "gui" 17PACKAGECONFIG ??= "gui"
18PACKAGECONFIG[gui] = ",--no-update-icon-cache --no-compile-schemas,python3-pygobject" 18PACKAGECONFIG[gui] = ",-Dupdate-icon-cache=false -Dcompile-schemas=false,python3-pygobject"
19 19
20inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)} 20inherit ${@bb.utils.contains('PACKAGECONFIG', 'gui', 'gtk-icon-cache', '', d)}
21inherit bash-completion gettext pkgconfig meson 21inherit bash-completion gettext pkgconfig meson
22 22
23EXTRA_OEMESON += "-Dupdate-icon-cache=false \ 23EXTRA_OEMESON += "-Dtests=disabled"
24 -Dtests=disabled \
25 "
26 24
27PACKAGES += " \ 25PACKAGES += " \
28 ${PN}-common \ 26 ${PN}-common \
29 ${PN}-install \ 27 ${PN}-install \
30" 28"
31 29
32DEPENDS = "python3-pylint"
33
34RDEPENDS:${PN}-common += " \ 30RDEPENDS:${PN}-common += " \
35 libvirt-python \ 31 libvirt-python \
36 libosinfo \ 32 libosinfo \