gpo.zugaina.org

Search Portage & Overlays:

sci-ml/sherpa-onnx

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

Screenshots

  • sherpa-onnx-1.13.3
    ~amd64 ~arm64
    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 9837bda6646e68a1e707f1428824b4f6560fa2ed
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Jun 17 18:01:58 2026 +0200

sci-ml/sherpa-onnx: Keyword 1.13.3 for ~arm64

Speech toolkit on top of the onnxruntime C++ API; built with the
default USE (portaudio, python, tts). aarch64-portable.

commit beabe0da9bc74059db54c0ee3fdbf32be5e0e27b
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Jun 15 23:53:50 2026 +0200

sci-ml/sherpa-onnx: generalize CUDA host-compiler comment

Drop the maintainer-private notes reference and host-specific wording
from the CUDAHOSTCXX rationale comment; the gcc>15 pin reason is kept.

commit 901ee16e37f059155ac82ec7146361557116ea61
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Jun 15 15:40:44 2026 +0200

sci-ml/sherpa-onnx: drop 1.13.2

Superseded by 1.13.3. 1.13.2 staged its vendored FetchContent deps in
formats the bundled cmake possible_file_locations never match (kissfft/
espeak-ng/piper-phonemize/websocketpp as .tar.gz, eigen as .tar.bz2), so
it could only configure with network access -- broken under the default
network sandbox. 1.13.3 carries the corrected staging.

commit 201f6cdf8a49c4ee12af1b7f5b91ab2202077743
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Jun 15 15:34:48 2026 +0200

sci-ml/sherpa-onnx: add 1.13.3

Stage the vendored FetchContent deps with the archive formats the
bundled cmake modules' possible_file_locations actually look for:
kissfft, espeak-ng, piper-phonemize and websocketpp as .zip (not
.tar.gz), and eigen as .tar.gz (not .tar.bz2). The earlier renames were
never found under $, so a network-sandboxed configure
fell through to a FetchContent download and died. The app-arch/unzip
BDEPEND already anticipated the .zip inputs.

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.