gobject-introspection is mandatory for gstreamer1.0-python - there is no
configure option to enable or disable it.

To handle properly, this patch does:

* Make 'gobject-introspection-data' a required distro feature
* Add
  'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection 
--disable-introspection"'
   - it was removed in gobject-introspection.bbclass to avoid
  | ERROR: libgee-0.18.0-r0 do_configure: QA Issue: libgee: configure was 
passed unrecognised options: --disable-schemas-install 
[unknown-configure-option]

Signed-off-by: Andreas Müller <[email protected]>
---
 .../gstreamer/gstreamer1.0-python_1.14.4.bb                   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb
index 8d45ca2668..fb76a37b92 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb
@@ -16,6 +16,10 @@ PNREAL = "gst-python"
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection 
--disable-introspection"
+
 inherit autotools pkgconfig distutils3-base upstream-version-is-even 
gobject-introspection
 
 do_install_append() {
-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to