mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-03 17:33:26 +03:00
ffmpeg_4: init
This commit is contained in:
parent
6cc732ebbe
commit
956d174c8d
12
pkgs/development/libraries/ffmpeg/4.nix
Normal file
12
pkgs/development/libraries/ffmpeg/4.nix
Normal 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 ];
|
||||
})
|
@ -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")
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user