aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-automotive/climatecontrolplugin/climatecontrolplugin_0.1.bb
blob: 8058bdbf749aa834fea3d2a46f1dc16bf5b94297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"