pantry/projects/youtube-dl.org/package.yml
2022-12-31 11:18:34 -05:00

23 lines
554 B
YAML

distributable:
url: https://github.com/ytdl-org/youtube-dl/releases/download/{{version}}/youtube-dl-{{version}}.tar.gz
strip-components: 1
#NOTE copy-pasta from mesonbuild.com
#TODO make a brewkit/ script to do this automatically
versions:
github: ytdl-org/youtube-dl
strip: /^youtube-dl /
dependencies:
python.org: 3
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
build:
python-venv.sh {{prefix}}/bin/youtube-dl
test: |
youtube-dl --simulate https://youtu.be/pOtd1cbOP7k
provides:
- bin/youtube-dl