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:11 +0200
commit5f7c3f3a35b3a1e34da155b4f7b60d96636bc28c (patch)
treec9e91b083586c747eed871eecce6bd9f69fbf34f
parent7d40fb9250d8e560dfdb84c406833cbddf6db467 (diff)
downloadmeta-openembedded-contrib-jansa/master.tar.gz
gst-instruments: enable ui PACKAGECONFIG only with GTK3DISTROFEATURESjansa/master
* 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"