summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-09-07 20:20:49 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-09-09 14:38:16 +0000
commit655e54f65a0da23aa1d51ab0c7c14234a473bb36 (patch)
tree079d74eaa5cc3f6c9f7c74c38f5e0a550b996892
parentc55cb9e43a4ff26224cd917f91c057f15535ee3b (diff)
profile-graphical: agl-service-mediaplayer: add agl-audio-4a-framework DISTRO_FEATURES check
EXTRA_OECMAKE needs to set a flag if 4A is enabled to playback audio via the 'multimedia' role via gstreamer. Bug-AGL: SPEC-1705 Change-Id: Iabdc8c4d623e2a0df312c0b6e036781a68a33647 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--meta-agl-profile-graphical/recipes-apis/agl-service-mediaplayer/agl-service-mediaplayer_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-agl-profile-graphical/recipes-apis/agl-service-mediaplayer/agl-service-mediaplayer_git.bb b/meta-agl-profile-graphical/recipes-apis/agl-service-mediaplayer/agl-service-mediaplayer_git.bb
index c5cf71c12..d4da7f2e6 100644
--- a/meta-agl-profile-graphical/recipes-apis/agl-service-mediaplayer/agl-service-mediaplayer_git.bb
+++ b/meta-agl-profile-graphical/recipes-apis/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)}"