youtube-dl, add cmd:ffmpeg (primary architecture) to dependencies, drop python 2.7 (#5625)

This commit is contained in:
Schrijvers Luc
2021-01-24 10:43:36 +01:00
committed by GitHub
parent 8d4e4ca3af
commit 764f62023f

View File

@@ -8,7 +8,7 @@ to download these videos by itself."
HOMEPAGE="https://ytdl-org.github.io/youtube-dl/index.html"
COPYRIGHT="2006-2021 youtube-dl contributors"
LICENSE="Unlicense"
REVISION="1"
REVISION="2"
SOURCE_URI="https://yt-dl.org/downloads/$portVersion/youtube-dl-$portVersion.tar.gz"
CHECKSUM_SHA256="113a5272c1917d83f1c1e7e54971ab41aa6e22b43ba736f2b66816220bdf17e1"
SOURCE_DIR="youtube-dl"
@@ -21,6 +21,7 @@ PROVIDES="
"
REQUIRES="
haiku
ffmpeg_tools
cmd:python
"
@@ -32,8 +33,8 @@ BUILD_PREREQUIRES="
cmd:make
"
PYTHON_PACKAGES=(python python3)
PYTHON_VERSIONS=(2.7 3.7)
PYTHON_PACKAGES=(python3)
PYTHON_VERSIONS=(3.7)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}