mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/yt-dlp to 2023.10.07-1
This commit is contained in:
parent
2099d6b816
commit
d6be93e14e
2 changed files with 46 additions and 4 deletions
32
extra/yt-dlp/.SRCINFO
Normal file
32
extra/yt-dlp/.SRCINFO
Normal file
|
@ -0,0 +1,32 @@
|
|||
pkgbase = yt-dlp
|
||||
pkgdesc = A youtube-dl fork with additional features and fixes
|
||||
pkgver = 2023.10.07
|
||||
pkgrel = 1
|
||||
url = https://github.com/yt-dlp/yt-dlp
|
||||
arch = any
|
||||
license = Unlicense
|
||||
checkdepends = python-pytest
|
||||
makedepends = pandoc
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-wheel
|
||||
depends = python
|
||||
depends = python-certifi
|
||||
optdepends = ffmpeg: for video post-processing
|
||||
optdepends = rtmpdump: for rtmp streams support
|
||||
optdepends = atomicparsley: for embedding thumbnails into m4a files
|
||||
optdepends = aria2: for using aria2 as external downloader
|
||||
optdepends = python-mutagen: for embedding thumbnail in certain formats
|
||||
optdepends = python-pycryptodomex: for decrypting AES-128 HLS streams and various other data
|
||||
optdepends = python-websockets: for downloading over websocket
|
||||
optdepends = python-brotli: brotli content encoding support
|
||||
optdepends = python-brotlicffi: brotli content encoding support
|
||||
optdepends = python-xattr: for writing xattr metadata
|
||||
optdepends = python-pyxattr: for writing xattr metadata (alternative option)
|
||||
optdepends = phantomjs: for extractors with javascript code
|
||||
optdepends = python-secretstorage: For -cookies-from-browser to access the GNOME keyring while decrypting cookies of Chromium-based browsers
|
||||
source = yt-dlp-2023.10.07.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/2023.10.07/yt-dlp.tar.gz
|
||||
sha256sums = 39d1a69242cc8235fe1f3e387cd383aae239e563796efb9de0f516133ee14870
|
||||
|
||||
pkgname = yt-dlp
|
|
@ -6,14 +6,19 @@
|
|||
# - removed makedepend on pandoc
|
||||
|
||||
pkgname=yt-dlp
|
||||
pkgver=2023.09.24
|
||||
pkgver=2023.10.07
|
||||
pkgrel=1
|
||||
pkgdesc='A youtube-dl fork with additional features and fixes'
|
||||
arch=(any)
|
||||
url='https://github.com/yt-dlp/yt-dlp'
|
||||
license=(Unlicense)
|
||||
depends=(python-certifi)
|
||||
makedepends=(python-build python-installer python-setuptools python-wheel)
|
||||
depends=(python
|
||||
python-certifi)
|
||||
makedepends=(python-build
|
||||
python-installer
|
||||
python-setuptools
|
||||
python-wheel)
|
||||
checkdepends=(python-pytest)
|
||||
optdepends=('ffmpeg: for video post-processing'
|
||||
'rtmpdump: for rtmp streams support'
|
||||
'atomicparsley: for embedding thumbnails into m4a files'
|
||||
|
@ -28,13 +33,18 @@ optdepends=('ffmpeg: for video post-processing'
|
|||
'phantomjs: for extractors with javascript code'
|
||||
'python-secretstorage: For -cookies-from-browser to access the GNOME keyring while decrypting cookies of Chromium-based browsers')
|
||||
source=($pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/$pkgver/yt-dlp.tar.gz)
|
||||
sha256sums=('689aaab448763a9efb339e608346d42aa3d4f776288fc1f4f223142ac23a5abf')
|
||||
sha256sums=('39d1a69242cc8235fe1f3e387cd383aae239e563796efb9de0f516133ee14870')
|
||||
|
||||
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…
Reference in a new issue