build: Add and build piper submodule.

CW-Bug-Id: #18723
CW-Bug-Id: #20918
CW-Bug-Id: #21959
CW-Bug-Id: #22520
CW-Bug-Id: #22894
This commit is contained in:
Shaun Ren
2023-11-28 20:05:58 -05:00
committed by Arkadiusz Hiler
parent 82eb00515f
commit 4b31b17588
4 changed files with 21 additions and 0 deletions

View File

@@ -385,6 +385,19 @@ $(OBJ)/.steamexe-post-build64:
cp $(SRC)/steam_helper/64/libsteam_api.so $(DST_LIBDIR64)/
touch $@
##
## piper
##
$(eval $(call rules-source,piper,$(SRCDIR)/piper))
$(eval $(call rules-cmake,piper,64))
$(OBJ)/.piper-post-build64:
mkdir -p $(PIPER_DST64)/lib64
mkdir -p $(DST_DIR)/share
mv $(PIPER_DST64)/*.so* $(PIPER_DST64)/lib64/
cp -a $(PIPER_DST64)/{espeak-ng-data,libtashkeel_model.ort} $(DST_DIR)/share/
touch $@
##
## wine
@@ -423,6 +436,7 @@ WINE_CONFIGURE_ARGS64 = --enable-win64 \
VKD3D_PE_LIBS="-L$(VKD3D_DST64)/bin -l:libvkd3d-1.dll -l:libvkd3d-shader-1.dll"
WINE_DEPENDS = gst_orc gstreamer gst_base vkd3d ffmpeg
WINE_DEPENDS64 = piper
$(eval $(call rules-source,wine,$(SRCDIR)/wine))
$(eval $(call rules-autoconf,wine,32))