summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/hvac/hvac_git.bb
blob: 4b3e2897b1bdfa59c9a3575efd5e4e41739807b6 (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
31
32
33
34
35
SUMMARY     = "HVAC for CES2017 AGL Demonstration"
DESCRIPTION = "AGL HMI Application for demonstrating HVAC on AGL Distribution"
HOMEPAGE    = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/hvac"
LICENSE     = "Apache-2.0"
SECTION     = "apps"

PV = "1.0+git${SRCPV}"
S  = "${WORKDIR}/git"

inherit qmake5

DEPENDS += "qtquickcontrols2"
# 'wgtpkg-pack' in af-main-native is required.
DEPENDS += "af-main-native"
# hvac has binding, so af-binder is required.
DEPENDS += "af-binder"

LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984"

SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/hvac;protocol=http"
SRCREV  = "${AUTOREV}"

RDEPENDS_${PN} += " \
    qtmultimedia-qmlplugins \
    qtquickcontrols2-qmlplugins \
    "

do_install() {
    install -d ${D}/usr/AGL/apps
    install -m 0644 ${B}/package/${PN}.wgt ${D}/usr/AGL/apps/
}

FILES_${PN} += "/usr/AGL/apps/ \
    /usr/AGL/apps/${PN} \
    "