diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-10-25 00:25:53 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-10-26 13:00:23 +0200 |
commit | 00fe75fb5773cf5602a20a50ed299ed287dd6ebd (patch) | |
tree | 3add9e8bd7ba3a85f8b74d8a29fcae89d556216f /meta-oe/recipes-devtools | |
parent | cde537a83dc479fd48e0e07e9856347f1766193d (diff) | |
download | meta-openembedded-00fe75fb5773cf5602a20a50ed299ed287dd6ebd.tar.gz |
python-pyqt: don't bypass sstate with sip files
* discovered with http://patchwork.openembedded.org/patch/38521/
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb b/meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb index 5eef4c990..e248fbb15 100644 --- a/meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb +++ b/meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb | |||
@@ -15,6 +15,7 @@ DEPENDS = "sip-native python-sip" | |||
15 | RDEPENDS_${PN} = "python-core" | 15 | RDEPENDS_${PN} = "python-core" |
16 | 16 | ||
17 | PYQT_OE_VERSION = "Qt_4_8_3" | 17 | PYQT_OE_VERSION = "Qt_4_8_3" |
18 | PR = "r1" | ||
18 | 19 | ||
19 | SRC_URI = "\ | 20 | SRC_URI = "\ |
20 | ${SOURCEFORGE_MIRROR}/pyqt/PyQt-x11-gpl-${PV}.tar.gz \ | 21 | ${SOURCEFORGE_MIRROR}/pyqt/PyQt-x11-gpl-${PV}.tar.gz \ |
@@ -88,22 +89,15 @@ do_configure_prepend() { | |||
88 | 89 | ||
89 | do_install() { | 90 | do_install() { |
90 | install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4 | 91 | install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4 |
92 | install -d ${D}${datadir}/sip/qt/ | ||
91 | for module in ${SIP_MODULES} | 93 | for module in ${SIP_MODULES} |
92 | do | 94 | do |
95 | install -m 0644 ${S}/sip/${module}/*.sip ${D}${datadir}/sip/qt/ | ||
93 | echo "from PyQt4.${module} import *\n" >> ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/Qt.py | 96 | echo "from PyQt4.${module} import *\n" >> ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/Qt.py |
94 | install -m 0755 ${module}/lib${module}.so ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/${module}.so | 97 | install -m 0755 ${module}/lib${module}.so ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/${module}.so |
95 | done | 98 | done |
96 | cp -pPR elementtree ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/ | 99 | cp -pPR elementtree ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/ |
97 | cp __init__.py ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/ | 100 | cp __init__.py ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/ |
98 | |||
99 | install -d ${STAGING_SIPDIR}/qt/ | ||
100 | install -d ${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages | ||
101 | for module in ${SIP_MODULES} | ||
102 | do | ||
103 | install -m 0644 ${S}/sip/${module}/*.sip ${STAGING_SIPDIR}/qt/ | ||
104 | install -m 0755 ${module}/lib${module}.so ${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/${module}.so | ||
105 | done | ||
106 | } | 101 | } |
107 | 102 | ||
108 | FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages" | 103 | FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/qt/" |
109 | |||