Skip to content

Commit

Permalink
audio/vosk-api: New port: Vosk: Offline open source speech recognitio…
Browse files Browse the repository at this point in the history
…n toolkit (API)
  • Loading branch information
yurivict committed Dec 23, 2023
1 parent 1884467 commit 059ad35
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions audio/Makefile
Expand Up @@ -849,6 +849,7 @@
SUBDIR += volumeicon
SUBDIR += vorbis-tools
SUBDIR += vorbisgain
SUBDIR += vosk-api
SUBDIR += vsound
SUBDIR += vst3sdk
SUBDIR += waon
Expand Down
28 changes: 28 additions & 0 deletions audio/vosk-api/Makefile
@@ -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 changes: 3 additions & 0 deletions audio/vosk-api/distinfo
@@ -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 changes: 2 additions & 0 deletions audio/vosk-api/pkg-descr
@@ -0,0 +1,2 @@
Kaldi is a toolkit for speech recognition, intended for use by speech
recognition researchers and professionals.

0 comments on commit 059ad35

Please sign in to comment.