youtube-dl: Change to ffmpeg_4
This is to reduce the closure size of mpv which wraps youtube-dl
This commit is contained in:
parent
ca7ef865c4
commit
049471403b
@ -1,5 +1,5 @@
|
|||||||
{ lib, fetchurl, buildPythonPackage
|
{ lib, fetchurl, buildPythonPackage
|
||||||
, zip, ffmpeg, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc
|
, zip, ffmpeg_4, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
# Pandoc is required to build the package's man page. Release tarballs contain a
|
# Pandoc is required to build the package's man page. Release tarballs contain a
|
||||||
# formatted man page already, though, it will still be installed. We keep the
|
# formatted man page already, though, it will still be installed. We keep the
|
||||||
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
|||||||
makeWrapperArgs = let
|
makeWrapperArgs = let
|
||||||
packagesToBinPath =
|
packagesToBinPath =
|
||||||
[ atomicparsley ]
|
[ atomicparsley ]
|
||||||
++ lib.optional ffmpegSupport ffmpeg
|
++ lib.optional ffmpegSupport ffmpeg_4
|
||||||
++ lib.optional rtmpSupport rtmpdump
|
++ lib.optional rtmpSupport rtmpdump
|
||||||
++ lib.optional phantomjsSupport phantomjs2;
|
++ lib.optional phantomjsSupport phantomjs2;
|
||||||
in [ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ];
|
in [ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user