From: Scott Murray Date: Tue, 5 Jun 2018 00:57:30 +0000 (-0400) Subject: agl-service-radio: Rework 4A support X-Git-Tag: 5.99.1~14 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=refs%2Fchanges%2F79%2F14179%2F2;hp=b43165328658087277b667152fdbc04fe07cba08;p=AGL%2Fmeta-agl.git agl-service-radio: Rework 4A support Updates for changes to the binding to directly support 4A: - the over-ride of the output sink is no longer required - building now always requires gstreamer-1.0 - pulseaudio is now only required when building for non-4A - set HAVE_4A_FRAMEWORK when building for 4A Change-Id: If98abbb27ed4f6b04a3102956dfc2923bc7ec2db Signed-off-by: Scott Murray --- diff --git a/meta-agl-profile-core/recipes-apis/agl-service-radio/agl-service-radio_git.bb b/meta-agl-profile-core/recipes-apis/agl-service-radio/agl-service-radio_git.bb index 0e913af15..34f734a5c 100644 --- a/meta-agl-profile-core/recipes-apis/agl-service-radio/agl-service-radio_git.bb +++ b/meta-agl-profile-core/recipes-apis/agl-service-radio/agl-service-radio_git.bb @@ -2,19 +2,21 @@ 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" +PV = "1.0+git${SRCPV}" + SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/apps/agl-service-radio;protocol=https;branch=${AGL_BRANCH}" SRCREV = "${AGL_APP_REVISION}" -PV = "1.0+git${SRCPV}" S = "${WORKDIR}/git" # build-time dependencies -DEPENDS = "rtl-sdr glib-2.0 pulseaudio alsa-lib" +DEPENDS = "rtl-sdr glib-2.0 gstreamer1.0" +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-audio-4a-framework', '' , 'pulseaudio', d)}" inherit cmake aglwgt pkgconfig + +EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-audio-4a-framework', '-DHAVE_4A_FRAMEWORK=1' , '', d)}"