From 8eb3ea414f84d3f28c14231ee8dda7876295e48e Mon Sep 17 00:00:00 2001 From: amanarora_09 Date: Tue, 28 Mar 2023 22:27:17 +0200 Subject: 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 Signed-off-by: Jan-Simon Moeller --- meta-offline-voice-agent/recipes-vosk/vosk/vosk_0.3.42.bb | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'meta-offline-voice-agent/recipes-vosk/vosk') 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" -- cgit 1.2.3-korg