From 8949e1b030da7067da206a580c5124ca85ec9fbc Mon Sep 17 00:00:00 2001 From: Anuj Solanki Date: Mon, 30 Sep 2024 23:39:02 +0200 Subject: Remove OpenAI's Whisper AI and its dependencies - Remove OpenAI's Whisper AI recipes and all its dependencies. - Add recipes for whisper-cpp, whisper-cpp-base and whisper-cpp-tiny model. - Add recipe for python-mpd. - Add voice-agent-config to /etc/default and update config path in agl-service-voiceagent.service Bug-AGL: SPEC-5200 Change-Id: Iaebd9c46930144b41659710202e9b737dbe9f60b Signed-off-by: Anuj Solanki --- .../recipes-python/llvmlite/llvmlite_0.43.0.bb | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 meta-offline-voice-agent/recipes-python/llvmlite/llvmlite_0.43.0.bb (limited to 'meta-offline-voice-agent/recipes-python/llvmlite/llvmlite_0.43.0.bb') diff --git a/meta-offline-voice-agent/recipes-python/llvmlite/llvmlite_0.43.0.bb b/meta-offline-voice-agent/recipes-python/llvmlite/llvmlite_0.43.0.bb deleted file mode 100644 index e34abd59..00000000 --- a/meta-offline-voice-agent/recipes-python/llvmlite/llvmlite_0.43.0.bb +++ /dev/null @@ -1,34 +0,0 @@ -DESCRIPTION = "llvmlite prebuilt binary" -HOMEPAGE = "https://github.com/numba/llvmlite" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=a15ea9843f27327e08f3c5fbf8043a2b" - -SRCURIWHEEL:aarch64 += "https://files.pythonhosted.org/packages/bf/f1/4c205a48488e574ee9f6505d50e84370a978c90f08dab41a42d8f2c576b6/llvmlite-0.43.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" -SRCURIWHEEL:x86-64 += "https://files.pythonhosted.org/packages/00/5f/323c4d56e8401c50185fd0e875fcf06b71bf825a863699be1eb10aa2a9cb/llvmlite-0.43.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -SRC_URI = " ${SRCURIWHEEL} " -SRC_URI:append = " file://LICENSE " - -SRCURICHECKSUM:x86-64 = "df6509e1507ca0760787a199d19439cc887bfd82226f5af746d6977bd9f66844" -SRCURICHECKSUM:aarch64 = "eccce86bba940bae0d8d48ed925f21dbb813519169246e2ab292b5092aba121f" -SRC_URI[sha256sum] = "${SRCURICHECKSUM}" - -COMPATIBLE_MACHINE = "null" -COMPATIBLE_MACHINE:aarch64 = "(.*)" -COMPATIBLE_MACHINE:x86-64 = "(.*)" - -DEPENDS += " unzip-native" - -RDEPENDS:${PN} += " zlib" - -do_install() { - mkdir -p ${WORKDIR}/llvmlite-0.43.0 - unzip ${WORKDIR}/$(basename ${SRC_URI}) -d ${WORKDIR}/llvmlite-0.43.0 - install -d ${D}/usr/lib/python3.12/site-packages - cp -R ${WORKDIR}/llvmlite-0.43.0/* ${D}/usr/lib/python3.12/site-packages/ -} - -do_configure:prepend() { - export LD_LIBRARY_PATH="${D}/usr/lib/python3.12/site-packages/llvmlite/binding:${LD_LIBRARY_PATH}" -} - -FILES:${PN} += "/usr/lib/python3.12/site-packages/* " -- cgit 1.2.3-korg