diff options
author | amanarora_09 <aman.arora9848@gmail.com> | 2023-03-28 22:27:17 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-08-08 20:38:17 +0200 |
commit | 8eb3ea414f84d3f28c14231ee8dda7876295e48e (patch) | |
tree | e11001ae1228054657ec475add06f1278d7a900a /meta-offline-voice-agent/recipes-vosk/vosk/vosk_0.3.42.bb | |
parent | fe8c4a516b3bff5f531caebd43c1f1ac137b9959 (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/vosk_0.3.42.bb')
-rw-r--r-- | meta-offline-voice-agent/recipes-vosk/vosk/vosk_0.3.42.bb | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/meta-offline-voice-agent/recipes-vosk/vosk/vosk_0.3.42.bb b/meta-offline-voice-agent/recipes-vosk/vosk/vosk_0.3.42.bb index bf4ffe31..a563c6fa 100644 --- a/meta-offline-voice-agent/recipes-vosk/vosk/vosk_0.3.42.bb +++ b/meta-offline-voice-agent/recipes-vosk/vosk/vosk_0.3.42.bb @@ -14,24 +14,18 @@ S = "${WORKDIR}/git/src" DEPENDS += " vosk-kaldi vosk-openfst openblas" -RDEPENDS:${PN} += " \ -" +#RDEPENDS:${PN} += "" CFLAGS:append = " -I${STAGING_INCDIR}/kaldi -g " LDFLAGS:remove = "-Wl,--as-needed" -do_configure(){ - : -} +do_configure[noexec] = "1" do_compile(){ - make KALDI_ROOT=${STAGING_INCDIR}/kaldi/ OPENFST_ROOT=${STAGING_INCDIR} OPENBLAS_ROOT=${STAGING_INCDIR} USE_SHARED=1 EXTRA_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" ${PARALLEL_MAKE} - } do_install(){ - install -d ${D}${libdir} install -m 0644 libvosk.so.0.3.42 ${D}${libdir} cd ${D}${libdir} @@ -41,9 +35,8 @@ do_install(){ install -d ${D}${includedir}/vosk for i in *.h ; do - install -m 0644 $i ${D}${includedir}/vosk/ + install -m 0644 $i ${D}${includedir}/vosk/ done - } ERROR_QA:remove = "dev-deps" |