mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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: Stefan Tatschner <stefan@rumpelsepp.org>
|
||||||
# Contributor: katt <magunasu.b97@gmail.com>
|
# Contributor: katt <magunasu.b97@gmail.com>
|
||||||
|
|
||||||
# ALARM: Rijnder Wever <rien334@gmail.com>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - change make target from 'pypi-files' to 'yt-dlp' to avoid pandoc dependency
|
# - removed makedepend on pandoc
|
||||||
# - add zip to makedepends since the 'yt-dlp' target requires it
|
|
||||||
|
|
||||||
pkgname=yt-dlp
|
pkgname=yt-dlp
|
||||||
pkgver=2022.02.04
|
pkgver=2022.03.08.1
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc='A youtube-dl fork with additional features and fixes'
|
pkgdesc='A youtube-dl fork with additional features and fixes'
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url='https://github.com/yt-dlp/yt-dlp'
|
url='https://github.com/yt-dlp/yt-dlp'
|
||||||
license=(Unlicense)
|
license=(Unlicense)
|
||||||
depends=(python)
|
depends=(python)
|
||||||
makedepends=(python-setuptools zip)
|
makedepends=(python-build python-installer python-setuptools python-wheel)
|
||||||
optdepends=('ffmpeg: for video post-processing'
|
optdepends=('ffmpeg: for video post-processing'
|
||||||
'rtmpdump: for rtmp streams support'
|
'rtmpdump: for rtmp streams support'
|
||||||
'atomicparsley: for embedding thumbnails into m4a files'
|
'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-pycryptodomex: For decrypting AES-128 HLS streams and various other data'
|
||||||
'python-websockets: For downloading over websocket')
|
'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)
|
source=($pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/$pkgver/yt-dlp.tar.gz)
|
||||||
sha256sums=('c8dd119c28a5d256322ddb3a2fff72bc02ace43fc5880c0065d97f7a48d7a8e3')
|
sha256sums=('135fd7bbf81c2639419b191d8e5abb80cd8a9801b7ed8e92a331a4107e820ab2')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname
|
cd $pkgname
|
||||||
make yt-dlp
|
python -m build --wheel --no-isolation
|
||||||
python setup.py build
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $pkgname
|
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