diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-05-13 10:21:19 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-05-27 15:19:04 +0300 |
commit | 190108b9bea85ecc5b9d471d2a7c594b853cbae9 (patch) | |
tree | 75738269c899a57fa2a223cb0c93507c3f3f2f1f /recipes-qt/qt5-addons/qtglesstream.bb | |
parent | d5e0cf7f40587f68ef9d7f5af26b5557bb7b25e3 (diff) | |
download | meta-boot2qt-190108b9bea85ecc5b9d471d2a7c594b853cbae9.tar.gz |
emulator: Qt5 support for emulator
Emulator has special handling for OpenGL support: QtGlesStream provides
the runtime opengl support but since it depends on qtbase, we need to
use qtglesstream-dummy-client when building qt. Also since both recipes
provide same files, we must disable do_populate_sysroot from qtglesstream
so that libs from dummy-client remain there.
Change-Id: Ifde698e7d46863dbb82c6f3ad791412775e111ea
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'recipes-qt/qt5-addons/qtglesstream.bb')
-rw-r--r-- | recipes-qt/qt5-addons/qtglesstream.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/recipes-qt/qt5-addons/qtglesstream.bb b/recipes-qt/qt5-addons/qtglesstream.bb new file mode 100644 index 0000000..96ab1f7 --- /dev/null +++ b/recipes-qt/qt5-addons/qtglesstream.bb | |||
@@ -0,0 +1,58 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "QtGlesStream" | ||
24 | LICENSE = "QtEnterprise" | ||
25 | LIC_FILES_CHKSUM = "file://qtglesstream.pro;md5=e95d9351d26ed899188e02d44133cae0" | ||
26 | |||
27 | inherit qt5-module | ||
28 | |||
29 | SRC_URI = " \ | ||
30 | git://qt-gerrit.it.local/QtRD-15810/qtglesstream.git;branch=${QT_BRANCH};protocol=ssh \ | ||
31 | " | ||
32 | |||
33 | PV = "1.0.0" | ||
34 | SRCREV = "137d476b0e39eaaa6f35296b6bd962175e6ea5d6" | ||
35 | QT_BRANCH = "dev" | ||
36 | |||
37 | S = "${WORKDIR}/git" | ||
38 | |||
39 | DEPENDS = "qtbase" | ||
40 | RREPLACES_${PN} = "qtglesstream-dummy-client" | ||
41 | RREPLACES_${PN}-dev = "qtglesstream-dummy-client-dev" | ||
42 | |||
43 | do_install_append() { | ||
44 | install -m 0755 -d ${D}${includedir}/EGL | ||
45 | install -m 0755 ${S}/headers/EGL/* ${D}${includedir}/EGL | ||
46 | |||
47 | install -m 0755 -d ${D}${includedir}/GLES2 | ||
48 | install -m 0755 ${S}/headers/GLES2/* ${D}${includedir}/GLES2 | ||
49 | |||
50 | install -m 0755 -d ${D}${includedir}/GLES3 | ||
51 | install -m 0755 ${S}/headers/GLES3/* ${D}${includedir}/GLES3 | ||
52 | |||
53 | install -m 0755 -d ${D}${includedir}/KHR | ||
54 | install -m 0755 ${S}/headers/KHR/* ${D}${includedir}/KHR | ||
55 | } | ||
56 | |||
57 | # no not overwrite files from qtglesstream-dummy-client | ||
58 | do_populate_sysroot[noexec] = "1" | ||