summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/python/python-gst/python-path.patch11
-rw-r--r--meta/recipes-devtools/python/python-gst_0.10.19.bb4
2 files changed, 9 insertions, 6 deletions
diff --git a/meta/recipes-devtools/python/python-gst/python-path.patch b/meta/recipes-devtools/python/python-gst/python-path.patch
index af5badd4d9..00bab2c565 100644
--- a/meta/recipes-devtools/python/python-gst/python-path.patch
+++ b/meta/recipes-devtools/python/python-gst/python-path.patch
@@ -1,8 +1,8 @@
1Index: gst-python-0.10.18/acinclude.m4 1Index: gst-python-0.10.19/acinclude.m4
2=================================================================== 2===================================================================
3--- gst-python-0.10.18.orig/acinclude.m4 3--- gst-python-0.10.19.orig/acinclude.m4 2010-04-21 15:23:44.000000000 -0700
4+++ gst-python-0.10.18/acinclude.m4 4+++ gst-python-0.10.19/acinclude.m4 2010-11-15 14:43:00.642994001 -0800
5@@ -43,6 +43,12 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], 5@@ -43,6 +43,13 @@
6 [AC_REQUIRE([AM_PATH_PYTHON]) 6 [AC_REQUIRE([AM_PATH_PYTHON])
7 AC_MSG_CHECKING(for headers required to compile python extensions) 7 AC_MSG_CHECKING(for headers required to compile python extensions)
8 dnl deduce PYTHON_INCLUDES 8 dnl deduce PYTHON_INCLUDES
@@ -11,11 +11,12 @@ Index: gst-python-0.10.18/acinclude.m4
11+ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) 11+ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval)
12+if test x$py_exec_prefix != x; then 12+if test x$py_exec_prefix != x; then
13+PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" 13+PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}"
14+py_prefix="${py_exec_prefix}"
14+else 15+else
15 py_prefix=`$PYTHON -c "import sys; print sys.prefix"` 16 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
16 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` 17 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
17 if $PYTHON-config --help 2>/dev/null; then 18 if $PYTHON-config --help 2>/dev/null; then
18@@ -53,6 +59,7 @@ else 19@@ -53,6 +60,7 @@
19 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" 20 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
20 fi 21 fi
21 fi 22 fi
diff --git a/meta/recipes-devtools/python/python-gst_0.10.19.bb b/meta/recipes-devtools/python/python-gst_0.10.19.bb
index cb2147cc9a..6afc3bac22 100644
--- a/meta/recipes-devtools/python/python-gst_0.10.19.bb
+++ b/meta/recipes-devtools/python/python-gst_0.10.19.bb
@@ -1,6 +1,6 @@
1DESCRIPTION = "Python Gstreamer bindings" 1DESCRIPTION = "Python Gstreamer bindings"
2SECTION = "devel/python" 2SECTION = "devel/python"
3LICENSE = "LGPL" 3LICENSE = "LGPLv2.1"
4DEPENDS = "gstreamer gst-plugins-base python-pygobject" 4DEPENDS = "gstreamer gst-plugins-base python-pygobject"
5RDEPENDS += "python-pygtk" 5RDEPENDS += "python-pygtk"
6PR = "r0" 6PR = "r0"
@@ -9,6 +9,8 @@ SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.
9 file://python-path.patch" 9 file://python-path.patch"
10S = "${WORKDIR}/gst-python-${PV}" 10S = "${WORKDIR}/gst-python-${PV}"
11 11
12LIC_FILES_CHKSUM = "file://COPYING;md5=39ff67e932b7bdfa9b78bad67151690b"
13
12inherit autotools distutils-base pkgconfig 14inherit autotools distutils-base pkgconfig
13 15
14EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" 16EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"