gpo.zugaina.org

Search Portage & Overlays:

sci-ml/sherpa-onnx

Speech-to-text, TTS, speaker diarization etc. using onnxruntime

Screenshots

  • sherpa-onnx-1.13.2
    ~amd64
    cuda +portaudio +python +tts +websocket python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14

    View      Download      Browse     License: Apache-2.0   
    Overlay: stuff

ChangeLog

commit faafbeab78d7ddff0599a7caedf18f30b8724cce
Author: Raukaan Cogbrother <cogbrother@raukaan.local>
Date: Sun May 31 03:41:08 2026 +0200

sci-ml/sherpa-onnx: switch four github ZIPs and eigen to better compressions

GitHub serves each archive ref as either .zip or .tar.gz; the tarball
form ships about half the bytes for the same extracted tree. Eigen's
GitLab archive endpoint offers .tar.bz2 with a similar size win.
Swap the four commit-pinned GitHub archive URLs (kissfft, espeak-ng,
piper-phonemize, websocketpp) to .tar.gz and the eigen 5.0.1 archive
to .tar.bz2 to clear pkgcheck TarballAvailable and BetterCompressionUri.
Extracted contents are identical; just the distfile compression
changed.

commit de9fa32587a3d1678eded88c22ee659769c18d51
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon May 18 19:48:26 2026 +0200

sci-ml/sherpa-onnx: switch portaudio SRC_URI to https

files.portaudio.com serves the same pa_stable_v190700_20210406.tgz
over HTTPS; switch the SRC_URI to https://. Manifest unchanged
(same file content).

The remaining pkgcheck advisories on this ebuild — TarballAvailable
on 4 vendored zips (kissfft, websocketpp, piper-phonemize,
espeak-ng) and BetterCompressionUri on eigen — are intentional
per the BDEPEND comment: CMake's possible_file_locations fallback
expects the specific .zip filenames, so switching extensions
would break the build.

commit c2c8fcf614864689333caa08a596a79cebda7b57
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 16 15:17:25 2026 +0200

sci-ml/sherpa-onnx: new package, add 1.13.2

Source build of the k2-fsa speech stack: ASR, TTS, speaker
diarization, VAD, source separation, KWS. Sibling of the prebuilt
sci-ml/sherpa-onnx-bin, depends on the freshly-landed
sci-libs/onnxruntime for inference.

Installs self-contained under /opt/sherpa-onnx (23 CLI binaries +
2 public .so libs + private vendored .so files for cargs/kaldi/
kissfft/fst). /etc/env.d/99sherpa-onnx exposes PATH + LDPATH so
`sherpa-onnx --help` works post-emerge. Python bindings (USE=python)
land in standard site-packages with the dlopen-able libs resolving
via LDPATH.

USE flags: cuda, portaudio, python, tts, websocket — all default off
on first land. cuda path pins CUDAHOSTCXX=g++-15 unconditionally per
the internal CUDA-13 host-compiler note.

RESTRICT=network-sandbox because the CMake build pulls 7+ small
vendored deps (eigen, asio, cargs, json, hclust-cpp, kaldi-decoder,
kaldi-native-fbank, optionally espeak-ng) via FetchContent. Hashing
each one into SRC_URI is friction-without-benefit for a first cut.

Build + smoke-tested with all USE off; binary runs, links against
system sci-libs/onnxruntime.