From eda84d25d819824d641cf89af1e4d61a5e946744 Mon Sep 17 00:00:00 2001 From: amanarora_09 Date: Fri, 22 Jul 2022 15:58:23 +0200 Subject: meta-offline-voice-agent: Enable layer for offline voice recognition - This enables offline voice recognition in AGL - Can successfully run vosk API and vosk websocket server Changes: - Create a new layer: meta-offline-voice-recognition - Create recipes for the the Vosk library, API, websocket server and model - Create feature template for the layer (agl-offline-voice-agent) - Add all required packages to IMAGE_INSTALL - ptest enable recipe python3-vosk-api - Few fixes Bug-AGL: SPEC-4497 Change-Id: Icb290ceee22e2c3a51cbd67f7431701795f1201b Signed-off-by: amanarora_09 --- meta-offline-voice-agent/conf/layer.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-offline-voice-agent/conf/layer.conf (limited to 'meta-offline-voice-agent/conf/layer.conf') diff --git a/meta-offline-voice-agent/conf/layer.conf b/meta-offline-voice-agent/conf/layer.conf new file mode 100644 index 00000000..e5dca632 --- /dev/null +++ b/meta-offline-voice-agent/conf/layer.conf @@ -0,0 +1,18 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-offline-voice-agent" +BBFILE_PATTERN_meta-offline-voice-agent = "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-offline-voice-agent = "65" + +LAYERDEPENDS_meta-offline-voice-agent = "core" +LAYERSERIES_COMPAT_meta-offline-voice-agent = "dunfell kirkstone" + +BBFILES_DYNAMIC += " \ + agldemo:${LAYERDIR}/dynamic-layers/meta-agl-demo/*/*/*.bb \ + agldemo:${LAYERDIR}/dynamic-layers/meta-agl-demo/*/*/*.bbappend \ +" -- cgit 1.2.3-korg