From 7dc5d514c72cf3634ef3f1b0fc6643ceb7938c2d Mon Sep 17 00:00:00 2001 From: Kimmo Ollila Date: Thu, 23 Jun 2016 17:30:54 +0300 Subject: Added QMLLive to automotive images Change-Id: Iaf4721429e97d480ec4938186cc4115231ca86c1 Reviewed-by: Risto Avila --- .../automotive/qmllive-target/qmllive-target.patch | 19 +++++++++++++++++++ recipes-qt/automotive/qmllive-target_git.bb | 20 ++++++++++++++++++++ .../packagegroup-b2qt-automotive-addons.bb | 1 + 3 files changed, 40 insertions(+) create mode 100644 recipes-qt/automotive/qmllive-target/qmllive-target.patch create mode 100644 recipes-qt/automotive/qmllive-target_git.bb (limited to 'recipes-qt') diff --git a/recipes-qt/automotive/qmllive-target/qmllive-target.patch b/recipes-qt/automotive/qmllive-target/qmllive-target.patch new file mode 100644 index 0000000..e3f81fa --- /dev/null +++ b/recipes-qt/automotive/qmllive-target/qmllive-target.patch @@ -0,0 +1,19 @@ +diff --git a/runtime.pro b/runtime.pro +index 73dd6d7..e569b23 100644 +--- a/runtime.pro ++++ b/runtime.pro +@@ -1,5 +1,4 @@ + TARGET = qmlliveruntime +-DESTDIR = ../../bin + + QT *= widgets quick + osx: CONFIG -= app_bundle +@@ -14,6 +13,6 @@ include(../src.pri) + RESOURCES += \ + qml.qrc + +- +- ++target.path += /usr/bin ++INSTALLS += target + diff --git a/recipes-qt/automotive/qmllive-target_git.bb b/recipes-qt/automotive/qmllive-target_git.bb new file mode 100644 index 0000000..efcac4d --- /dev/null +++ b/recipes-qt/automotive/qmllive-target_git.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "QML Live target runtime" + +LICENSE = "GPL-3.0" +LIC_FILES_CHKSUM = "file://../../LICENSE.GPL3;md5=75cd0dbc6f2d24e7eeb128ff59b74f4c" + +inherit qmake5 sdk-sources + +FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" + +SRC_URI = " \ + git://codereview.qt-project.org/qt-apps/qmllive.git;branch=${BRANCH};protocol=ssh;name=tools \ + file://qmllive-target.patch \ +" + +BRANCH = "master" +SRCREV_tools="d0d41c71c4691a5f3e2b72e22917f314b4190ffc" + +S = "${WORKDIR}/git/src/runtime" + +DEPENDS = "qtbase qtdeclarative" diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-automotive-addons.bb b/recipes-qt/packagegroups/packagegroup-b2qt-automotive-addons.bb index aee96d9..5ec66b4 100644 --- a/recipes-qt/packagegroups/packagegroup-b2qt-automotive-addons.bb +++ b/recipes-qt/packagegroups/packagegroup-b2qt-automotive-addons.bb @@ -43,4 +43,5 @@ RDEPENDS_${PN} += " \ neptune-ui-apps \ ${@base_contains('DISTRO_FEATURES', 'webengine', 'qtwebbrowser', '', d)} \ gammaray \ + qmllive-target \ " -- cgit v1.2.3-54-g00ecf