diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: katt <magunasu.b97@gmail.com> pkgname=yt-dlp-git -pkgver=2023.03.04.r118.gef8fb7f02 +pkgver=2023.07.06.r43.gbbeacff7f pkgrel=1 pkgdesc='A youtube-dl fork with additional features and fixes (git)' arch=(any) @@ -19,8 +19,10 @@ optdepends=('ffmpeg: for video post-processing' 'python-websockets: For downloading over websocket') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=(git+"${url}".git) -sha256sums=('SKIP') +source=(git+"${url}".git + "${pkgname%-git}"-fix-ssl_load_certs-tests.patch::https://patch-diff.githubusercontent.com/raw/yt-dlp/yt-dlp/pull/7675.patch) +sha256sums=('SKIP' + '077ee0259ac65bbf6cba68cc4e6657e2aa5633437cff57e34022e14414bbf35f') pkgver() { git -C "${pkgname%-git}" describe --long --tags --exclude=nightly | sed 's/\([^-]*-g\)/r\1/;s/-/./g' @@ -29,6 +31,9 @@ pkgver() { prepare() { # Clean out old wheels etc. git -C "${pkgname%-git}" clean -dfx + + # Fix ssl_load_certs tests https://github.com/yt-dlp/yt-dlp/pull/7675 + patch --directory="${pkgname%-git}" --forward --strip=1 --input="${srcdir}/${pkgname%-git}-fix-ssl_load_certs-tests.patch" } build() { |