arcan: switch to espeak-ng
This commit is contained in:
parent
57894908f7
commit
7b7bfee27b
2 changed files with 13 additions and 1 deletions
12
srcpkgs/arcan/patches/cmake-espeak-ng.patch
Normal file
12
srcpkgs/arcan/patches/cmake-espeak-ng.patch
Normal 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 )
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue