summaryrefslogtreecommitdiffstats
path: root/recipes-demo/flutter-ics-homescreen
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo/flutter-ics-homescreen')
-rw-r--r--recipes-demo/flutter-ics-homescreen/files/ics-homescreen.yaml7
-rw-r--r--recipes-demo/flutter-ics-homescreen/files/radio-presets.yaml13
-rw-r--r--recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb35
3 files changed, 39 insertions, 16 deletions
diff --git a/recipes-demo/flutter-ics-homescreen/files/ics-homescreen.yaml b/recipes-demo/flutter-ics-homescreen/files/ics-homescreen.yaml
index eb29ea731..f8e400b39 100644
--- a/recipes-demo/flutter-ics-homescreen/files/ics-homescreen.yaml
+++ b/recipes-demo/flutter-ics-homescreen/files/ics-homescreen.yaml
@@ -1,3 +1,4 @@
-port : 55555
-authorization : "/etc/xdg/AGL/ics-homescreen/ics-homescreen.token"
-use-tls : true
+kuksa:
+ port : 55555
+ authorization : "/etc/xdg/AGL/ics-homescreen/ics-homescreen.token"
+ use-tls : true
diff --git a/recipes-demo/flutter-ics-homescreen/files/radio-presets.yaml b/recipes-demo/flutter-ics-homescreen/files/radio-presets.yaml
new file mode 100644
index 000000000..6af083772
--- /dev/null
+++ b/recipes-demo/flutter-ics-homescreen/files/radio-presets.yaml
@@ -0,0 +1,13 @@
+fm:
+- frequency: 93100000
+ name: 93.1 The Mountain
+- frequency: 94100000
+ name: Mix 94.1
+- frequency: 96300000
+ name: 96.3 KKLZ
+- frequency: 102700000
+ name: 102.7 VGS
+- frequency: 88900000
+ name: News 88.9
+- frequency: 91500000
+ name: KUNV
diff --git a/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb b/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb
index 77ed50903..dd50df72f 100644
--- a/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb
+++ b/recipes-demo/flutter-ics-homescreen/flutter-ics-homescreen_git.bb
@@ -11,8 +11,9 @@ SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/flutter-ics-homescreen;p
file://flutter-ics-homescreen.service \
file://ics-homescreen.yaml \
file://ics-homescreen.token \
+ file://radio-presets.yaml \
"
-SRCREV = "71d46d03850653c0229c678de197c6f94fceb477"
+SRCREV = "5587c6ae79b482fbff26442bb239d7d7eb55a337"
S = "${WORKDIR}/git"
@@ -33,18 +34,26 @@ DISABLE_BG_ANIMATION:rcar-gen3 = ""
APP_AOT_EXTRA:append = " ${DISABLE_BG_ANIMATION}"
do_install:append() {
- install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service
-
- install -D -m 0644 ${WORKDIR}/${APP_CONFIG} ${D}${datadir}/flutter/${BPN}.json
-
- # VIS authorization token file for KUKSA.val should ideally not
- # be readable by other users, but currently that's not doable
- # until a packaging/sandboxing/MAC scheme is (re)implemented or
- # something like OAuth is plumbed in as an alternative.
- install -d ${D}${sysconfdir}/xdg/AGL/ics-homescreen
- install -m 0644 ${WORKDIR}/ics-homescreen.yaml ${D}${sysconfdir}/xdg/AGL/
- install -m 0644 ${WORKDIR}/ics-homescreen.token ${D}${sysconfdir}/xdg/AGL/ics-homescreen/
+ install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service
+
+ install -D -m 0644 ${WORKDIR}/${APP_CONFIG} ${D}${datadir}/flutter/${BPN}.json
+
+ # VIS authorization token file for KUKSA.val should ideally not
+ # be readable by other users, but currently that's not doable
+ # until a packaging/sandboxing/MAC scheme is (re)implemented or
+ # something like OAuth is plumbed in as an alternative.
+ install -d ${D}${sysconfdir}/xdg/AGL/ics-homescreen
+ install -m 0644 ${WORKDIR}/ics-homescreen.yaml ${D}${sysconfdir}/xdg/AGL/
+ install -m 0644 ${WORKDIR}/ics-homescreen.token ${D}${sysconfdir}/xdg/AGL/ics-homescreen/
+ install -m 0644 ${WORKDIR}/radio-presets.yaml ${D}${sysconfdir}/xdg/AGL/ics-homescreen/
}
FILES:${PN} += "${datadir} ${sysconfdir}/xdg/AGL"
-RDEPENDS:${PN} += "flutter-auto agl-flutter-env"
+
+RDEPENDS:${PN} += " \
+ flutter-auto \
+ agl-flutter-env \
+ applaunchd \
+ agl-service-radio \
+ mpd \
+"