summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/gstreamer-0.10/python-gst/python-path.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-05-26 17:13:13 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2015-05-28 10:35:13 +0200
commitfa01c2614a4e58937cd73d0f5d8b17df935bc5b5 (patch)
treef7396d3f5a6031632de8290d4006041ee2e59630 /meta-multimedia/recipes-multimedia/gstreamer-0.10/python-gst/python-path.patch
parent175406cdca39bf5b218bb4127a3e9c9bd11b653f (diff)
downloadmeta-openembedded-fa01c2614a4e58937cd73d0f5d8b17df935bc5b5.tar.gz
gstreamear: rename directory to gstreamer-0.10
* gst-plugins-gl: fix the path to a required include * so that it's clear that the recipes it contains are specific to the obsolete, unmaintained version of gstreamer. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/gstreamer-0.10/python-gst/python-path.patch')
-rw-r--r--meta-multimedia/recipes-multimedia/gstreamer-0.10/python-gst/python-path.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-0.10/python-gst/python-path.patch b/meta-multimedia/recipes-multimedia/gstreamer-0.10/python-gst/python-path.patch
new file mode 100644
index 0000000000..21b5bbfcfc
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/gstreamer-0.10/python-gst/python-path.patch
@@ -0,0 +1,28 @@
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"