sci-ml/kokoros
Kokoro-82M TTS server in Rust (CPU; OpenAI-compatible HTTP API)
ChangeLog
commit 05d35fa46997a1fa5357c8d1105ca97c80f86f02
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 6 22:29:58 2026 +0200
sci-ml/kokoros: new package, add 9999
Kokoro-82M TTS server in Rust (CPU; OpenAI-compatible HTTP API).
Provides 'koko' binary used as the kokoro:cpu backend by sci-ml/
lemonade.
Live ebuild only — upstream has no semver-style tags (tags are
sequential build numbers).
Tracks upstream lucasjinreal/Kokoros directly. lemonade-sdk's fork
diverges only in CI infrastructure plus a bundled espeak-ng-data
copy that ::gentoo already provides via app-accessibility/espeak-ng,
so source-build users get the same binary either way.
PROPERTIES=live + RESTRICT=network-sandbox: cargo fetches all crates
online, and 'ort' (ONNX Runtime crate) downloads its bundled binary.
Edition 2024 in Cargo.toml requires rust >= 1.85.
espeak-rs-sys's build.rs misses 'cargo:rustc-link-lib=pcaudio',
leaving audio_object_* unresolved at link time; force the link via
RUSTFLAGS='-l pcaudio' as a workaround. Pulls in media-libs/sonic
+ media-libs/pcaudiolib as audio backends for the bundled espeak-ng
build.
Runtime model files (kokoro-v1.0.onnx + voices-v1.0.bin, ~330 MB)
are not bundled — pkg_postinst gives a curl recipe to fetch from
the nazdridoy/kokoro-tts mirror.
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 6 22:29:58 2026 +0200
sci-ml/kokoros: new package, add 9999
Kokoro-82M TTS server in Rust (CPU; OpenAI-compatible HTTP API).
Provides 'koko' binary used as the kokoro:cpu backend by sci-ml/
lemonade.
Live ebuild only — upstream has no semver-style tags (tags are
sequential build numbers).
Tracks upstream lucasjinreal/Kokoros directly. lemonade-sdk's fork
diverges only in CI infrastructure plus a bundled espeak-ng-data
copy that ::gentoo already provides via app-accessibility/espeak-ng,
so source-build users get the same binary either way.
PROPERTIES=live + RESTRICT=network-sandbox: cargo fetches all crates
online, and 'ort' (ONNX Runtime crate) downloads its bundled binary.
Edition 2024 in Cargo.toml requires rust >= 1.85.
espeak-rs-sys's build.rs misses 'cargo:rustc-link-lib=pcaudio',
leaving audio_object_* unresolved at link time; force the link via
RUSTFLAGS='-l pcaudio' as a workaround. Pulls in media-libs/sonic
+ media-libs/pcaudiolib as audio backends for the bundled espeak-ng
build.
Runtime model files (kokoro-v1.0.onnx + voices-v1.0.bin, ~330 MB)
are not bundled — pkg_postinst gives a curl recipe to fetch from
the nazdridoy/kokoro-tts mirror.


View
Download
Browse