Files
poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.3.bb
Carlos Rafael Giani 944d24eb0b gstreamer1.0-python: upgrade to version 1.14.3
(From OE-Core rev: 750e03a231eb3bcf31c30cf67ff80a6bc821ee66)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-19 17:03:24 +00:00

40 lines
1.5 KiB
BlitzBasic

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] = "af6907b1b6c41a52b27939417e8c5ba9"
SRC_URI[sha256sum] = "4fc3e76c965384e54fb6be819d606ab304988eb677cf0c5dcc0dd555e3ad8307"
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
}