X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fagl-service-radio%2Fagl-service-radio_git.bb;h=bc5175243a306455e91e1b9c93f06a72d96f56d1;hb=3152f13c24c450482e3430a82d73be021e6cbbfa;hp=7664e5ab4c0c35f706948cdbc76b6f372518eee1;hpb=8a65604cd6707fcb6a669b5d825b9a5d91161e4c;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/agl-service-radio/agl-service-radio_git.bb b/recipes-demo/agl-service-radio/agl-service-radio_git.bb index 7664e5ab4..bc5175243 100644 --- a/recipes-demo/agl-service-radio/agl-service-radio_git.bb +++ b/recipes-demo/agl-service-radio/agl-service-radio_git.bb @@ -17,8 +17,9 @@ DEPENDS = " \ libusb-compat \ " -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-radio;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "7f26a2d06410fd3a2768612b9c9daf869778e480" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-radio;protocol=https;branch=${AGL_BRANCH} \ + file://radio.conf.kvm-demo" +SRCREV = "b4debfc9e238b57dace7cae6ad0ad42ce42fbaf4" PV = "2.0+git${SRCPV}" S = "${WORKDIR}/git" @@ -27,4 +28,20 @@ inherit meson pkgconfig systemd SYSTEMD_SERVICE:${PN} = "agl-service-radio.service" +do_install:append() { + install -D -m 0644 ${WORKDIR}/radio.conf.kvm-demo ${D}${sysconfdir}/xdg/AGL.conf +} + +PACKAGE_BEFORE_PN += "${PN}-conf-kvm-demo" + FILES:${PN} += "${systemd_system_unitdir}" + +FILES:${PN}-conf-kvm-demo += " \ + ${sysconfdir}/xdg/AGL.conf \ +" + +RDEPENDS:${PN} += " \ + gstreamer1.0 \ + gstreamer1.0-plugins-base \ + gstreamer1.0-pipewire \ +"