summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2015-05-18 16:58:35 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-20 21:41:07 +0100
commitd30b1b0d0e99c7c579c6bdb36ed3378c9057a46d (patch)
tree8f6080da037dddca0f48abac521fc175a2dcf077 /meta/recipes-devtools/python
parent336ddb3109e321bd83b902f1c0573f7b106718a8 (diff)
downloadpoky-d30b1b0d0e99c7c579c6bdb36ed3378c9057a46d.tar.gz
python-gst: remove obsolete Python gstreamer 0.10 bindings
GStreamer 1.0 python bindings are gobject-introspection based, so until that is fixed, they will not be available. https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294 (From OE-Core rev: 89d5cf570e4e303054ba4cc3b1dfded80b4aebd4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python-gst/python-path.patch28
-rw-r--r--meta/recipes-devtools/python/python-gst_0.10.22.bb29
2 files changed, 0 insertions, 57 deletions
diff --git a/meta/recipes-devtools/python/python-gst/python-path.patch b/meta/recipes-devtools/python/python-gst/python-path.patch
deleted file mode 100644
index 21b5bbfcfc..0000000000
--- a/meta/recipes-devtools/python/python-gst/python-path.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1Upstream-Status:Pending
2
3Index: gst-python-0.10.19/acinclude.m4
4===================================================================
5--- gst-python-0.10.19.orig/acinclude.m4 2010-04-21 15:23:44.000000000 -0700
6+++ gst-python-0.10.19/acinclude.m4 2010-11-15 14:43:00.642994001 -0800
7@@ -43,6 +43,13 @@
8 [AC_REQUIRE([AM_PATH_PYTHON])
9 AC_MSG_CHECKING(for headers required to compile python extensions)
10 dnl deduce PYTHON_INCLUDES
11+
12+AC_ARG_WITH(python-includes,
13+ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval)
14+if test x$py_exec_prefix != x; then
15+PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}"
16+py_prefix="${py_exec_prefix}"
17+else
18 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
19 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
20 if $PYTHON-config --help 2>/dev/null; then
21@@ -53,6 +60,7 @@
22 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
23 fi
24 fi
25+fi
26 AC_SUBST(PYTHON_INCLUDES)
27 dnl check if the headers exist:
28 save_CPPFLAGS="$CPPFLAGS"
diff --git a/meta/recipes-devtools/python/python-gst_0.10.22.bb b/meta/recipes-devtools/python/python-gst_0.10.22.bb
deleted file mode 100644
index 2a5f2b3239..0000000000
--- a/meta/recipes-devtools/python/python-gst_0.10.22.bb
+++ /dev/null
@@ -1,29 +0,0 @@
1SUMMARY = "Python bindings for the GStreamer multimedia framework"
2SECTION = "devel/python"
3LICENSE = "LGPLv2.1"
4DEPENDS = "gstreamer gst-plugins-base python-pygobject"
5RDEPENDS_${PN} += "python-pygtk"
6PR = "r2"
7
8SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \
9 file://python-path.patch"
10
11SRC_URI[md5sum] = "937152fe896241f827689f4b53e79b22"
12SRC_URI[sha256sum] = "8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178"
13S = "${WORKDIR}/gst-python-${PV}"
14
15LIC_FILES_CHKSUM = "file://COPYING;md5=39ff67e932b7bdfa9b78bad67151690b"
16
17inherit autotools distutils-base pkgconfig
18
19EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
20
21FILES_${PN} += "${datadir}/gst-python"
22FILES_${PN}-dev += "${datadir}/gst-python/0.10/defs"
23FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ ${libdir}/gstreamer-0.10/.debug/"
24
25do_configure_prepend() {
26 if [ `find ${STAGING_LIBDIR} -name libpython*.so` ]; then
27 ln -sf ${STAGING_LIBDIR}/libpython*.so `find ${STAGING_LIBDIR} -name libpython*.a -exec dirname {} \;`
28 fi
29}