Skip to content

Commit 059ad35

Browse files
committed
audio/vosk-api: New port: Vosk: Offline open source speech recognition toolkit (API)
1 parent 1884467 commit 059ad35

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

‎audio/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,7 @@
849849
SUBDIR += volumeicon
850850
SUBDIR += vorbis-tools
851851
SUBDIR += vorbisgain
852+
SUBDIR += vosk-api
852853
SUBDIR += vsound
853854
SUBDIR += vst3sdk
854855
SUBDIR += waon

‎audio/vosk-api/Makefile‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
PORTNAME= vosk-api
2+
DISTVERSIONPREFIX= v
3+
DISTVERSION= 0.3.45-20231214
4+
CATEGORIES= audio # machine-learning
5+
6+
MAINTAINER= yuri@FreeBSD.org
7+
COMMENT= Vosk: Offline open source speech recognition toolkit (API)
8+
WWW= https://alphacephei.com/vosk/
9+
10+
LICENSE= APACHE20
11+
LICENSE_FILE= ${WRKSRC}/COPYING
12+
13+
LIB_DEPENDS= libfst.so:math/openfst-vosk \
14+
libkaldi-base.so:audio/kaldi-vosk
15+
16+
USES= cmake compiler:c++17-lang localbase:ldflags
17+
USE_LDCONFIG= yes
18+
19+
USE_GITHUB= yes
20+
GH_ACCOUNT= alphacep
21+
GH_TAGNAME= aba8497
22+
23+
CMAKE_ON= BUILD_SHARED_LIBS
24+
25+
PLIST_FILES= include/vosk_api.h \
26+
lib/libvosk.so
27+
28+
.include <bsd.port.mk>

‎audio/vosk-api/distinfo‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TIMESTAMP = 1702708668
2+
SHA256 (alphacep-vosk-api-v0.3.45-20231214-aba8497_GH0.tar.gz) = 347bb5f0ec72c8f07dcd80ca4ebec76946845116f085328e016fd46ad3adce82
3+
SIZE (alphacep-vosk-api-v0.3.45-20231214-aba8497_GH0.tar.gz) = 660047

‎audio/vosk-api/pkg-descr‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Kaldi is a toolkit for speech recognition, intended for use by speech
2+
recognition researchers and professionals.

0 commit comments

Comments
 (0)