blob: f0c6221c91919dec2ed81c98a52803662eee3499 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# agl-offline-voice-agent
FORTRAN:forcevariable = ",fortran"
RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath"
# bad practice but required to build scikit-learn
HOSTTOOLS += "gfortran"
# FIXME check if needed and/or submit upstream
BBCLASSEXTEND:pn-python3-charset-normalizer = "native nativesdk"
PACKAGECONFIG:pn-openblas := "cblas lapack lapack-deprecated"
FEATURE_PACKAGES_agl-offline-voice-agent:append = " \
python3-snips-inference-agl \
snips-model-agl \
vosk \
vosk-kaldi \
vosk-server \
python3-vosk-api \
python3-vosk-websocket-server \
python3-sounddevice \
flutter-voiceassistant \
agl-service-voiceagent \
whisper-cpp \
whisper-cpp-tiny \
"
EXTRA_IMAGE_FEATURES += "agl-offline-voice-agent"
PREFERRED_RPROVIDER_vosk-model ?= "vosk-model-small-en-us"
PREFERRED_RPROVIDER_whisper-model ?= "whisper-cpp-tiny"
# bump bazel limits
BAZEL_JOBS = "HOST_CPUS*.4"
BAZEL_MEM = "HOST_RAM*.4"
LICENSE_FLAGS_ACCEPTED += "commercial_ffmpeg"
# no rasa support currently
# python3-rasa \
# rasa-model-agl \
#
|