Browse Source

[trunk] -> [community] 'yt-dlp-2022.05.18-1' add

master
Nathan Owens 1 month ago
parent
commit
12fc299bbc
  1. 10
      trunk/PKGBUILD
  2. 10
      x86_64/community/PKGBUILD

10
trunk/PKGBUILD

@ -3,7 +3,7 @@
# Contributor: katt <magunasu.b97@gmail.com>
pkgname=yt-dlp
pkgver=2022.04.08
pkgver=2022.05.18
pkgrel=1
pkgdesc='A youtube-dl fork with additional features and fixes'
arch=(any)
@ -11,6 +11,7 @@ url='https://github.com/yt-dlp/yt-dlp'
license=(Unlicense)
depends=(python-certifi)
makedepends=(python-build python-installer python-setuptools python-wheel pandoc)
checkdepends=(python-pytest)
optdepends=('ffmpeg: for video post-processing'
'rtmpdump: for rtmp streams support'
'atomicparsley: for embedding thumbnails into m4a files'
@ -19,13 +20,18 @@ optdepends=('ffmpeg: for video post-processing'
'python-pycryptodomex: For decrypting AES-128 HLS streams and various other data'
'python-websockets: For downloading over websocket')
source=($pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/$pkgver/yt-dlp.tar.gz)
sha256sums=('a9ea3753977dd82f051f0674fbdc3eb5ff49a67246f4bd3cac5745702828d1db')
sha256sums=('59a0e89d79018070844c6301f7848594b746ca4857e7da14a5e6938a24e63172')
build() {
cd $pkgname
python -m build --wheel --no-isolation
}
check() {
cd $pkgname
pytest -v -m "not download"
}
package() {
cd $pkgname
python -m installer --destdir="$pkgdir" dist/*.whl

10
x86_64/community/PKGBUILD

@ -3,7 +3,7 @@
# Contributor: katt <magunasu.b97@gmail.com>
pkgname=yt-dlp
pkgver=2022.04.08
pkgver=2022.05.18
pkgrel=1
pkgdesc='A youtube-dl fork with additional features and fixes'
arch=(any)
@ -11,6 +11,7 @@ url='https://github.com/yt-dlp/yt-dlp'
license=(Unlicense)
depends=(python-certifi)
makedepends=(python-build python-installer python-setuptools python-wheel pandoc)
checkdepends=(python-pytest)
optdepends=('ffmpeg: for video post-processing'
'rtmpdump: for rtmp streams support'
'atomicparsley: for embedding thumbnails into m4a files'
@ -19,13 +20,18 @@ optdepends=('ffmpeg: for video post-processing'
'python-pycryptodomex: For decrypting AES-128 HLS streams and various other data'
'python-websockets: For downloading over websocket')
source=($pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/$pkgver/yt-dlp.tar.gz)
sha256sums=('a9ea3753977dd82f051f0674fbdc3eb5ff49a67246f4bd3cac5745702828d1db')
sha256sums=('59a0e89d79018070844c6301f7848594b746ca4857e7da14a5e6938a24e63172')
build() {
cd $pkgname
python -m build --wheel --no-isolation
}
check() {
cd $pkgname
pytest -v -m "not download"
}
package() {
cd $pkgname
python -m installer --destdir="$pkgdir" dist/*.whl

Loading…
Cancel
Save