From 7b7bfee27b06522b02fd68db92a78ede925ac4f6 Mon Sep 17 00:00:00 2001 From: Piraty Date: Sun, 20 Dec 2020 20:17:46 +0100 Subject: [PATCH] arcan: switch to espeak-ng --- srcpkgs/arcan/patches/cmake-espeak-ng.patch | 12 ++++++++++++ srcpkgs/arcan/template | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/arcan/patches/cmake-espeak-ng.patch diff --git a/srcpkgs/arcan/patches/cmake-espeak-ng.patch b/srcpkgs/arcan/patches/cmake-espeak-ng.patch new file mode 100644 index 0000000000..c2ef22fd9d --- /dev/null +++ b/srcpkgs/arcan/patches/cmake-espeak-ng.patch @@ -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 ) diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template index 9c891aa823..60db46d2ac 100644 --- a/srcpkgs/arcan/template +++ b/srcpkgs/arcan/template @@ -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')