diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile index baac96742d14..32144c417610 100644 --- a/www/yt-dlp/Makefile +++ b/www/yt-dlp/Makefile @@ -1,43 +1,42 @@ PORTNAME= yt-dlp -DISTVERSION= 2021.09.02 +DISTVERSION= 2021.09.25 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org COMMENT= Command-line program for downloading videos from various platforms LICENSE= UNLICENSE LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}websockets>0:devel/py-websockets@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} USES= gmake python:3.6+ shebangfix SHEBANG_GLOB= devscripts/*.py USE_GITHUB= yes MAKE_ARGS= PYTHON=${PYTHON_CMD} NO_ARCH= yes -OPTIONS_DEFINE= FFMPEG MUTAGEN RTMPDUMP SYMLINK +OPTIONS_DEFINE= FFMPEG RTMPDUMP SYMLINK OPTIONS_DEFAULT= FFMPEG RTMPDUMP -OPTIONS_SUB= yes - -MUTAGEN_DESC= Thumbnail support via Mutagen -RTMPDUMP_DESC= Use rtmpdump to download rtmp video streams -SYMLINK_DESC= Install youtube-dl symbolic link for executable +OPTIONS_SUB= yes FFMPEG_RUN_DEPENDS= ffprobe:multimedia/ffmpeg -MUTAGEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} + +RTMPDUMP_DESC= Use rtmpdump to download rtmp video streams RTMPDUMP_RUN_DEPENDS= rtmpdump:multimedia/rtmpdump + +SYMLINK_DESC= Install youtube-dl symbolic link for executable SYMLINK_CONFLICTS= youtube_dl post-install-SYMLINK-on: @${RLN} ${STAGEDIR}${PREFIX}/bin/yt-dlp ${STAGEDIR}${PREFIX}/bin/youtube-dl .include diff --git a/www/yt-dlp/distinfo b/www/yt-dlp/distinfo index 6dc9748f1d03..33d55760b36e 100644 --- a/www/yt-dlp/distinfo +++ b/www/yt-dlp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1630572156 -SHA256 (yt-dlp-yt-dlp-2021.09.02_GH0.tar.gz) = d73ab004bd4006103fe01d28870904005832bb9cfb758d2fdea8a5aba7ae2a8b -SIZE (yt-dlp-yt-dlp-2021.09.02_GH0.tar.gz) = 1742097 +TIMESTAMP = 1632632104 +SHA256 (yt-dlp-yt-dlp-2021.09.25_GH0.tar.gz) = 8d2e5ab7dd143a1c11731eb6e9b05ebe327184e01d820e2a0a27ef9ee5f5a04b +SIZE (yt-dlp-yt-dlp-2021.09.25_GH0.tar.gz) = 1784827 diff --git a/www/yt-dlp/files/patch-yt__dlp_options.py b/www/yt-dlp/files/patch-yt__dlp_options.py index 5f9819a79b7a..7a6b7b73c2e4 100644 --- a/www/yt-dlp/files/patch-yt__dlp_options.py +++ b/www/yt-dlp/files/patch-yt__dlp_options.py @@ -1,13 +1,13 @@ ---- yt_dlp/options.py.orig 2021-03-18 03:13:34 UTC +--- yt_dlp/options.py.orig 2021-09-25 00:59:59 UTC +++ yt_dlp/options.py -@@ -151,10 +151,6 @@ def parseOpts(overrideArguments=None): +@@ -202,10 +202,6 @@ def parseOpts(overrideArguments=None): action='version', help='Print program version and exit') general.add_option( - '-U', '--update', - action='store_true', dest='update_self', - help='Update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)') - general.add_option( - '-i', '--ignore-errors', '--no-abort-on-error', - action='store_true', dest='ignoreerrors', default=True, - help='Continue on download errors, for example to skip unavailable videos in a playlist (default) (Alias: --no-abort-on-error)') + '-i', '--ignore-errors', + action='store_true', dest='ignoreerrors', + help='Ignore download and postprocessing errors. The download will be considered successfull even if the postprocessing fails')