diff --git a/srcpkgs/arcan/patches/cmake-espeak-ng.patch b/srcpkgs/arcan/patches/cmake-espeak-ng.patch new file mode 100644 index 00000000000..c2ef22fd9d2 --- /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 9c891aa8238..60db46d2acd 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')