Package Details: piper-voices-en-us 1.0.0-3

Git Clone URL: https://aur.archlinux.org/piper-voices-en-us.git (read-only, click to copy)
Package Base: piper-voices-en-us
Description: Voices for Piper text to speech system (en_US)
Upstream URL: https://huggingface.co/rhasspy/piper-voices
Keywords: piper-voices tts
Licenses: MIT
Groups: piper-voices
Conflicts: piper-voices-minimal
Provides: piper-voices
Submitter: AlphaJack
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 2
Popularity: 0.45
First Submitted: 2024-03-06 14:06 (UTC)
Last Updated: 2024-04-18 21:13 (UTC)

Dependencies (2)

Required by (1)

Sources (0)

Latest Comments

AlphaJack commented on 2024-04-18 21:20 (UTC)

Thank you, fixed!

tleb commented on 2024-04-17 10:47 (UTC) (edited on 2024-04-17 10:48 (UTC) by tleb)

/usr/share/piper-voices/**/*.onnx files are all ASCII files of the form:

⟩ cat /usr/share/piper-voices/en/en_GB/alan/low/en_GB-alan-low.onnx
version https://git-lfs.github.com/spec/v1
oid sha256:a1f60584620a2bed203de823d08f5abb336fb15f3d6f33f8c341e3e2cabf5dde
size 63104526

Files are not the Protobuf binary data expected, but some git-lfs metadata. True for piper-voices-en-gb as well. Reason is found during prepare():

Skipping object checkout, Git LFS is not installed for this repository.
Consider installing it with 'git lfs install'.

I looked in git-lfs changelog but couldn't find anything relevant. This oneliner fixes it.

diff --git a/PKGBUILD b/PKGBUILD
index 5febe41..71692f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,6 +37,7 @@ prepare(){
  printf '%s\n' ${_models[*]}

  # convert specific lfs pointers into actual models
+ git lfs install
  git lfs pull --include $(IFS=,; echo "${_models[*]}")
 }