summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-vosk/vosk-model/vosk-model-small-es_0.22.bb
diff options
context:
space:
mode:
authoramanarora_09 <aman.arora9848@gmail.com>2023-03-28 22:27:17 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-08-08 20:38:17 +0200
commit8eb3ea414f84d3f28c14231ee8dda7876295e48e (patch)
treee11001ae1228054657ec475add06f1278d7a900a /meta-offline-voice-agent/recipes-vosk/vosk-model/vosk-model-small-es_0.22.bb
parentfe8c4a516b3bff5f531caebd43c1f1ac137b9959 (diff)
Rework and update offline voice agent
This brings the voice agent to the state shown at AMM and EW. Change-Id: I31ac4adc874a206e6e598ba116523ecc7eb99fc9 Signed-off-by: amanarora_09 <aman.arora9848@gmail.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-offline-voice-agent/recipes-vosk/vosk-model/vosk-model-small-es_0.22.bb')
-rw-r--r--meta-offline-voice-agent/recipes-vosk/vosk-model/vosk-model-small-es_0.22.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-offline-voice-agent/recipes-vosk/vosk-model/vosk-model-small-es_0.22.bb b/meta-offline-voice-agent/recipes-vosk/vosk-model/vosk-model-small-es_0.22.bb
new file mode 100644
index 00000000..9798d9ab
--- /dev/null
+++ b/meta-offline-voice-agent/recipes-vosk/vosk-model/vosk-model-small-es_0.22.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Lightweight wideband model 'es'"
+HOMEPAGE = "https://alphacephei.com/vosk/"
+LICENSE = "Apache-2.0"
+# LIC_URL = "${COMMON_LICENSE_DIR}/Apache-2.0"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/models.md;beginline=66;endline=66;md5=dafff175a878d17393d30812eac57e87"
+
+SRC_URI = " \
+ https://alphacephei.com/vosk/models/vosk-model-small-es-0.22.zip;name=model \
+ https://raw.githubusercontent.com/alphacep/vosk-space/master/models.md;name=license \
+ "
+# License listed on https://alphacephei.com/vosk/models
+
+SRC_URI[model.sha256sum] = "97d2b9f062a4d363ad1d71f011cc77e073773d749f1e5cd21a172c8ca28b0a56"
+SRC_URI[license.sha256sum] = "3fbe0ee1fa914cb4b1cea2f2d7201a155884727cd0afbb51a267b66a73cb3444"
+
+do_install() {
+ install -d ${D}/usr/share/vosk
+ cp -R ${WORKDIR}/vosk-model-small-es-0.22/ ${D}/usr/share/vosk/
+}
+
+FILES:${PN} += " /usr/share/vosk /usr/share/vosk/vosk-model-small-es-0.22 "
+
+# RPROVIDES:${PN} += "virtual/vosk-model"