aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2024-04-22 09:36:49 +0200
committerMartin Jansa <martin.jansa@gmail.com>2024-04-22 09:57:44 +0200
commit6bba60ea2c39597e6ac702e21d8bd2a3e5af0593 (patch)
tree48922ebb99e2db7e576a4f3dbb619493825fe023
parente0ebdbd327f23e2890de6867c9296276c9160012 (diff)
downloadmeta-openembedded-contrib-jansa/scarthgap.tar.gz
gst-instruments: enable ui PACKAGECONFIG only with GTK3DISTROFEATURESjansa/scarthgap
* 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 <martin.jansa@gmail.com>
-rw-r--r--meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb2
1 files changed, 1 insertions, 1 deletions
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"