summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/python/python-pyqt_4.9.5.bb14
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"
15RDEPENDS_${PN} = "python-core" 15RDEPENDS_${PN} = "python-core"
16 16
17PYQT_OE_VERSION = "Qt_4_8_3" 17PYQT_OE_VERSION = "Qt_4_8_3"
18PR = "r1"
18 19
19SRC_URI = "\ 20SRC_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
89do_install() { 90do_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
108FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages" 103FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/qt/"
109