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 --- .../python3-sounddevice/python3-sounddevice_0.4.4.bb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta-offline-voice-agent/recipes-python/python3-sounddevice/python3-sounddevice_0.4.4.bb (limited to 'meta-offline-voice-agent/recipes-python/python3-sounddevice') diff --git a/meta-offline-voice-agent/recipes-python/python3-sounddevice/python3-sounddevice_0.4.4.bb b/meta-offline-voice-agent/recipes-python/python3-sounddevice/python3-sounddevice_0.4.4.bb new file mode 100644 index 00000000..58d9056d --- /dev/null +++ b/meta-offline-voice-agent/recipes-python/python3-sounddevice/python3-sounddevice_0.4.4.bb @@ -0,0 +1,20 @@ +SUMMARY = "Play and Record Sound with Python" +HOMEPAGE = "http://python-sounddevice.readthedocs.io/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bd8634ff9bb1159041c3d4328659d00f" + +SRC_URI = "gitsm://github.com/spatialaudio/python-sounddevice;protocol=https;branch=master" + +PV = "0.4.4+git${SRCPV}" +SRCREV = "a56cdb96c9c8e3d23b877bbcc7d26bd0cda231e0" + +S = "${WORKDIR}/git" + +inherit setuptools3 + +# PACKAGECONFIG ?= "numpy" +PACKAGECONFIG[numpy] = "python3-numpy" + +DEPENDS += "python3-cffi-native" + +RDEPENDS:${PN} += "portaudio-v19 python3-cffi python3-core python3-ctypes python3-numpy" -- cgit 1.2.3-korg