audio/vosk-api: New port: Vosk: Offline open source speech recognition toolkit (API)

This commit is contained in:
Yuri Victorovich 2023-12-22 20:29:45 -08:00
parent 18844678d7
commit 059ad35947
4 changed files with 34 additions and 0 deletions

View file

@ -849,6 +849,7 @@
SUBDIR += volumeicon
SUBDIR += vorbis-tools
SUBDIR += vorbisgain
SUBDIR += vosk-api
SUBDIR += vsound
SUBDIR += vst3sdk
SUBDIR += waon

28
audio/vosk-api/Makefile Normal file
View file

@ -0,0 +1,28 @@
PORTNAME= vosk-api
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.45-20231214
CATEGORIES= audio # machine-learning
MAINTAINER= yuri@FreeBSD.org
COMMENT= Vosk: Offline open source speech recognition toolkit (API)
WWW= https://alphacephei.com/vosk/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfst.so:math/openfst-vosk \
libkaldi-base.so:audio/kaldi-vosk
USES= cmake compiler:c++17-lang localbase:ldflags
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= alphacep
GH_TAGNAME= aba8497
CMAKE_ON= BUILD_SHARED_LIBS
PLIST_FILES= include/vosk_api.h \
lib/libvosk.so
.include <bsd.port.mk>

3
audio/vosk-api/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1702708668
SHA256 (alphacep-vosk-api-v0.3.45-20231214-aba8497_GH0.tar.gz) = 347bb5f0ec72c8f07dcd80ca4ebec76946845116f085328e016fd46ad3adce82
SIZE (alphacep-vosk-api-v0.3.45-20231214-aba8497_GH0.tar.gz) = 660047

2
audio/vosk-api/pkg-descr Normal file
View file

@ -0,0 +1,2 @@
Kaldi is a toolkit for speech recognition, intended for use by speech
recognition researchers and professionals.