aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-08-18 03:50:45 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-09-04 22:16:15 +0000
commitc8876ab96c70793b2617534d79cd7f27bfbbb398 (patch)
treefef606f5de963590bd64b6a5d453039c0f2d3fcc
parent981760a5075e6d36994cd37acaa78b84eba71e56 (diff)
agl-service-radio: add recipe for newly standalone binding
Now that the radio binding is standalone their needs to be a recipe to build it, and a RDEPENDS added to the radio application. Bug-AGL: SPEC-834 Change-Id: I1d830181c6dcd12036b8e39d0442e010d579194e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--recipes-demo-hmi/agl-service-radio/agl-service-radio_git.bb20
-rw-r--r--recipes-demo-hmi/radio/radio_git.bb4
2 files changed, 23 insertions, 1 deletions
diff --git a/recipes-demo-hmi/agl-service-radio/agl-service-radio_git.bb b/recipes-demo-hmi/agl-service-radio/agl-service-radio_git.bb
new file mode 100644
index 000000000..bab9f1303
--- /dev/null
+++ b/recipes-demo-hmi/agl-service-radio/agl-service-radio_git.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Radio Service Binding"
+DESCRIPTION = "AGL Radio Service Binding"
+HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/agl-service-radio"
+SECTION = "apps"
+
+
+LICENSE = "Apache-2.0 & GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984 \
+ file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/apps/agl-service-radio;protocol=http"
+SRCREV = "${AUTOREV}"
+
+PV = "1.0+git${SRCPV}"
+S = "${WORKDIR}/git"
+
+# build-time dependencies
+DEPENDS = "rtl-sdr glib-2.0 pulseaudio alsa-lib"
+
+inherit cmake aglwgt pkgconfig
diff --git a/recipes-demo-hmi/radio/radio_git.bb b/recipes-demo-hmi/radio/radio_git.bb
index ca75f2d76..41e78d35c 100644
--- a/recipes-demo-hmi/radio/radio_git.bb
+++ b/recipes-demo-hmi/radio/radio_git.bb
@@ -18,7 +18,7 @@ PV = "1.0+git${SRCPV}"
S = "${WORKDIR}/git"
# build-time dependencies
-DEPENDS = "qtquickcontrols2 rtl-sdr glib-2.0 pulseaudio alsa-lib"
+DEPENDS = "qtquickcontrols2"
inherit qmake5 aglwgt
@@ -37,3 +37,5 @@ FILES_${PN} += " \
/home/root/app-data/radio/presets-*.conf \
/home/root/app-data/radio/presets.conf \
"
+
+RDEPENDS_${PN} += "agl-service-radio"