arcan: switch to espeak-ng

This commit is contained in:
Piraty 2020-12-20 20:17:46 +01:00
parent 57894908f7
commit 7b7bfee27b
No known key found for this signature in database
GPG key ID: 82F2CC796BD07077
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,12 @@
diff --git a/src/platform/cmake/modules/FindEspeak.cmake b/src/platform/cmake/modules/FindEspeak.cmake
index 6815e874..a548a232 100644
--- a/src/platform/cmake/modules/FindEspeak.cmake
+++ b/src/platform/cmake/modules/FindEspeak.cmake
@@ -1,5 +1,5 @@
-FIND_PATH( ESPEAK_INCLUDE_DIR espeak/speak_lib.h )
-FIND_LIBRARY(ESPEAK_LIBRARIES NAMES espeak )
+FIND_PATH( ESPEAK_INCLUDE_DIR espeak/speak_lib.h)
+FIND_LIBRARY(ESPEAK_LIBRARIES NAMES espeak espeak-ng)
IF( ESPEAK_LIBRARIES )
SET( ESPEAK_FOUND TRUE )

View file

@ -11,7 +11,7 @@ hostmakedepends="pkg-config
makedepends="MesaLib-devel ffmpeg-devel file-devel freetype-devel liblzma-devel
libopenal-devel libusb-devel libvncserver-devel libxkbcommon-devel sqlite-devel
vlc-devel
$(vopt_if tts 'libespeak-devel')
$(vopt_if tts 'libespeak-ng-devel')
$(vopt_if luajit 'LuaJIT-devel' 'lua51-devel')
$(vopt_if tesseract 'tesseract-ocr-devel leptonica-devel')
$(vopt_if wayland 'wayland-devel wayland-protocols libxcb-devel xcb-util-wm-devel')