diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2019-04-05 22:20:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-11 21:15:56 +0100 |
commit | 50065038c0e69742191f927edacbd9f08b020580 (patch) | |
tree | e44f9e2dbb10d7bd21cd73591f3e6e5dc3eae3eb /meta/recipes-multimedia/gstreamer | |
parent | 129418053319add3bb7f106f7082160be4ad34a7 (diff) | |
download | poky-50065038c0e69742191f927edacbd9f08b020580.tar.gz |
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]
(From OE-Core rev: bcc560134ebfbeeb0c1cc7b6c96e2da629df67a2)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb | 6 |
1 files changed, 5 insertions, 1 deletions
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..048aaf4413 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" | |||
16 | 16 | ||
17 | S = "${WORKDIR}/${PNREAL}-${PV}" | 17 | S = "${WORKDIR}/${PNREAL}-${PV}" |
18 | 18 | ||
19 | inherit autotools pkgconfig distutils3-base upstream-version-is-even gobject-introspection | 19 | # gobject-introspection is mandatory and cannot be configured |
20 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | ||
21 | UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection" | ||
22 | |||
23 | inherit autotools pkgconfig distutils3-base upstream-version-is-even gobject-introspection distro_features_check | ||
20 | 24 | ||
21 | do_install_append() { | 25 | do_install_append() { |
22 | # gstpythonplugin hardcodes the location of the libpython from the build | 26 | # gstpythonplugin hardcodes the location of the libpython from the build |