From 360493d4065101462194a49940e4024993011a79 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Thu, 3 May 2018 16:17:56 +0800 Subject: gst-python: upgrade 1.12.4 -> 1.14.0 For changes, please see: https://cgit.freedesktop.org/gstreamer/gst-python/tree/ChangeLog Also merge inc/bb since we have only one version now. Signed-off-by: Anuj Mittal Signed-off-by: Ross Burton --- .../gstreamer/gstreamer1.0-python.inc | 33 ------------------ .../gstreamer/gstreamer1.0-python_1.12.4.bb | 7 ---- .../gstreamer/gstreamer1.0-python_1.14.0.bb | 39 ++++++++++++++++++++++ 3 files changed, 39 insertions(+), 40 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-python.inc delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.4.bb create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.0.bb diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python.inc deleted file mode 100644 index 361f0bca41..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python.inc +++ /dev/null @@ -1,33 +0,0 @@ -SUMMARY = "Python bindings for GStreamer 1.0" -HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" -SECTION = "multimedia" -LICENSE = "LGPLv2.1" - -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 -} diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.4.bb deleted file mode 100644 index faec3566c4..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.12.4.bb +++ /dev/null @@ -1,7 +0,0 @@ -require gstreamer1.0-python.inc - -SRC_URI = "http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" -SRC_URI[md5sum] = "f1fd046ea781736a794f9f552d77c50d" -SRC_URI[sha256sum] = "20ce6af6615c9a440c1928c31259a78226516d06bf1a65f888c6d109826fa3ea" - -LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.0.bb new file mode 100644 index 0000000000..1eb1a3f6f4 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.0.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] = "97782b2fde877f1d1d68c64f7db4f735" +SRC_URI[sha256sum] = "e0b98111150aa3fcdeb6e228cd770995fbdaa8586fc02ec9b3273d4ae83399e6" + +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 +} -- cgit 1.2.3-korg