From: Richard Purdie Date: Sun, 28 Feb 2021 12:05:14 +0000 (+0000) Subject: gstreamer1.0-python: Set internal python library path correcty X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~8590 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c190e8c9a2b53de3def1065fb6e479b72d040dc;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index bf7064d18ba..fcd9d83ab86 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py @@ -35,7 +35,6 @@ exclude_packages = [ 'go-runtime', 'go_', 'go-', - 'gstreamer1.0-python', 'lttng-tools-dbg', 'lttng-tools-ptest', '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 897d2467937..de78fe84452 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" S = "${WORKDIR}/${PNREAL}-${PV}" +EXTRA_OEMESON += "-Dlibpython-dir=${libdir}" + # gobject-introspection is mandatory and cannot be configured REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"