diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-28 12:05:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-01 00:17:46 +0000 |
commit | 09301e305122f0957f8d748bfe4cbe22389ce5d0 (patch) | |
tree | 65ff6fa5eb2c3b0561237869a89be6cec2418926 | |
parent | a73f94d9bfb4c4a49b14e78ef3ca5781d529c43a (diff) | |
download | poky-09301e305122f0957f8d748bfe4cbe22389ce5d0.tar.gz |
gstreamer1.0-python: Set internal python library path correcty
The library hardcodes paths to the python library internally and currently
these are build paths. Fix this to use the correct target path and
fix reproducibility in the process.
(From OE-Core rev: 4c190e8c9a2b53de3def1065fb6e479b72d040dc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/selftest/cases/reproducible.py | 1 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index bf7064d18b..fcd9d83ab8 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
@@ -35,7 +35,6 @@ exclude_packages = [ | |||
35 | 'go-runtime', | 35 | 'go-runtime', |
36 | 'go_', | 36 | 'go_', |
37 | 'go-', | 37 | 'go-', |
38 | 'gstreamer1.0-python', | ||
39 | 'lttng-tools-dbg', | 38 | 'lttng-tools-dbg', |
40 | 'lttng-tools-ptest', | 39 | 'lttng-tools-ptest', |
41 | 'ltp', | 40 | 'ltp', |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb index 897d246793..de78fe8445 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.3.bb | |||
@@ -15,6 +15,8 @@ PNREAL = "gst-python" | |||
15 | 15 | ||
16 | S = "${WORKDIR}/${PNREAL}-${PV}" | 16 | S = "${WORKDIR}/${PNREAL}-${PV}" |
17 | 17 | ||
18 | EXTRA_OEMESON += "-Dlibpython-dir=${libdir}" | ||
19 | |||
18 | # gobject-introspection is mandatory and cannot be configured | 20 | # gobject-introspection is mandatory and cannot be configured |
19 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 21 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
20 | UNKNOWN_CONFIGURE_WHITELIST_append = " introspection" | 22 | UNKNOWN_CONFIGURE_WHITELIST_append = " introspection" |