diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2024-03-07 16:59:29 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-03-08 10:07:27 -0800 |
commit | 9dcc8598072c5636315c1963ec12c946a677532a (patch) | |
tree | 981b53699d32db4f0a58833a8e0a9ac06a820442 | |
parent | 0a8e1c4ec29d8600fed28f0abe363f7091c67cde (diff) | |
download | meta-openembedded-9dcc8598072c5636315c1963ec12c946a677532a.tar.gz |
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.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/farsight/libnice_0.1.21.bb | 4 |
1 files changed, 2 insertions, 2 deletions
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" | |||
18 | PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0" | 18 | PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0" |
19 | PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled," | 19 | PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled," |
20 | 20 | ||
21 | EXTRA_OEMESON = "-Dgstreamer=disabled" | ||
22 | |||
23 | GTKDOC_MESON_OPTION = "gtk_doc" | 21 | GTKDOC_MESON_OPTION = "gtk_doc" |
24 | GTKDOC_MESON_ENABLE_FLAG = "enabled" | 22 | GTKDOC_MESON_ENABLE_FLAG = "enabled" |
25 | GTKDOC_MESON_DISABLE_FLAG = "disabled" | 23 | GTKDOC_MESON_DISABLE_FLAG = "disabled" |
26 | 24 | ||
27 | inherit meson gtk-doc gobject-introspection | 25 | inherit meson gtk-doc gobject-introspection |
28 | 26 | ||
27 | EXTRA_OEMESON = "-Dexamples=disabled -Dtests=disabled" | ||
28 | |||
29 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | 29 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" |
30 | FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la" | 30 | FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la" |
31 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | 31 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" |