diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-08-08 15:15:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-09 23:47:55 +0100 |
commit | 83a9651fbffa92ef722bb0c3fe6b0760bb34ff69 (patch) | |
tree | f4c0d7ce7cfd65eeb748234abdb1af1135e1f5ed /meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.2.bb | |
parent | 77caf9a20813e8e48af86b53bc3b21d0e1946848 (diff) | |
download | poky-83a9651fbffa92ef722bb0c3fe6b0760bb34ff69.tar.gz |
gstreamer1.0-python: upgrade 1.14.1 -> 1.14.2
(From OE-Core rev: b204a2156dd89154796885c2ab36942dd8a14baf)
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.2.bb')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.2.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.2.bb new file mode 100644 index 0000000000..78c0046328 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.2.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "Python bindings for GStreamer 1.0" | ||
2 | HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" | ||
3 | SECTION = "multimedia" | ||
4 | |||
5 | LICENSE = "LGPLv2.1" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" | ||
7 | |||
8 | SRC_URI = "http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" | ||
9 | SRC_URI[md5sum] = "5b0af1bd490d79a7d435b2be47568f8e" | ||
10 | SRC_URI[sha256sum] = "dc40be5ab4f1a433ff3f0af2b3d2d79a363009020c41ec10f9747ba64200cb22" | ||
11 | |||
12 | DEPENDS = "gstreamer1.0 python3-pygobject" | ||
13 | RDEPENDS_${PN} += "gstreamer1.0 python3-pygobject" | ||
14 | |||
15 | PNREAL = "gst-python" | ||
16 | |||
17 | S = "${WORKDIR}/${PNREAL}-${PV}" | ||
18 | |||
19 | inherit autotools pkgconfig distutils3-base upstream-version-is-even gobject-introspection | ||
20 | |||
21 | do_install_append() { | ||
22 | # gstpythonplugin hardcodes the location of the libpython from the build | ||
23 | # workspace and then fails at runtime. We can override it using | ||
24 | # --with-libpython-dir=${libdir}, but it still fails because it looks for a | ||
25 | # symlinked library ending in .so instead of the actually library with | ||
26 | # LIBNAME.so.MAJOR.MINOR. Although we could patch the code to use the path | ||
27 | # we want, it will break again if the library version ever changes. We need | ||
28 | # to think about the best way of handling this and possibly consult | ||
29 | # upstream. | ||
30 | # | ||
31 | # Note that this particular find line is taken from the Debian packaging for | ||
32 | # gst-python1.0. | ||
33 | find "${D}" \ | ||
34 | -name '*.pyc' -o \ | ||
35 | -name '*.pyo' -o \ | ||
36 | -name '*.la' -o \ | ||
37 | -name 'libgstpythonplugin*' \ | ||
38 | -delete | ||
39 | } | ||