mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/yt-dlp to 2022.03.08.1-1
This commit is contained in:
parent
b1b85c310b
commit
b14273c25d
1 changed files with 8 additions and 10 deletions
|
@ -2,19 +2,18 @@
|
|||
# Contributor: Stefan Tatschner <stefan@rumpelsepp.org>
|
||||
# Contributor: katt <magunasu.b97@gmail.com>
|
||||
|
||||
# ALARM: Rijnder Wever <rien334@gmail.com>
|
||||
# - change make target from 'pypi-files' to 'yt-dlp' to avoid pandoc dependency
|
||||
# - add zip to makedepends since the 'yt-dlp' target requires it
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - removed makedepend on pandoc
|
||||
|
||||
pkgname=yt-dlp
|
||||
pkgver=2022.02.04
|
||||
pkgrel=2
|
||||
pkgver=2022.03.08.1
|
||||
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)
|
||||
makedepends=(python-setuptools zip)
|
||||
makedepends=(python-build python-installer python-setuptools python-wheel)
|
||||
optdepends=('ffmpeg: for video post-processing'
|
||||
'rtmpdump: for rtmp streams support'
|
||||
'atomicparsley: for embedding thumbnails into m4a files'
|
||||
|
@ -23,15 +22,14 @@ 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=('c8dd119c28a5d256322ddb3a2fff72bc02ace43fc5880c0065d97f7a48d7a8e3')
|
||||
sha256sums=('135fd7bbf81c2639419b191d8e5abb80cd8a9801b7ed8e92a331a4107e820ab2')
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
make yt-dlp
|
||||
python setup.py build
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
python setup.py install --root="$pkgdir" --skip-build --optimize=1
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue