diff options
| author | Saul Wold <sgw@linux.intel.com> | 2010-11-15 14:59:36 -0800 |
|---|---|---|
| committer | Saul Wold <Saul.Wold@intel.com> | 2010-11-18 13:30:25 -0800 |
| commit | 32f05375659ab6522b9242d0204e26560f7321da (patch) | |
| tree | 5c134371ef63e2d160cc6d362e00f390d7233692 | |
| parent | 252a42486fc0851b58015f422ec12d56a2801947 (diff) | |
| download | poky-32f05375659ab6522b9242d0204e26560f7321da.tar.gz | |
python-gst: Fix the configure patch & add LIC_FILE_CHKSUM
Fixed the acinclude.m4 patch for the py_prefix to correct a host contamination check
Added LIC_FILE_CHKSUM for COPYING
LICENSE Update
Signed-off-by: Saul Wold <sgw@linux.intel.com>
| -rw-r--r-- | meta/recipes-devtools/python/python-gst/python-path.patch | 11 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python-gst_0.10.19.bb | 4 |
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 @@ | |||
| 1 | Index: gst-python-0.10.18/acinclude.m4 | 1 | Index: 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 @@ | |||
| 1 | DESCRIPTION = "Python Gstreamer bindings" | 1 | DESCRIPTION = "Python Gstreamer bindings" |
| 2 | SECTION = "devel/python" | 2 | SECTION = "devel/python" |
| 3 | LICENSE = "LGPL" | 3 | LICENSE = "LGPLv2.1" |
| 4 | DEPENDS = "gstreamer gst-plugins-base python-pygobject" | 4 | DEPENDS = "gstreamer gst-plugins-base python-pygobject" |
| 5 | RDEPENDS += "python-pygtk" | 5 | RDEPENDS += "python-pygtk" |
| 6 | PR = "r0" | 6 | PR = "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" |
| 10 | S = "${WORKDIR}/gst-python-${PV}" | 10 | S = "${WORKDIR}/gst-python-${PV}" |
| 11 | 11 | ||
| 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=39ff67e932b7bdfa9b78bad67151690b" | ||
| 13 | |||
| 12 | inherit autotools distutils-base pkgconfig | 14 | inherit autotools distutils-base pkgconfig |
| 13 | 15 | ||
| 14 | EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" | 16 | EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" |
