From 6a216fe38fee5342043d7b784075c67469ed42c5 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 20 Dec 2017 19:25:50 -0500 Subject: agl-service-mediaplayer: enable 4A support if configured Pass flag down to CMake if 4A is enabled in DISTRO_FEATURES. Change-Id: I84a96c2d2360b2662f4da137e4e1f8e992e6b6be Signed-off-by: Scott Murray --- recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-demo-hmi') diff --git a/recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb b/recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb index c5cf71c12..d4da7f2e6 100644 --- a/recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb +++ b/recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb @@ -16,3 +16,5 @@ DEPENDS = "json-c gstreamer1.0 gstreamer1.0-plugins-base" RDEPENDS_${PN} = "agl-service-mediascanner gstreamer1.0-plugins-bad-waylandsink" inherit cmake aglwgt pkgconfig + +EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-audio-4a-framework', '-DHAVE_4A_FRAMEWORK=1' , '', d)}" -- cgit 1.2.3-korg