From 972dcfcdbfe75dcfeb777150c136576cf1a71e99 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 9 Oct 2015 22:59:03 +0200 Subject: initial commit for Enea Linux 5.0 arm Signed-off-by: Tudor Florea --- meta/recipes-devtools/python/python-gst_0.10.22.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta/recipes-devtools/python/python-gst_0.10.22.bb (limited to 'meta/recipes-devtools/python/python-gst_0.10.22.bb') diff --git a/meta/recipes-devtools/python/python-gst_0.10.22.bb b/meta/recipes-devtools/python/python-gst_0.10.22.bb new file mode 100644 index 0000000000..2a5f2b3239 --- /dev/null +++ b/meta/recipes-devtools/python/python-gst_0.10.22.bb @@ -0,0 +1,29 @@ +SUMMARY = "Python bindings for the GStreamer multimedia framework" +SECTION = "devel/python" +LICENSE = "LGPLv2.1" +DEPENDS = "gstreamer gst-plugins-base python-pygobject" +RDEPENDS_${PN} += "python-pygtk" +PR = "r2" + +SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ + file://python-path.patch" + +SRC_URI[md5sum] = "937152fe896241f827689f4b53e79b22" +SRC_URI[sha256sum] = "8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178" +S = "${WORKDIR}/gst-python-${PV}" + +LIC_FILES_CHKSUM = "file://COPYING;md5=39ff67e932b7bdfa9b78bad67151690b" + +inherit autotools distutils-base pkgconfig + +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" + +FILES_${PN} += "${datadir}/gst-python" +FILES_${PN}-dev += "${datadir}/gst-python/0.10/defs" +FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ ${libdir}/gstreamer-0.10/.debug/" + +do_configure_prepend() { + if [ `find ${STAGING_LIBDIR} -name libpython*.so` ]; then + ln -sf ${STAGING_LIBDIR}/libpython*.so `find ${STAGING_LIBDIR} -name libpython*.a -exec dirname {} \;` + fi +} -- cgit v1.2.3-54-g00ecf