ffmpeg_4: build with videotoolbox on darwin (#57743)

This commit is contained in:
ryan4729 2019-04-10 22:09:45 -07:00 committed by Dmitry Kalinkin
parent a9489f46b5
commit 49c646cbf7
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchpatch
# Darwin frameworks
, Cocoa, CoreMedia
, Cocoa, CoreMedia, VideoToolbox
, ...
}@args:
@ -8,5 +8,5 @@ callPackage ./generic.nix (args // rec {
version = "${branch}";
branch = "4.1.2";
sha256 = "00yzwc2g97h8ws0haz1p0ahaavhgrbha6xjdc53a5vyfy3zyy3i0";
darwinFrameworks = [ Cocoa CoreMedia ];
darwinFrameworks = [ Cocoa CoreMedia VideoToolbox ];
})

View file

@ -9957,7 +9957,7 @@ in
inherit (darwin.apple_sdk.frameworks) Cocoa CoreMedia;
};
ffmpeg_4 = callPackage ../development/libraries/ffmpeg/4.nix {
inherit (darwin.apple_sdk.frameworks) Cocoa CoreMedia;
inherit (darwin.apple_sdk.frameworks) Cocoa CoreMedia VideoToolbox;
};
# Aliases