summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/HVAC/HVAC.bb
blob: 681b84f0b3984b1ae15f86bdf5882c0ae9284415 (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
SUMMARY     = "${PN} for the AGL Demo Platform"
DESCRIPTION = "${PN} app"
HOMEPAGE    = "https://git.automotivelinux.org/gerrit/#/admin/projects/AGL/DemoApps/${PN}"

SECTION     = "apps"

# To be revised once sourcecode lands
# LICENSE     = "xyz"
# Dummy MPL-2.0
LICENSE     = "MPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad"


SRC_URI     = "git://git.automotivelinux.org/gerrit/AGL/DemoApps/${PN};protocol=http"
SRCREV      = "AUTOINC"

# custom configure and install as these are just qml files

# we work in the git checkout ...
S = "${WORKDIR}/git"

do_configure() {
    true
}

# empty folder for now
do_install() {
    mkdir -p ${D}/opt/AGL/${PN}/
}

FILES_${PN} = "/opt/AGL/${PN}/"
NULL, *responseJ = NULL; int err = 0; wrap_json_pack(&subscribeArgsJ, "{ss}", "value", "location"); AFB_DEBUG("Calling subscribe with %s", json_object_to_json_string_ext(subscribeArgsJ, JSON_C_TO_STRING_PRETTY)); err = afb_service_call_sync("gps", "subscribe", subscribeArgsJ, &responseJ); if(err) { AFB_ERROR("Can't find api 'gpsd'"); return err; } return err; }