diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2017-06-29 04:41:36 +0300 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-08-10 06:48:21 +0000 |
| commit | 75e2d5b7b68844e5c485a117bcdcfdb29250c7ec (patch) | |
| tree | 23e0503258b116c8ec80034a372186c462aa3831 /recipes/python/nativesdk-prebuild-python.bb | |
| parent | 0bb90a0bd04bcc79a04936ca5b61f32e6f124825 (diff) | |
| download | meta-boot2qt-75e2d5b7b68844e5c485a117bcdcfdb29250c7ec.tar.gz | |
mingw: upgrade windows python to 3.5.2
This adds support for 64bit windows toolchain with using different
binary archives for the prebuild python when building i686 and x86_64
mingw toolchains.
Task-number: QTBUG-58918
Change-Id: I1a02546749dd924fd3d2222bbbebf74b31dab07d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'recipes/python/nativesdk-prebuild-python.bb')
| -rw-r--r-- | recipes/python/nativesdk-prebuild-python.bb | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/recipes/python/nativesdk-prebuild-python.bb b/recipes/python/nativesdk-prebuild-python.bb deleted file mode 100644 index e8edb9e..0000000 --- a/recipes/python/nativesdk-prebuild-python.bb +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | LICENSE = "PSFv2" | ||
| 31 | |||
| 32 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Python-2.0;md5=a5c8025e305fb49e6d405769358851f6" | ||
| 33 | |||
| 34 | inherit bin_package nativesdk | ||
| 35 | |||
| 36 | COMPATIBLE_HOST = ".*-mingw.*" | ||
| 37 | |||
| 38 | SRC_URI[md5sum] = "6d37712f01fa836b1303141a6d4cabda" | ||
| 39 | SRC_URI[sha256sum] = "3835868c171dddb8cb68ed5578b6d4d639387a038e999a5b008f393b704d6ad7" | ||
| 40 | SRC_URI = "http://download.qt.io/development_releases/prebuilt/gdb/build-prerequisites/python.zip" | ||
| 41 | |||
| 42 | S = "${WORKDIR}" | ||
| 43 | |||
| 44 | do_install() { | ||
| 45 | install -d ${D}${bindir} | ||
| 46 | install ${WORKDIR}/python/python27.dll ${D}${bindir} | ||
| 47 | install -d ${D}${includedir} | ||
| 48 | install ${WORKDIR}/python/include/* ${D}${includedir} | ||
| 49 | install -d ${D}${libdir} | ||
| 50 | install ${WORKDIR}/python/libs/* ${D}${libdir} | ||
| 51 | install -d ${D}${libdir}/python2.7 | ||
| 52 | cp -r ${WORKDIR}/python/lib/* ${D}${libdir}/python2.7 | ||
| 53 | } | ||
| 54 | |||
| 55 | sysroot_stage_dirs_append() { | ||
| 56 | sysroot_stage_dir $from${bindir} $to${bindir} | ||
| 57 | } | ||
| 58 | |||
| 59 | # requires /usr/local/bin/python, but no providers found | ||
| 60 | INSANE_SKIP_${PN} += "file-rdeps" | ||
