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/files/LICENSE | 24 --------------- .../recipes-python/llvmlite/llvmlite_0.43.0.bb | 34 ---------------------- 2 files changed, 58 deletions(-) delete mode 100644 meta-offline-voice-agent/recipes-python/llvmlite/files/LICENSE delete mode 100644 meta-offline-voice-agent/recipes-python/llvmlite/llvmlite_0.43.0.bb (limited to 'meta-offline-voice-agent/recipes-python/llvmlite') diff --git a/meta-offline-voice-agent/recipes-python/llvmlite/files/LICENSE b/meta-offline-voice-agent/recipes-python/llvmlite/files/LICENSE deleted file mode 100644 index 8e94a016..00000000 --- a/meta-offline-voice-agent/recipes-python/llvmlite/files/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -Copyright (c) 2014-, Continuum Analytics, Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -Redistributions of source code must retain the above copyright notice, -this list of conditions and the following disclaimer. - -Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 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