2022-12-01 16:41:05 +03:00
|
|
|
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:
|
2022-12-31 17:50:42 +03:00
|
|
|
python-venv.sh {{prefix}}/bin/youtube-dl
|
2022-12-01 16:41:05 +03:00
|
|
|
|
|
|
|
test: |
|
|
|
|
youtube-dl --simulate https://youtu.be/pOtd1cbOP7k
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/youtube-dl
|