From d28627e55017a10cceab12e483ab5fd9f658a43c Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 22 Apr 2024 11:14:32 +0200 Subject: gst-instruments: enable ui PACKAGECONFIG only with GTK3DISTROFEATURES * fixes: ERROR: Nothing PROVIDES 'gtk+3' (but meta-oe/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb DEPENDS on or otherwise requires it) gtk+3 was skipped: one of 'wayland x11' needs to be in DISTRO_FEATURES Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb b/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb index df688bbcda..04d16ffe11 100644 --- a/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb +++ b/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb @@ -19,5 +19,5 @@ FILES:${PN} += "${libdir}/*" INSANE_SKIP:${PN}-dev = "dev-elf" -PACKAGECONFIG ??= "ui" +PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'ui', '', d)}" PACKAGECONFIG[ui] = "-Dui=enabled,-Dui=disabled,gtk+3" -- cgit v1.2.3-54-g00ecf