diff --git a/.gitmodules b/.gitmodules index 0089ed4c..97c65c80 100644 --- a/.gitmodules +++ b/.gitmodules @@ -62,3 +62,6 @@ path = kaldi url = https://github.com/alphacep/kaldi branch = vosk +[submodule "vosk-api"] + path = vosk-api + url = https://github.com/alphacep/vosk-api diff --git a/Makefile.in b/Makefile.in index 133ff99c..25f4c891 100644 --- a/Makefile.in +++ b/Makefile.in @@ -445,6 +445,20 @@ $(eval $(call rules-cmake,kaldi,32)) $(eval $(call rules-cmake,kaldi,64)) +## +## vosk +## + +VOSK_CMAKE_ARGS = \ + -DBUILD_SHARED_LIBS=ON \ + +VOSK_DEPENDS = openfst kaldi + +$(eval $(call rules-source,vosk,$(SRCDIR)/vosk-api)) +$(eval $(call rules-cmake,vosk,32)) +$(eval $(call rules-cmake,vosk,64)) + + ## ## wine ## @@ -477,7 +491,7 @@ WINE_CONFIGURE_ARGS64 = --enable-win64 \ VKD3D_PE_CFLAGS="-I$(VULKAN_HEADERS_DST64)/include -I$(VKD3D_DST64)/include/vkd3d" \ VKD3D_PE_LIBS="-L$(VKD3D_DST64)/bin -l:libvkd3d-1.dll -l:libvkd3d-shader-1.dll" -WINE_DEPENDS = gst_orc gstreamer gst_base vkd3d +WINE_DEPENDS = gst_orc gstreamer gst_base vkd3d openfst kaldi vosk $(eval $(call rules-source,wine,$(SRCDIR)/wine)) $(eval $(call rules-autoconf,wine,32)) diff --git a/vosk-api b/vosk-api new file mode 160000 index 00000000..12f29a34 --- /dev/null +++ b/vosk-api @@ -0,0 +1 @@ +Subproject commit 12f29a3415e4967e088ed09202bfb0007e5a1787