summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2018-06-26 16:54:14 +0200
committerronan Le Martret <ronan.lemartret@iot.bzh>2018-06-27 08:59:47 +0000
commit2a3a88bca60cfe14ea258e16e92fa169d126e3ff (patch)
tree64ce6112d12fae0f3709ed6b17a23033d640445b /meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc
parent184f8b79f85fac04262e78fec8b160f8617fbd30 (diff)
Create a 4a-mixer recipes providing virttual/mixer
* mixer and 4a-mixer are two different package. mixer used qmake workflow to build and 4a-mixer cmake. Bug-AGL: SPEC-1520 Change-Id: I82b2c2a871f8bc0691291749e844f01fb9d5d7e9 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc')
-rw-r--r--meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc b/meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc
new file mode 100644
index 00000000..491f6d2a
--- /dev/null
+++ b/meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc
@@ -0,0 +1,17 @@
+# In order to enable the audio-4a-framework features ,
+# enables the following line:
+#
+DISTRO_FEATURES_append = " agl-audio-4a-framework "
+
+# asound.conf is provided by the 4a-hal-config (and not by asound.state)
+#VIRTUAL-RUNTIME_alsa-state = "4a-hal-config"
+VIRTUAL_RUNTIME_alsa-state = ""
+# additionally there is a bug in alsa-utils-alsactl where it pulls in alsa-state directly
+RRECOMMENDS_pn-alsa-utils-alsactl = "VIRTUAL-RUNTIME_alsa-state"
+
+# why should a config package have -dev ... I'll leave that answer to you.
+PACKAGES_pn-alsa-state_remove = "alsa-state-dev"
+PACKAGES_pn-alsa-state_remove = "alsa-states-dev"
+PACKAGES_pn-alsa-state = "alsa-state alsa-states"
+
+PREFERRED_PROVIDER_virtual/mixer ?= "4a-mixer"