python-gst: upgrade from 0.10.8 to 0.10.18

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
This commit is contained in:
Nitin A Kamble 2010-07-06 23:07:41 -07:00 committed by Saul Wold
parent d42466ea43
commit b34271293a
2 changed files with 9 additions and 13 deletions

View File

@ -1,8 +1,8 @@
Index: gst-python-0.10.7/acinclude.m4
Index: gst-python-0.10.18/acinclude.m4
===================================================================
--- gst-python-0.10.7.orig/acinclude.m4 2007-03-02 14:10:28.652128590 +0100
+++ gst-python-0.10.7/acinclude.m4 2007-03-02 14:41:00.106728708 +0100
@@ -43,12 +43,19 @@
--- gst-python-0.10.18.orig/acinclude.m4
+++ gst-python-0.10.18/acinclude.m4
@@ -43,6 +43,12 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
[AC_REQUIRE([AM_PATH_PYTHON])
AC_MSG_CHECKING(for headers required to compile python extensions)
dnl deduce PYTHON_INCLUDES
@ -14,9 +14,10 @@ Index: gst-python-0.10.7/acinclude.m4
+else
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
if test "$py_prefix" != "$py_exec_prefix"; then
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
if $PYTHON-config --help 2>/dev/null; then
@@ -53,6 +59,7 @@ else
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
fi
fi
+fi
AC_SUBST(PYTHON_INCLUDES)

View File

@ -5,18 +5,13 @@ DEPENDS = "gstreamer gst-plugins-base python-pygobject"
PR = "ml1"
SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \
file://python-path.patch;patch=1"
file://python-path.patch"
S = "${WORKDIR}/gst-python-${PV}"
inherit autotools distutils-base pkgconfig
EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
do_configure_prepend() {
install -d ${S}/m4
install -m 0644 ${S}/common/m4/*.m4 ${S}/m4/
}
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/"