diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2024-04-22 11:14:32 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-04-23 15:15:30 -0700 |
commit | d28627e55017a10cceab12e483ab5fd9f658a43c (patch) | |
tree | b6f249d5811dfdd14991dd2b564c7c37c2d1ec73 | |
parent | 1d9962de9e37ec7073040bccef8118a0e66222f3 (diff) | |
download | meta-openembedded-d28627e55017a10cceab12e483ab5fd9f658a43c.tar.gz |
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 <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb | 2 |
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" |