Skip to contentSkip to conversation

libnice: Disable the examples and the tests

PATCH New Peter Kjellerstedt 1 participant 1 message Mar 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnice: Disable the examples and the tests

They are not used, and if the gstreamer PACKAGECONFIG is enabled, the tests require gstreamer-check-1.0 to be available, which it isn't if gstreamer-1.0 is built without the check PACKAGECONFIG.

Also remove adding -Dgstreamer=disabled to EXTRA_OEMESON as it is already covered by the gstreamer PACKAGECONFIG.

---
 meta-oe/recipes-support/farsight/libnice_0.1.21.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/farsight/libnice_0.1.21.bb +2 -2
index 4a5227f20..646dcb28c 100644
@@ -18,14 +18,14 @@ PACKAGECONFIG[gupnp] = "-Dgupnp=enabled,-Dgupnp=disabled,gupnp"
 PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0"
 PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled,"
 
-EXTRA_OEMESON = "-Dgstreamer=disabled"
-
 GTKDOC_MESON_OPTION = "gtk_doc"
 GTKDOC_MESON_ENABLE_FLAG = "enabled"
 GTKDOC_MESON_DISABLE_FLAG = "disabled"
 
 inherit meson gtk-doc gobject-introspection
 
+EXTRA_OEMESON = "-Dexamples=disabled -Dtests=disabled"
+
 FILES:${PN} += "${libdir}/gstreamer-1.0/*.so"
 FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
 FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"