X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fagl-service-radio%2Fagl-service-radio_git.bb;h=96b60f687fe3ddd854f4c58764cfa4bcf94f79c1;hb=e62442d3ae45ddb89bc61ced656e682591cc0902;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..96b60f687 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 = "8cccb6e90a4438d24b62c3e3fedf63ca8f68c31e" 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 \ +"