aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-connectivity/gupnp
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-12-13 11:17:01 -0800
committerKhem Raj <raj.khem@gmail.com>2021-12-13 21:20:02 -0800
commit7a4b372b394f6ee89e495cfc33e05668594d7da2 (patch)
tree0e9048bbe886defcfa4af48496d03e1857228df8 /meta-multimedia/recipes-connectivity/gupnp
parentfe5b334cda2b9a8cc4aeb37eb67206ca903b041b (diff)
downloadmeta-openembedded-7a4b372b394f6ee89e495cfc33e05668594d7da2.tar.gz
meta-openembedded-7a4b372b394f6ee89e495cfc33e05668594d7da2.tar.bz2
meta-openembedded-7a4b372b394f6ee89e495cfc33e05668594d7da2.zip
gssdp: Use sniffer only when gnome layer is in mix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-connectivity/gupnp')
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb7
1 files changed, 5 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 056ea83aa..97b0bbd28 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
@@ -18,8 +18,11 @@ DEPENDS = " \
inherit meson pkgconfig gobject-introspection vala gtk-doc
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'sniffer', '', d)}"
-PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk+4,"
+SNIFFER = "${@bb.utils.contains("BBFILE_COLLECTIONS", "gnome-layer", "sniffer", "", d)}"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', "${SNIFFER}", "", d)}"
+
+PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk4,"
PACKAGES =+ "gssdp-tools"