mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-14 15:48:11 +03:00
build: Add and build Vosk submodule.
This commit is contained in:
parent
265c5cf4dc
commit
12e3262ec7
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -62,3 +62,6 @@
|
|||||||
path = kaldi
|
path = kaldi
|
||||||
url = https://github.com/alphacep/kaldi
|
url = https://github.com/alphacep/kaldi
|
||||||
branch = vosk
|
branch = vosk
|
||||||
|
[submodule "vosk-api"]
|
||||||
|
path = vosk-api
|
||||||
|
url = https://github.com/alphacep/vosk-api
|
||||||
|
16
Makefile.in
16
Makefile.in
@ -445,6 +445,20 @@ $(eval $(call rules-cmake,kaldi,32))
|
|||||||
$(eval $(call rules-cmake,kaldi,64))
|
$(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
|
## 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_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"
|
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-source,wine,$(SRCDIR)/wine))
|
||||||
$(eval $(call rules-autoconf,wine,32))
|
$(eval $(call rules-autoconf,wine,32))
|
||||||
|
1
vosk-api
Submodule
1
vosk-api
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 12f29a3415e4967e088ed09202bfb0007e5a1787
|
Loading…
x
Reference in New Issue
Block a user