diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2018-11-16 10:19:45 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2018-11-16 11:15:30 +0200 |
commit | 96685678ddb4adf615d037dd4c1dcca23023df19 (patch) | |
tree | 41480f2608c514cc1308445e413cfe06e9e91da3 /recipes-python/pyqt5/python-pyqt5.inc | |
parent | f0ca39edb8dd0524e8822da813399cce2e70ef53 (diff) | |
parent | ff6127ddd318d422f595295d1c189a86b3032873 (diff) | |
download | meta-qt5-96685678ddb4adf615d037dd4c1dcca23023df19.tar.gz |
Merge remote-tracking branch 'qtyocto/5.11' into 5.12
* qtyocto/5.11:
ff6127d Merge remote-tracking branch 'qtyocto/upstream/master' into 5.11
6b354b9 qt5: update submodules
4064b3b qtdeclarative: fix inconsistent QML_COMPILE_HASH value
fd1f0f4 python-pyqt5: Update to 5.11.3 and add python3 recipe.
3fa1993 qtbase-native: disable postgresql support
0edbe1b qtbase: refresh patches and update tags on meta-qt5
4ed4385 qtbase: don't leak absolut path to recipe specific sysroot
b3502fb qt5: Disable ltcg for host_build
5832bf2 qtbase: don't use thumb for armv[45]
Conflicts:
recipes-qt/qt5/nativesdk-qtbase_git.bb
recipes-qt/qt5/qt3d_git.bb
recipes-qt/qt5/qt5-git.inc
recipes-qt/qt5/qtbase-native_git.bb
recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch
recipes-qt/qt5/qtbase_git.bb
recipes-qt/qt5/qtcanvas3d_git.bb
recipes-qt/qt5/qtcharts_git.bb
recipes-qt/qt5/qtconnectivity_git.bb
recipes-qt/qt5/qtdatavis3d_git.bb
recipes-qt/qt5/qtdeclarative_git.bb
recipes-qt/qt5/qtgamepad_git.bb
recipes-qt/qt5/qtgraphicaleffects_git.bb
recipes-qt/qt5/qtimageformats_git.bb
recipes-qt/qt5/qtlocation_git.b b
recipes-qt/qt5/qtmultimedia_git.bb
recipes-qt/qt5/qtnetworkauth_git.bb
recipes-qt/qt5/qtpurchasing_git.bb
recipes-qt/qt5/qtquickcontrols2_git.bb
recipes-qt/qt5/qtquickcontrols_git.bb
recipes-qt/qt5/qtremoteobjects_git.bb
recipes-qt/qt5/qtscript_git.bb
recipes-qt/qt5/qtscxml_git.bb
recipes-qt/qt5/qtsensors_git.bb
recipes-qt/qt5/qtserialbus_git.bb
recipes-qt/qt5/qtserialport_git.bb
recipes-qt/qt5/qtsvg_git.bb
recipes-qt/qt5/qttools_git.bb
recipes-qt/qt5/qttranslations_git.bb
recipes-qt/qt5/qtvirtualkeyboard_git.bb
recipes-qt/qt5/qtwayland_git.bb
recipes-qt/qt5/qtwebchannel_git.bb
recipes-qt/qt5/qtwebengine_git.bb
recipes-qt/qt5/qtwebglplugin_git.bb
recipes-qt/qt5/qtwebsockets_git.bb
recipes-qt/qt5/qtwebview_git.bb
recipes-qt/qt5/qtx11extras_git.bb
recipes-qt/qt5/qtxmlpatterns_git.bb
Task-number: QTBUG-70847
Change-Id: I67e23c7020276516fcace20ff6a1eb698724dd22
Diffstat (limited to 'recipes-python/pyqt5/python-pyqt5.inc')
-rw-r--r-- | recipes-python/pyqt5/python-pyqt5.inc | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/recipes-python/pyqt5/python-pyqt5.inc b/recipes-python/pyqt5/python-pyqt5.inc new file mode 100644 index 00000000..c5ff46cf --- /dev/null +++ b/recipes-python/pyqt5/python-pyqt5.inc | |||
@@ -0,0 +1,62 @@ | |||
1 | SUMMARY = "Python Qt5 Bindings" | ||
2 | AUTHOR = "Phil Thomson @ riverbank.co.uk" | ||
3 | HOMEPAGE = "http://riverbankcomputing.co.uk" | ||
4 | SECTION = "devel/python" | ||
5 | LICENSE = "GPLv3" | ||
6 | LIC_FILES_CHKSUM = "\ | ||
7 | file://LICENSE;md5=d32239bcb673463ab874e80d47fae504 \ | ||
8 | " | ||
9 | SRC_URI = "\ | ||
10 | ${SOURCEFORGE_MIRROR}/pyqt/PyQt5_gpl-${PV}.tar.gz \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "aac3428e90eca5df68c5764282fd9b98" | ||
13 | SRC_URI[sha256sum] = "c9b57d15601d436faf35dacf8e0acefa220194829a653e771e80b189b3261073" | ||
14 | |||
15 | S = "${WORKDIR}/PyQt5_gpl-${PV}" | ||
16 | |||
17 | inherit qmake5 | ||
18 | DEPENDS = "qtbase" | ||
19 | |||
20 | export BUILD_SYS | ||
21 | export HOST_SYS | ||
22 | export STAGING_INCDIR | ||
23 | export STAGING_LIBDIR | ||
24 | |||
25 | DISABLED_FEATURES = "PyQt_Desktop_OpenGL PyQt_Accessibility PyQt_SessionManager" | ||
26 | |||
27 | DISABLED_FEATURES_append_arm = " PyQt_qreal_double" | ||
28 | |||
29 | PYQT_MODULES = "QtCore QtGui QtNetwork QtWidgets" | ||
30 | PYQT_MODULES_aarch64 = "QtCore QtGui QtNetwork QtWidgets" | ||
31 | |||
32 | do_configure_prepend() { | ||
33 | cd ${S} | ||
34 | echo "py_platform = linux" > pyqt.cfg | ||
35 | echo "py_inc_dir = %(sysroot)/$includedir/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg | ||
36 | echo "py_pylib_dir = %(sysroot)/${libdir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg | ||
37 | echo "py_pylib_lib = python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg | ||
38 | echo "pyqt_module_dir = ${D}/${libdir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}/site-packages" >> pyqt.cfg | ||
39 | echo "pyqt_bin_dir = ${D}/${bindir}" >> pyqt.cfg | ||
40 | echo "pyqt_sip_dir = ${D}/${datadir}/sip/PyQt5" >> pyqt.cfg | ||
41 | echo "pyuic_interpreter = ${D}/${bindir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg | ||
42 | echo "pyqt_disabled_features = ${DISABLED_FEATURES}" >> pyqt.cfg | ||
43 | echo "qt_shared = True" >> pyqt.cfg | ||
44 | QT_VERSION=`${OE_QMAKE_QMAKE} -query QT_VERSION` | ||
45 | echo "[Qt $QT_VERSION]" >> pyqt.cfg | ||
46 | echo "pyqt_modules = ${PYQT_MODULES}" >> pyqt.cfg | ||
47 | echo yes | ${PYTHON} configure.py --verbose --qmake ${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}/qmake --configuration pyqt.cfg --sysroot ${STAGING_DIR_HOST} | ||
48 | } | ||
49 | |||
50 | do_compile() { | ||
51 | cd ${S} | ||
52 | oe_runmake | ||
53 | } | ||
54 | |||
55 | do_install() { | ||
56 | cd ${S} | ||
57 | oe_runmake install | ||
58 | } | ||
59 | |||
60 | FILES_${PN} += "${libdir}/${PYTHON_DIR}${PYTHON_ABI}/site-packages ${datadir}/sip/PyQt5/" | ||
61 | |||
62 | RDEPENDS_${PN} = "qtbase" | ||