mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
2629971863
closes #3552
40 lines
984 B
YAML
40 lines
984 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:
|
|
dependencies:
|
|
pip.pypa.io: '*'
|
|
git-scm.org: '*'
|
|
script:
|
|
- python-venv.py {{prefix}}/bin/tts
|
|
- run: |
|
|
cp {{prefix}}/bin/tts {{prefix}}/bin/tts-server
|
|
cp {{prefix}}/bin/tts {{prefix}}/bin/ttx
|
|
working-directory: ${{prefix}}/bin
|
|
|
|
# FIXME: the nvidia package is over 3GB, and OOMs the builder when trying
|
|
# to `tar Jcf` it. We likely need this back, but it prevents building at present.
|
|
- run: rm -r nvidia
|
|
if: linux
|
|
working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages
|
|
|
|
test: tts -h
|