diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-05-25 14:20:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-16 22:34:12 +0100 |
commit | 086b6f19ba0cff336a3178c90e58f1449d89c438 (patch) | |
tree | a6700ae4b58cde2a326946f162cb1166d118c67d /meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.1.bb | |
parent | 48250c7d1af05812137528a74336897a199ce9e3 (diff) | |
download | openembedded-core-contrib-086b6f19ba0cff336a3178c90e58f1449d89c438.tar.gz |
gstreamer1.0-python: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:
https://gstreamer.freedesktop.org/releases/1.14/#1.14.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.1.bb')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.1.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.1.bb new file mode 100644 index 0000000000..b0f1c259bb --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.1.bb @@ -0,0 +1,39 @@ +SUMMARY = "Python bindings for GStreamer 1.0" +HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" +SECTION = "multimedia" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" + +SRC_URI = "http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" +SRC_URI[md5sum] = "2ae86f1bb2fd8399a942fd94bb17d264" +SRC_URI[sha256sum] = "1bc6704955e343f78d2d935487f26d2db4c131c9a6dad38eb331c7e3639147d3" + +DEPENDS = "gstreamer1.0 python3-pygobject" +RDEPENDS_${PN} += "gstreamer1.0 python3-pygobject" + +PNREAL = "gst-python" + +S = "${WORKDIR}/${PNREAL}-${PV}" + +inherit autotools pkgconfig distutils3-base upstream-version-is-even gobject-introspection + +do_install_append() { + # gstpythonplugin hardcodes the location of the libpython from the build + # workspace and then fails at runtime. We can override it using + # --with-libpython-dir=${libdir}, but it still fails because it looks for a + # symlinked library ending in .so instead of the actually library with + # LIBNAME.so.MAJOR.MINOR. Although we could patch the code to use the path + # we want, it will break again if the library version ever changes. We need + # to think about the best way of handling this and possibly consult + # upstream. + # + # Note that this particular find line is taken from the Debian packaging for + # gst-python1.0. + find "${D}" \ + -name '*.pyc' -o \ + -name '*.pyo' -o \ + -name '*.la' -o \ + -name 'libgstpythonplugin*' \ + -delete +} |