pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/yt-dlp yt-dlp: Add ffmpeg5 as supported ffmpeg



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d71b238bb50b
branches:  trunk
changeset: 372872:d71b238bb50b
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jan 31 23:27:20 2022 +0000

description:
yt-dlp: Add ffmpeg5 as supported ffmpeg

Bump PKGREVISION.

diffstat:

 net/yt-dlp/MESSAGE                                       |   4 ++--
 net/yt-dlp/Makefile                                      |   3 ++-
 net/yt-dlp/distinfo                                      |   4 ++--
 net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py |  14 +++++++-------
 4 files changed, 13 insertions(+), 12 deletions(-)

diffs (91 lines):

diff -r dbc8d69a7708 -r d71b238bb50b net/yt-dlp/MESSAGE
--- a/net/yt-dlp/MESSAGE        Mon Jan 31 23:20:55 2022 +0000
+++ b/net/yt-dlp/MESSAGE        Mon Jan 31 23:27:20 2022 +0000
@@ -1,7 +1,7 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1 2021/11/08 10:28:03 wiz Exp $
+$NetBSD: MESSAGE,v 1.2 2022/01/31 23:27:20 ryoon Exp $
 
-yt-dlp works fine for most supported sites. At least multimedia/ffmpeg[234]
+yt-dlp works fine for most supported sites. At least multimedia/ffmpeg[2345
 is highly recommended for some extractors, as well as net/rtmpdump and
 multimedia/mplayer or multimedia/mpv.
 You also want to install audio/py-mutagen, security/py-cryptodome,
diff -r dbc8d69a7708 -r d71b238bb50b net/yt-dlp/Makefile
--- a/net/yt-dlp/Makefile       Mon Jan 31 23:20:55 2022 +0000
+++ b/net/yt-dlp/Makefile       Mon Jan 31 23:27:20 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2022/01/22 13:48:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.10 2022/01/31 23:27:20 ryoon Exp $
 
 DISTNAME=      yt-dlp-2022.1.21
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_PYPI:=y/yt-dlp/}
 # \TODO: create symlink, as mpv makes use of youtube-dl?
diff -r dbc8d69a7708 -r d71b238bb50b net/yt-dlp/distinfo
--- a/net/yt-dlp/distinfo       Mon Jan 31 23:20:55 2022 +0000
+++ b/net/yt-dlp/distinfo       Mon Jan 31 23:27:20 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2022/01/22 13:48:34 ryoon Exp $
+$NetBSD: distinfo,v 1.8 2022/01/31 23:27:20 ryoon Exp $
 
 BLAKE2s (yt-dlp-2022.1.21.tar.gz) = dcc461bfe4a540b0652ec975aaef4bfc69aa369d3bd07442acc0c65ca5aaa01c
 SHA512 (yt-dlp-2022.1.21.tar.gz) = 5844d49dbf50842d4d51dbb00c16efea816322888d16a8dbce16f976f0dd1625ec8243fcdc07e721180a2f02cf14ebaa0d83a1437e331b4aa68c404db3f1e9f4
 Size (yt-dlp-2022.1.21.tar.gz) = 2160713 bytes
 SHA1 (patch-setup.py) = 7f3394a2b9737424e4c47c0f31488a8b2fef0bcb
-SHA1 (patch-yt__dlp_postprocessor_ffmpeg.py) = ccc67f26bc7ac2e6d0de9be38428134ffc9d2efd
+SHA1 (patch-yt__dlp_postprocessor_ffmpeg.py) = ae4eefe477a1517d753ed49c27e37f691c2fc59e
diff -r dbc8d69a7708 -r d71b238bb50b net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py
--- a/net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py  Mon Jan 31 23:20:55 2022 +0000
+++ b/net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py  Mon Jan 31 23:27:20 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-yt__dlp_postprocessor_ffmpeg.py,v 1.3 2022/01/22 13:48:34 ryoon Exp $
+$NetBSD: patch-yt__dlp_postprocessor_ffmpeg.py,v 1.4 2022/01/31 23:27:20 ryoon Exp $
 
 Also look and use ffmpeg[234]/ffprobe[234] if possible, preferring
 the unversioned one (i.e. selected via alternatives framework)
@@ -12,7 +12,7 @@
  
      def _determine_executables(self):
 -        programs = ['avprobe', 'avconv', 'ffmpeg', 'ffprobe']
-+        programs = ['avprobe', 'avconv', 'ffmpeg', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe4', 'ffprobe3', 'ffprobe2']
++        programs = ['avprobe', 'avconv', 'ffmpeg', 'ffmpeg5', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe5', 'ffprobe4', 'ffprobe3', 'ffprobe2']
  
          def get_ffmpeg_version(path, prog):
              out = _get_exe_version_output(path, ['-bsfs'])
@@ -21,7 +21,7 @@
                  basename = next((p for p in programs if basename.startswith(p)), 'ffmpeg')
                  dirname = os.path.dirname(os.path.abspath(location))
 -                if basename in ('ffmpeg', 'ffprobe'):
-+                if basename in ('ffmpeg', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe4', 'ffprobe3', 'ffprobe2'):
++                if basename in ('ffmpeg', 'ffmpeg5', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe5', 'ffprobe4', 'ffprobe3', 'ffprobe2'):
                      prefer_ffmpeg = True
  
              self._paths = dict(
@@ -30,10 +30,10 @@
  
          if prefer_ffmpeg is False:
 -            prefs = ('avconv', 'ffmpeg')
-+            prefs = ('avconv', 'ffmpeg', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2')
++            prefs = ('avconv', 'ffmpeg', 'ffmpeg5', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2')
          else:
 -            prefs = ('ffmpeg', 'avconv')
-+            prefs = ('ffmpeg', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'avconv')
++            prefs = ('ffmpeg', 'ffmpeg5', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'avconv')
          for p in prefs:
              if self._versions[p]:
                  self.basename = p
@@ -41,10 +41,10 @@
  
          if prefer_ffmpeg is False:
 -            prefs = ('avprobe', 'ffprobe')
-+            prefs = ('avprobe', 'ffprobe', 'ffprobe4', 'ffprobe3', 'ffprobe2')
++            prefs = ('avprobe', 'ffprobe', 'ffprobe5', 'ffprobe4', 'ffprobe3', 'ffprobe2')
          else:
 -            prefs = ('ffprobe', 'avprobe')
-+            prefs = ('ffprobe', 'ffprobe4', 'ffprobe3', 'ffprobe2', 'avprobe')
++            prefs = ('ffprobe', 'ffprobe5', 'ffprobe4', 'ffprobe3', 'ffprobe2', 'avprobe')
          for p in prefs:
              if self._versions[p]:
                  self.probe_basename = p



Home | Main Index | Thread Index | Old Index