summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb
diff options
context:
space:
mode:
authorMalik Talha <talhamalik727x@gmail.com>2023-10-11 18:46:48 +0500
committerMalik Talha <talhamalik727x@gmail.com>2023-10-11 18:49:01 +0500
commit57ffdf86d6deb808888bd86ab265c83f4d9f4094 (patch)
tree14dceb26b77452de2656926f3ad80e2bb5144e7a /meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb
parent7b4a029168133bbf58c5dfe97e618badfe77b361 (diff)
Add recipes for voice agent service and app
Recipe files to compile the voice agent service and the flutter app, also add meta-tensorflow layer conf. Bug-AGL: SPEC-4906 Change-Id: I0e2eea863c95cd84d85d06194fbf01fcc64adb86 Signed-off-by: Malik Talha <talhamalik727x@gmail.com>
Diffstat (limited to 'meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb')
-rw-r--r--meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb b/meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb
new file mode 100644
index 00000000..615ec64f
--- /dev/null
+++ b/meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb
@@ -0,0 +1,35 @@
+SUMMARY = "A gRPC-based voice agent service designed for Automotive Grade Linux (AGL)."
+HOMEPAGE = "https://github.com/malik727/agl-service-voiceagent"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4202492ed9afcab3aaecc4a9ec32adb2"
+
+SRC_URI = " \
+ git://github.com/malik727/agl-service-voiceagent;protocol=https;branch=main \
+"
+
+SRCREV = "${AUTOREV}"
+S = "${WORKDIR}/git"
+
+DEPENDS += " \
+ python3 \
+ python3-setuptools-native \
+ python3-grpcio-tools-native \
+ "
+
+inherit setuptools3
+
+do_compile:prepend() {
+ # Generate proto files and move them to 'generated/' directory
+ python3 -m grpc_tools.protoc -I${S}/agl_service_voiceagent/protos --python_out=${S}/agl_service_voiceagent/generated --grpc_python_out=${S}/agl_service_voiceagent/generated voice_agent.proto
+}
+
+RDEPENDS:${PN} += " \
+ python3-numpy \
+ python3-grpcio \
+ python3-grpcio-tools \
+ python3-pygobject \
+ kuksa-client \
+ python3-rasa \
+ python3-snips-inference-agl \
+ vosk \
+ "