summaryrefslogtreecommitdiffstats
path: root/recipes-automotive/climatecontrolplugin/climatecontrolplugin_0.1.bb
diff options
context:
space:
mode:
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"
+