From b34271293a93f9e94227a16d5232b56c034d9da5 Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Tue, 6 Jul 2010 23:07:41 -0700 Subject: python-gst: upgrade from 0.10.8 to 0.10.18 Signed-off-by: Nitin A Kamble --- meta/packages/python/python-gst/python-path.patch | 15 ++++++++------- meta/packages/python/python-gst_0.10.18.bb | 17 +++++++++++++++++ meta/packages/python/python-gst_0.10.8.bb | 22 ---------------------- 3 files changed, 25 insertions(+), 29 deletions(-) create mode 100644 meta/packages/python/python-gst_0.10.18.bb delete mode 100644 meta/packages/python/python-gst_0.10.8.bb diff --git a/meta/packages/python/python-gst/python-path.patch b/meta/packages/python/python-gst/python-path.patch index 465d5b180..af5badd4d 100644 --- a/meta/packages/python/python-gst/python-path.patch +++ b/meta/packages/python/python-gst/python-path.patch @@ -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) diff --git a/meta/packages/python/python-gst_0.10.18.bb b/meta/packages/python/python-gst_0.10.18.bb new file mode 100644 index 000000000..9de07b3c4 --- /dev/null +++ b/meta/packages/python/python-gst_0.10.18.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Python Gstreamer bindings" +SECTION = "devel/python" +LICENSE = "LGPL" +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" +S = "${WORKDIR}/gst-python-${PV}" + +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/" diff --git a/meta/packages/python/python-gst_0.10.8.bb b/meta/packages/python/python-gst_0.10.8.bb deleted file mode 100644 index 59fae113d..000000000 --- a/meta/packages/python/python-gst_0.10.8.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "Python Gstreamer bindings" -SECTION = "devel/python" -LICENSE = "LGPL" -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" -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/" -- cgit v1.2.3