diff options
author | Bhooshan Supe <bhooshan.supe@lge.com> | 2013-07-26 19:59:09 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-09-13 14:32:02 +0200 |
commit | 2340ce8714f2a50e459c80a6aab51dad37378303 (patch) | |
tree | 73efeb096d1a1528f832bb447a78253568f0fda9 /recipes-qt/qt5/qttools-native.inc | |
parent | 284020d9344b6fbd88d9c6d5ff6fbaef430a775b (diff) |
qttools-native: Add module to build lrelease+lupdate+lconvert
:Release Notes:
Add optional Qt-Tools module.
:Detailed Notes:
Qt provide optional Qt-Tools like "lrelease", etc.
In absence of these tools one can not have i18n and l10n changes automated in build.
Adding "qttools-native" to "meta-qt5" Open Embedded layer provides those tools.
Using Qt-Tools i18n and l10n changes can be auomated.
:Testing Performed:
:QA Notes:
:Issues Addressed:
[GF-11028] Enable build of Qt localization tools in the Qt component
Change-Id: Ieb679249a05501a6ccb25108903a0fd48d4014f0
Diffstat (limited to 'recipes-qt/qt5/qttools-native.inc')
-rw-r--r-- | recipes-qt/qt5/qttools-native.inc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qttools-native.inc b/recipes-qt/qt5/qttools-native.inc new file mode 100644 index 00000000..cc1e0566 --- /dev/null +++ b/recipes-qt/qt5/qttools-native.inc @@ -0,0 +1,22 @@ +# doesn't have GFDL-1.3 like qtbase, LICENSE files are missing in 5.0.0 and 5.0.1, this is for 5.0.2 and git +LICENSE = "LGPL-2.1 | GPL-3.0" +LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ + file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ + file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ +" + +DEPENDS = "qtbase-native" + +QT_MODULE = "qttools" + +require qt5-native.inc + +SRC_URI += "file://0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch" + +do_configure() { + ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S} CONFIG+=linguistonly +} + +do_install() { + oe_runmake install INSTALL_ROOT=${D} +} |