| Message ID | 20260123084753.275355-1-f_l_k@t-online.de |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-gnome,PATCHv2] libgtop: fix build without x11 | expand |
diff --git a/meta-gnome/recipes-gnome/libgtop/libgtop_2.41.3.bb b/meta-gnome/recipes-gnome/libgtop/libgtop_2.41.3.bb index e7b61a7b20..7131078994 100644 --- a/meta-gnome/recipes-gnome/libgtop/libgtop_2.41.3.bb +++ b/meta-gnome/recipes-gnome/libgtop/libgtop_2.41.3.bb @@ -11,4 +11,7 @@ SRC_URI[archive.sha256sum] = "775676df958e2ea2452f7568f28b2ea581063d312773dd5c0b UPSTREAM_CHECK_REGEX = "libgtop-(?P<pver>\d+(\.\d+)+).tar" -DEPENDS = "glib-2.0 libxau" +DEPENDS = "glib-2.0" + +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES','x11','xauth','',d)}" +PACKAGECONFIG[xauth] = ",,libxau"
add PACKAGECONFIG for xauth and make it dependent on x11 in DISTRO_FEATURES Signed-off-by: Markus Volk <f_l_k@t-online.de> --- meta-gnome/recipes-gnome/libgtop/libgtop_2.41.3.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)