diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2022-11-10 16:36:16 +0800 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-09-26 13:17:10 +0200 |
| commit | ada662b5ea33c3da532f6c8ccfe029fff3379e42 (patch) | |
| tree | b078a0d54fb5fd101fe6dd520f926c67ad5a2059 | |
| parent | 4713868c817f2de91020b7dec2a335a67f1b5826 (diff) | |
| download | meta-openembedded-ada662b5ea33c3da532f6c8ccfe029fff3379e42.tar.gz | |
gssdp: check opengl is enabled or not
The sniffer PACKAGECONFIG will make gssdp depend on gtk4 as below.
PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk4,"
But gtk4 needs the opengl DISTRO_FEATURES enabled, so also check
opengl in gssdp recipe to keep consistent.
Fixes:
ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/meta-openembedded/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb DEPENDS on or otherwise requires it)
gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'gssdp', 'gtk4']
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 491a703c41644b6ab4db62920774e6ea23bc8308)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
| -rw-r--r-- | meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb index 1d8cbb1aea..ad99bbffa3 100644 --- a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb +++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb | |||
| @@ -16,14 +16,16 @@ DEPENDS = " \ | |||
| 16 | libsoup-2.4 \ | 16 | libsoup-2.4 \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | inherit meson pkgconfig gobject-introspection vala gtk-doc | 19 | inherit meson pkgconfig gobject-introspection vala gtk-doc features_check |
| 20 | 20 | ||
| 21 | SNIFFER = "${@bb.utils.contains("BBFILE_COLLECTIONS", "gnome-layer", "sniffer", "", d)}" | 21 | SNIFFER = "${@bb.utils.contains("BBFILE_COLLECTIONS", "gnome-layer", "sniffer", "", d)}" |
| 22 | 22 | ||
| 23 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', "${SNIFFER}", "", d)}" | 23 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', "${SNIFFER}", "", d)}" |
| 24 | 24 | ||
| 25 | PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk4," | 25 | PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk4," |
| 26 | 26 | ||
| 27 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'sniffer', 'opengl', '', d)}" | ||
| 28 | |||
| 27 | PACKAGES =+ "gssdp-tools" | 29 | PACKAGES =+ "gssdp-tools" |
| 28 | 30 | ||
| 29 | FILES:gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade" | 31 | FILES:gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade" |
