blob: c65d05bccb2a9a88338687a012c4b80e2813a487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
SUMMARY = "Lightweight wideband model 'de'"
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=64;endline=64;md5=b4197dee31a6934aaf221359839c12e1"
SRC_URI = " \
https://alphacephei.com/vosk/models/vosk-model-small-de-0.15.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] = "b7e53c90b1f0a38456f4cd62b366ecd58803cd97cd42b06438e2c131713d5e43"
SRC_URI[license.sha256sum] = "3fbe0ee1fa914cb4b1cea2f2d7201a155884727cd0afbb51a267b66a73cb3444"
do_install() {
install -d ${D}/usr/share/vosk
cp -R ${WORKDIR}/vosk-model-small-de-0.15/ ${D}/usr/share/vosk/
}
FILES:${PN} += " /usr/share/vosk /usr/share/vosk/vosk-model-small-de-0.15 "
# RPROVIDES:${PN} += "virtual/vosk-model"
|