2024-03-15 22:23:55 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/streamlink/streamlink/releases/download/{{version}}/streamlink-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: streamlink/streamlink
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
pkgx.sh: ^1
|
|
|
|
|
2024-06-18 20:21:01 +03:00
|
|
|
companions:
|
|
|
|
ffmpeg.org: '*'
|
|
|
|
|
2024-03-15 22:23:55 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
python.org: ~3.12
|
|
|
|
script:
|
|
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
|
|
- bkpyvenv seal {{prefix}} streamlink
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/streamlink
|
|
|
|
|
|
|
|
test:
|
|
|
|
- streamlink --version | grep {{version}}
|
2024-06-18 20:21:01 +03:00
|
|
|
- "streamlink --ffmpeg-no-validation -l debug 'https://www.youtube.com/watch?v=Hs_T71CxaPI' | grep 'Available streams: audio_mp4a, audio_opus'"
|