1 SUMMARY = "Instrument Cluster Dashboard application"
2 DESCRIPTION = "AGL demonstration instrument cluster dashboard application"
3 HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/agl-cluster-demo-dashboard"
6 LICENSE = "Apache-2.0 & BSD-3-Clause"
7 LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984 \
8 file://app/cluster-gauges.qml;beginline=9;endline=48;md5=54187d50b29429abee6095fe8b7c1a78"
14 wayland wayland-native \
15 qtwayland qtwayland-native \
18 PV = "1.0+git${SRCPV}"
20 SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-cluster-demo-dashboard;protocol=https;branch=${AGL_BRANCH} \
21 file://cluster-dashboard.service \
22 file://cluster-dashboard.conf \
23 file://cluster-dashboard.token \
25 SRCREV = "137144c447d8adb618f5acbcbafd65f50264d6eb"
29 inherit pkgconfig cmake_qt5
31 CLUSTER_DEMO_VISS_HOSTNAME ??= "192.168.10.2"
34 install -d ${D}${systemd_user_unitdir}/agl-session.target.wants
35 install -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_user_unitdir}/${BPN}.service
36 ln -s ../${BPN}.service ${D}${systemd_user_unitdir}/agl-session.target.wants/${BPN}.service
38 # VIS authorization token file for KUKSA.val should ideally not
39 # be readable by other users, but currently that's not doable
40 # until a packaging/sandboxing/MAC scheme is (re)implemented or
41 # something like OAuth is plumbed in as an alternative.
42 install -d ${D}${sysconfdir}/xdg/AGL/cluster-dashboard
43 install -m 0644 ${WORKDIR}/cluster-dashboard.conf ${D}${sysconfdir}/xdg/AGL/
44 sed -i "s/^server = .*/server = \"${CLUSTER_DEMO_VISS_HOSTNAME}\"/" ${D}${sysconfdir}/xdg/AGL/cluster-dashboard.conf
45 install -m 0644 ${WORKDIR}/cluster-dashboard.token ${D}${sysconfdir}/xdg/AGL/cluster-dashboard/
48 FILES:${PN} += " ${systemd_user_unitdir}"
54 qtquickcontrols-qmlplugins \
56 qtquickcontrols2-qmlplugins \
57 qtgraphicaleffects-qmlplugins \
59 kuksa-val-client-certificates \