piper-tts/piper-tts-2023.11.14_2-system-dependencies.patch

36 lines
854 B
Diff

--- piper-2023.11.14_2/CMakeLists.txt.orig 2024-06-05 10:41:14.000000000 +0200
+++ piper-2023.11.14_2/CMakeLists.txt 2024-06-07 16:19:41.442428851 +0200
@@ -141,32 +141,3 @@
install(
TARGETS piper
DESTINATION ${CMAKE_INSTALL_PREFIX})
-
-# Dependencies
-install(
- DIRECTORY ${PIPER_PHONEMIZE_DIR}/bin/
- DESTINATION ${CMAKE_INSTALL_PREFIX}
- USE_SOURCE_PERMISSIONS # keep +x
- FILES_MATCHING
- PATTERN "piper_phonemize"
- PATTERN "espeak-ng"
- PATTERN "*.dll"
-)
-
-install(
- DIRECTORY ${PIPER_PHONEMIZE_DIR}/lib/
- DESTINATION ${CMAKE_INSTALL_PREFIX}
- FILES_MATCHING
- PATTERN "*.dll"
- PATTERN "*.so*"
-)
-
-install(
- DIRECTORY ${PIPER_PHONEMIZE_DIR}/share/espeak-ng-data
- DESTINATION ${CMAKE_INSTALL_PREFIX}
-)
-
-install(
- FILES ${PIPER_PHONEMIZE_DIR}/share/libtashkeel_model.ort
- DESTINATION ${CMAKE_INSTALL_PREFIX}
-)