espeak-ng: backport TextToPhonemesWithTerminator support
This is required for piper 1.3.0. There is no breaking API change.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
replaceVars,
|
||||
|
||||
# build system
|
||||
@@ -70,6 +71,11 @@ stdenv.mkDerivation rec {
|
||||
patches = [
|
||||
# https://github.com/espeak-ng/espeak-ng/pull/2274
|
||||
./libsonic.patch
|
||||
(fetchpatch {
|
||||
name = "espeak-ng-text-to-phonemes-with-terminator.patch";
|
||||
url = "https://github.com/espeak-ng/espeak-ng/commit/2108b1e8ae02f49cc909894a1024efdfde6682fd.patch";
|
||||
hash = "sha256-XjEc1r7F88xZOfeUey0R6Xv6vu4Wy8GtWxXFG2NTf9g=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals mbrolaSupport [
|
||||
# Hardcode correct mbrola paths.
|
||||
|
||||
Reference in New Issue
Block a user