mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 06:32:12 +02:00
* Bugfixes only release. * Removed SRC_URI from .inc file since it was duplicated in .bb file as well. (From OE-Core rev: a70a8c016086dfd4534140364256c0557e840d89) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
1.2 KiB
PHP
34 lines
1.2 KiB
PHP
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
|
|
}
|