Add libwhisper library package

This commit is contained in:
j1nx 2022-11-15 13:27:27 +01:00
parent 2923f80d09
commit ab4e0e4cce
5 changed files with 27 additions and 0 deletions

View File

@ -99,6 +99,7 @@ endmenu
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/userland-tools/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/virtual-touch/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/vocalfusion/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/whispercpp/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/wifi-connect/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/wiringpi2/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/xvf3510/Config.in"

View File

@ -600,6 +600,7 @@ BR2_PACKAGE_SPOTIFYD=y
BR2_PACKAGE_TENSORFLOW_LITE=y
BR2_PACKAGE_USERLAND_TOOLS=y
BR2_PACKAGE_VOCALFUSION=y
BR2_PACKAGE_WHISPERCPP=y
BR2_PACKAGE_WIFI_CONNECT=y
BR2_PACKAGE_WIRINGPI2=y
BR2_PACKAGE_PYTHON_ADAFRUIT_BLINKA=y

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_WHISPERCPP
bool "whispercpp"
help
High-performance inference of OpenAI's Whisper
automatic speech recognition (ASR) model
https://github.com/ggerganov/whisper.cpp

View File

@ -0,0 +1,2 @@
# Locally computed
sha256 9fb608612936486e514513b02698d669b68784c19dcbf6f5f17ff3fa833096c2 whispercpp-83c742f1a78a018c4eac790fabab91f174d92c3a.tar.gz

View File

@ -0,0 +1,15 @@
################################################################################
#
# whispercpp
#
################################################################################
WHISPERCPP_VERSION = 83c742f1a78a018c4eac790fabab91f174d92c3a
WHISPERCPP_SITE = $(call github,ggerganov,whisper.cpp,$(WHISPERCPP_VERSION))
WHISPERCPP_LICENSE = Apache License 2.0
WHISPERCPP_INSTALL_STAGING = YES
WHISPERCPP_DEPENDENCIES = host-pkgconf
WHISPERCPP_SUPPORTS_IN_SOURCE_BUILD = NO
$(eval $(cmake-package))