yt-dlp: 2021.12.01 (new port, successor to inactive youtube-dl)

This commit is contained in:
Steffen Nurpmeso 2021-12-22 22:09:05 +01:00
parent 8b434edb93
commit 8f0cdaa89b
3 changed files with 2858 additions and 0 deletions

2817
yt-dlp/.footprint Normal file

File diff suppressed because it is too large Load Diff

5
yt-dlp/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+NKtI2gLA46Fj4Y/g4SjZbodSSCjNNTcQwC+LAxIhW1Fb/O6lmj7Y3SgXkGUIrthKA36rob0Bm9PJNJn6yhmgU=
SHA256 (Pkgfile) = b65210f2fc0338d7f365d7680bfb550adf72347b5ea90fbb40a32a6fac5be0f4
SHA256 (.footprint) = 4012d4a6a7352f5d049e6a8226d87bf558fb5b9ec220e6e063d772741310dbbe
SHA256 (yt-dlp-2021.12.01.tar.gz) = c3ae873c1ab51399ae1024db65a28ee06681328ca87da69c0af03edaa04c6770

36
yt-dlp/Pkgfile Normal file
View File

@ -0,0 +1,36 @@
# Description: CLI program to access YouTub and other data content
# URL: https://github.com/yt-dlp/yt-dlp
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
# Depends on: python3-setuptools
name=yt-dlp
version=2021.12.01
release=1
source=(https://github.com/${name}/${name}/archive/\
${version}/${name}-${version}.tar.gz)
build() {
cd ${name}-${version}
python3 setup.py build
cat > ./yt-dlp.1 <<- \!
.Dd December 22, 2021
.Dt YT-DLP 1
.Os
.
.Sh NAME
.Nm yt-dlp.1
.Nd CLI program to access YouTub and other data content
.
.Bd -literal
!
sed -E -e '/^# USAGE AND OPTIONS/,/^#### Removed/p;d' < README.md >> yt-dlp.1
echo '.Ed' >> ./yt-dlp.1
python3 setup.py install --root="${PKG}" --optimize=1 --skip-build
rm -fr "${PKG}"/usr/share/{bash-completion,doc,fish,zsh}
}
# s-sh-mode