summaryrefslogtreecommitdiffstats
path: root/recipes-automotive/climatecontrolplugin/climatecontrolplugin_0.1.bb
diff options
context:
space:
mode:
authorMatthew Vick <mvick@jaguarlandrover.com>2015-12-17 13:37:25 -0800
committerGerrit Code Review <gerrit@172.30.200.200>2015-12-21 16:23:04 +0000
commit762181dff011efbaf3d40edb1b3d573c5aceab01 (patch)
treec24b68c6a4a60577dbbfdb107a8c40ccd160b2da /recipes-automotive/climatecontrolplugin/climatecontrolplugin_0.1.bb
parentee2a49c5adc2bc545df6f616f235af42589f1655 (diff)
Add a QML plugin to expose AMB's ClimateControl objects.
To expose the AMB ClimateControl objects to the application layer, add a QML plugin so the application developers can natively configure the vehicle's climate controls based on user input. Because the potential compatibility issue between AMB and Qt being discussed on the AGL mailing list has not yet been resolved, this commit also adds a helper program that the climate control plugin will use as a workaround to access AMB that may be removed in the future. To include support for this plugin, it is necessary for users to add "climatecontrolplugin" to their conf/local.conf when building the image. Change-Id: I6117f0a13e4195e460e3b552befb6e326cdf0f6a Signed-off-by: Matthew Vick <mvick@jaguarlandrover.com>
Diffstat (limited to 'recipes-automotive/climatecontrolplugin/climatecontrolplugin_0.1.bb')
-rw-r--r--recipes-automotive/climatecontrolplugin/climatecontrolplugin_0.1.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-automotive/climatecontrolplugin/climatecontrolplugin_0.1.bb b/recipes-automotive/climatecontrolplugin/climatecontrolplugin_0.1.bb
new file mode 100644
index 000000000..8058bdbf7
--- /dev/null
+++ b/recipes-automotive/climatecontrolplugin/climatecontrolplugin_0.1.bb
@@ -0,0 +1,30 @@
+SUMMARY = "climatecontrolplugin"
+
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=815ca599c9df247a0c7f619bab123dad \
+ file://climatecontrol.cpp;startline=1;endline=5;md5=0ba6897a99e9332dae1891b4ccf78de3 \
+ file://climatecontrol.h;startline=1;endline=5;md5=0ba6897a99e9332dae1891b4ccf78de3 \
+ file://climatecontrol_plugin.cpp;startline=1;endline=5;md5=0ba6897a99e9332dae1891b4ccf78de3 \
+ file://climatecontrol_plugin.h;startline=1;endline=5;md5=0ba6897a99e9332dae1891b4ccf78de3 \
+ "
+
+SRC_URI = "file://* \
+ "
+S = "${WORKDIR}"
+
+DEPENDS = "qtdeclarative qtbase"
+RDEPENDS_${PN} = "automotive-message-broker ambdbusaccess"
+
+inherit qmake5
+
+do_install () {
+ mkdir -p ${D}/usr/lib/qt5/qml/Automotive/ClimateControl/
+ cp libClimateControl.so ${D}/usr/lib/qt5/qml/Automotive/ClimateControl/
+ cp qmldir ${D}/usr/lib/qt5/qml/Automotive/ClimateControl/
+}
+
+FILES_${PN} += "${libdir}/qt5/qml/Automotive/ClimateControl/libClimateControl.so \
+ ${libdir}/qt5/qml/Automotive/ClimateControl/qmldir \
+ "
+FILES_${PN}-dbg += "${libdir}/qt5/qml/Automotive/ClimateControl/.debug"
+