nativesdk-qttools: add nativesdk version of qttools necessary for SDK tools
authorDenys Dmytriyenko <denys@ti.com>
Tue, 26 Nov 2013 04:33:37 +0000 (23:33 -0500)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:45:21 +0000 (08:45 -0800)
(From meta-qt5 rev: 512c859380a36b753b5fcca21a31aea4d85a1737)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/qt5/nativesdk-qttools.inc [new file with mode: 0644]
meta-qt5/recipes-qt/qt5/nativesdk-qttools_5.1.1.bb [new file with mode: 0644]

diff --git a/meta-qt5/recipes-qt/qt5/nativesdk-qttools.inc b/meta-qt5/recipes-qt/qt5/nativesdk-qttools.inc
new file mode 100644 (file)
index 0000000..e9b2949
--- /dev/null
@@ -0,0 +1,25 @@
+DEPENDS = "nativesdk-qtbase qtbase-native"
+
+QT_MODULE = "qttools"
+
+require nativesdk-qt5.inc
+
+SRC_URI += "file://0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch"
+
+PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
+
+FILES_${PN}-dbg = " \
+    ${OE_QMAKE_PATH_BINS}/.debug \
+"
+
+FILES_${PN} = " \
+    ${OE_QMAKE_PATH_BINS}/* \
+"
+
+do_configure() {
+    ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S} CONFIG+=linguistonly
+}
+
+do_install() {
+    oe_runmake install INSTALL_ROOT=${D}
+}
diff --git a/meta-qt5/recipes-qt/qt5/nativesdk-qttools_5.1.1.bb b/meta-qt5/recipes-qt/qt5/nativesdk-qttools_5.1.1.bb
new file mode 100644 (file)
index 0000000..b56f430
--- /dev/null
@@ -0,0 +1,7 @@
+require qt5-${PV}.inc
+require ${PN}.inc
+
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/qttools-${PV}:"
+
+SRC_URI[md5sum] = "022073d32ff9d408de0182b5d1f01781"
+SRC_URI[sha256sum] = "2b42c6d5feeccffb67e890b86a150bae64dd2ff550be39a3cc449ee0e95462b6"