pantry/projects/github.com/coqui-ai/TTS/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

35 lines
667 B
YAML

distributable:
url: https://github.com/coqui-ai/TTS/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: coqui-ai/TTS/releases
strip: /^v/
# FIXME: inherited from taku910.github.io/mecab
platforms:
- darwin
- linux/x86-64
provides:
- bin/tts
- bin/tts-server
- bin/ttx
dependencies:
python.org: '>=3.7 <3.11'
taku910.github.io/mecab: '*'
build:
script: |
python_venv=$(which python-venv.py)
env python $python_venv {{prefix}}/bin/tts
cp {{prefix}}/bin/tts {{prefix}}/bin/tts-server
cp {{prefix}}/bin/tts {{prefix}}/bin/ttx
dependencies:
pip.pypa.io: '*'
git-scm.org: '*'
test: |
tts -h