[oe-commits] [openembedded-core] 15/50: gstreamer1.0-python: rework gobject-introspection handling

git at git.openembedded.org git at git.openembedded.org
Tue Apr 9 15:05:28 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e12ff65af3fd32e6ae15c40eb178940df148e32a
Author: Andreas Müller <schnitzeltony at gmail.com>
AuthorDate: Fri Apr 5 22:20:59 2019 +0200

    gstreamer1.0-python: rework gobject-introspection handling
    
    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 <schnitzeltony at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 8d45ca2..048aaf4 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,7 +16,11 @@ PNREAL = "gst-python"
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
-inherit autotools pkgconfig distutils3-base upstream-version-is-even gobject-introspection
+# 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 distro_features_check
 
 do_install_append() {
     # gstpythonplugin hardcodes the location of the libpython from the build

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list