From 910541b2b933f4a437ea83ec3ec19242a41a3630 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Sun, 9 Jun 2019 23:11:58 +0200 Subject: Supporting commits for the switch to pipewire MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We move all components around meta-audio-soundmanager-framework to that layer (still kept on request). We deprecate the meta-audio-4a-framework layer for Happy Halibut. Bug-AGL: SPEC-2473 Change-Id: I2a7c9d815801a3f8ea80943165ea6fd1422533ea Signed-off-by: Jan-Simon Möller --- .../conf/include/agl-audio-4a-framework.inc | 24 ++++++++++++++++++++++ ATTIC/meta-audio-4a-framework/conf/layer.conf | 23 +++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 ATTIC/meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc create mode 100644 ATTIC/meta-audio-4a-framework/conf/layer.conf (limited to 'ATTIC/meta-audio-4a-framework/conf') diff --git a/ATTIC/meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc b/ATTIC/meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc new file mode 100644 index 00000000..12711f66 --- /dev/null +++ b/ATTIC/meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc @@ -0,0 +1,24 @@ +# 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" +PREFERRED_RPROVIDER_virtual/mixer ?= "4a-mixer" + +PREFERRED_VERSION_alsa-lib = "1.1.6" +PREFERRED_VERSION_alsa-plugins = "1.1.6" +PREFERRED_VERSION_alsa-tools = "1.1.6" +PREFERRED_VERSION_alsa-utils = "1.1.6" +PREFERRED_VERSION_alsa-utils-scripts = "1.1.6" diff --git a/ATTIC/meta-audio-4a-framework/conf/layer.conf b/ATTIC/meta-audio-4a-framework/conf/layer.conf new file mode 100644 index 00000000..dc190b66 --- /dev/null +++ b/ATTIC/meta-audio-4a-framework/conf/layer.conf @@ -0,0 +1,23 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# Fix for SPEC-1588 +# Let us add layer-specific bbappends which are only applied when that +# layer is included in our configuration - +# e.g. only add layers if a bsp is present. +# This is based on the BBFILE_COLLECTIONS name of the layer. +BBFILES += "${@' '.join('${LAYERDIR}/meta-%s/recipes*/*/*.bbappend' % layer \ + for layer in BBFILE_COLLECTIONS.split())}" +BBFILES += "${@' '.join('${LAYERDIR}/meta-%s/recipes*/*/*.bb' % layer \ + for layer in BBFILE_COLLECTIONS.split())}" + + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "4a-framework" +BBFILE_PATTERN_4a-framework = "^${LAYERDIR}/" +BBFILE_PRIORITY_4a-framework = "8" + +LAYERSERIES_COMPAT_4a-framework = "thud" -- cgit 1.2.3-korg