new file: projects/streamlink.github.io/package.yml (#5606)

This commit is contained in:
Andrew 2024-03-15 21:23:55 +02:00 committed by GitHub
parent d6c56c8810
commit 7397b9a288
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,24 @@
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
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}}
- streamlink --ffmpeg-no-validation -l debug 'https://www.youtube.com/watch?v=Hs_T71CxaPI' | grep '720p (best)'