diff mbox series

[meta-oe] libnice: Disable the examples and the tests

Message ID 20240307155929.3626419-1-pkj@axis.com
State Accepted
Headers show
Series [meta-oe] libnice: Disable the examples and the tests | expand

Commit Message

Peter Kjellerstedt March 7, 2024, 3:59 p.m. UTC
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.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 meta-oe/recipes-support/farsight/libnice_0.1.21.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb
index 4a5227f20..646dcb28c 100644
--- a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb
+++ b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb
@@ -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"