pantry/projects/github.com/coqui-ai/TTS/package.yml
James Reynolds b68e81ab2e
+github.com/coqui-ai/TTS (#2150)
* +github.com/coqui-ai/TTS

* inherit mecab's platform restriction

* looking for `git`

* requires compiler to build

---------

Co-authored-by: James Reynolds <magnsuviri@me.com>
Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-06-12 17:25:16 -04:00

36 lines
690 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:
tea.xyz/gx/cc: c99
pip.pypa.io: '*'
git-scm.org: '*'
test: |
tts -h