add PACKAGECONFIG for xauth and make it dependent on x11 in DISTRO_FEATURES
Signed-off-by: Markus Volk <[email protected]> --- meta-gnome/recipes-gnome/libgtop/libgtop_2.41.3.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" -- 2.52.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#123772): https://lists.openembedded.org/g/openembedded-devel/message/123772 Mute This Topic: https://lists.openembedded.org/mt/117415052/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
