diff options
-rw-r--r-- | meta/packages/python/python-gst/python-path.patch | 15 | ||||
-rw-r--r-- | meta/packages/python/python-gst_0.10.18.bb (renamed from meta/packages/python/python-gst_0.10.8.bb) | 7 |
2 files changed, 9 insertions, 13 deletions
diff --git a/meta/packages/python/python-gst/python-path.patch b/meta/packages/python/python-gst/python-path.patch index 465d5b180a..af5badd4d9 100644 --- a/meta/packages/python/python-gst/python-path.patch +++ b/meta/packages/python/python-gst/python-path.patch | |||
@@ -1,8 +1,8 @@ | |||
1 | Index: gst-python-0.10.7/acinclude.m4 | 1 | Index: gst-python-0.10.18/acinclude.m4 |
2 | =================================================================== | 2 | =================================================================== |
3 | --- gst-python-0.10.7.orig/acinclude.m4 2007-03-02 14:10:28.652128590 +0100 | 3 | --- gst-python-0.10.18.orig/acinclude.m4 |
4 | +++ gst-python-0.10.7/acinclude.m4 2007-03-02 14:41:00.106728708 +0100 | 4 | +++ gst-python-0.10.18/acinclude.m4 |
5 | @@ -43,12 +43,19 @@ | 5 | @@ -43,6 +43,12 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], |
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 |
@@ -14,9 +14,10 @@ Index: gst-python-0.10.7/acinclude.m4 | |||
14 | +else | 14 | +else |
15 | py_prefix=`$PYTHON -c "import sys; print sys.prefix"` | 15 | py_prefix=`$PYTHON -c "import sys; print sys.prefix"` |
16 | py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` | 16 | py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` |
17 | PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" | 17 | if $PYTHON-config --help 2>/dev/null; then |
18 | if test "$py_prefix" != "$py_exec_prefix"; then | 18 | @@ -53,6 +59,7 @@ else |
19 | PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" | 19 | PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" |
20 | fi | ||
20 | fi | 21 | fi |
21 | +fi | 22 | +fi |
22 | AC_SUBST(PYTHON_INCLUDES) | 23 | AC_SUBST(PYTHON_INCLUDES) |
diff --git a/meta/packages/python/python-gst_0.10.8.bb b/meta/packages/python/python-gst_0.10.18.bb index 59fae113d3..9de07b3c4f 100644 --- a/meta/packages/python/python-gst_0.10.8.bb +++ b/meta/packages/python/python-gst_0.10.18.bb | |||
@@ -5,18 +5,13 @@ DEPENDS = "gstreamer gst-plugins-base python-pygobject" | |||
5 | PR = "ml1" | 5 | PR = "ml1" |
6 | 6 | ||
7 | SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ | 7 | SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ |
8 | file://python-path.patch;patch=1" | 8 | file://python-path.patch" |
9 | S = "${WORKDIR}/gst-python-${PV}" | 9 | S = "${WORKDIR}/gst-python-${PV}" |
10 | 10 | ||
11 | inherit autotools distutils-base pkgconfig | 11 | inherit autotools distutils-base pkgconfig |
12 | 12 | ||
13 | EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" | 13 | EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" |
14 | 14 | ||
15 | do_configure_prepend() { | ||
16 | install -d ${S}/m4 | ||
17 | install -m 0644 ${S}/common/m4/*.m4 ${S}/m4/ | ||
18 | } | ||
19 | |||
20 | FILES_${PN} += "${datadir}/gst-python" | 15 | FILES_${PN} += "${datadir}/gst-python" |
21 | FILES_${PN}-dev += "${datadir}/gst-python/0.10/defs" | 16 | FILES_${PN}-dev += "${datadir}/gst-python/0.10/defs" |
22 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/" | 17 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/" |