ffmpeg_4: init

This commit is contained in:
Yegor Timoshenko 2018-05-10 17:44:40 +03:00
parent 6cc732ebbe
commit 956d174c8d
No known key found for this signature in database
GPG Key ID: D94C2621F68B81E8
3 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,12 @@
{ stdenv, callPackage, fetchpatch
# Darwin frameworks
, Cocoa, CoreMedia
, ...
}@args:
callPackage ./generic.nix (args // rec {
version = "${branch}";
branch = "4.0";
sha256 = "1f3k8nz5ag6szsfhlrz66qm8s1yxk1vphqvcfr4ps4690vckk2ii";
darwinFrameworks = [ Cocoa CoreMedia ];
})

View File

@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
"--enable-ffmpeg"
"--disable-ffplay"
(ifMinVer "0.6" "--enable-ffprobe")
"--disable-ffserver"
(if reqMin "4" then null else "--disable-ffserver")
# Libraries
(ifMinVer "0.6" "--enable-avcodec")
(ifMinVer "0.6" "--enable-avdevice")

View File

@ -8818,6 +8818,10 @@ with pkgs;
ffmpeg_3_4 = callPackage ../development/libraries/ffmpeg/3.4.nix {
inherit (darwin.apple_sdk.frameworks) Cocoa CoreMedia;
};
ffmpeg_4 = callPackage ../development/libraries/ffmpeg/4.nix {
inherit (darwin.apple_sdk.frameworks) Cocoa CoreMedia;
};
# Aliases
ffmpeg_0 = ffmpeg_0_10;
ffmpeg_1 = ffmpeg_1_2;