[oe] [meta-oe][PATCH 2/2] wxpython: add 2.9.5.0
Koen Kooi
koen at dominion.thruhere.net
Mon Sep 9 07:05:18 UTC 2013
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
Same deal as with the wxwidgets recipe: don't apply this, just posting this.
.../recipes-graphics/wxwidgets/wxpython_2.9.5.0.bb | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 meta-oe/recipes-graphics/wxwidgets/wxpython_2.9.5.0.bb
diff --git a/meta-oe/recipes-graphics/wxwidgets/wxpython_2.9.5.0.bb b/meta-oe/recipes-graphics/wxwidgets/wxpython_2.9.5.0.bb
new file mode 100644
index 0000000..dea79f4
--- /dev/null
+++ b/meta-oe/recipes-graphics/wxwidgets/wxpython_2.9.5.0.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "wxWidgets is a cross platform application framework utilizing native python."
+HOMEPAGE = "http://www.wxpython.org"
+
+LICENSE = "wxWindows"
+LIC_FILES_CHKSUM = "file://licence/licence.txt;md5=18346072db6eb834b6edbd2cdc4f109b"
+
+DEPENDS = "wxwidgets"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/wxpython/wxPython-src-${PV}.tar.bz2"
+SRC_URI[md5sum] = "a2a28fe8223391c93bf8788316767c9e"
+SRC_URI[sha256sum] = "1a5b7e771eff467538d0834136188e8a7506a4fe6e85d0a46c40158cdbd4c48c"
+
+S = "${WORKDIR}/wxPython-src-${PV}/wxPython"
+
+inherit pkgconfig pythonnative python-dir setuptools
+
+CFLAGS += "-I${STAGING_INCDIR}/wx-2.9/ -I${STAGING_LIBDIR}/wx/include/${TARGET_PREFIX}gtk2-unicode-2.9/"
+
+# Enable output on stdout for buildpaths
+export WXDEBUG = "findprogress"
+
+# remove -L/usr/X11R6/lib hardcodes
+do_configure_prepend() {
+ sed -i -e s:/usr/X11R6/lib::g ${S}/config.py
+}
+
+# e.g. ${D}/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/wx-2.9/wx/wxPython/pytree.h
+
+do_install_append() {
+ cp -a ${D}${STAGING_DIR_HOST}/* ${D}
+ rm -rf ${D}${STAGING_DIR}
+}
--
1.8.2.1
More information about the Openembedded-devel
mailing list