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: yocto-3.3~332 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4c190e8c9a2b53de3def1065fb6e479b72d040dc;p=openembedded-core.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 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 = [ '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 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" 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"