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-22 22:59:29 -0700 |
commit | cc99df7115bc45a06c5a2351dad19ba90b4f3e6e (patch) | |
tree | de5d8e10ed4b10e8b3112d0e372a09043c109f36 | |
parent | ad80112b228b6a7ec44b59591134dac4c709ba4c (diff) | |
download | meta-openembedded-cc99df7115bc45a06c5a2351dad19ba90b4f3e6e.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 df688bbcd..04d16ffe1 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}/*" | |||
19 | 19 | ||
20 | INSANE_SKIP:${PN}-dev = "dev-elf" | 20 | INSANE_SKIP:${PN}-dev = "dev-elf" |
21 | 21 | ||
22 | PACKAGECONFIG ??= "ui" | 22 | PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'ui', '', d)}" |
23 | PACKAGECONFIG[ui] = "-Dui=enabled,-Dui=disabled,gtk+3" | 23 | PACKAGECONFIG[ui] = "-Dui=enabled,-Dui=disabled,gtk+3" |