forked from mirrors/nixpkgs
ocamlPackages.ffmpeg-avdevice: add missing AVFoundation library on macOS
This commit is contained in:
parent
1e21dd6102
commit
a48e7da55a
|
@ -1,6 +1,7 @@
|
|||
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
|
||||
, AppKit
|
||||
, AudioToolbox
|
||||
, AVFoundation
|
||||
, Cocoa
|
||||
, CoreImage
|
||||
, ForceFeedback
|
||||
|
@ -20,7 +21,17 @@ buildDunePackage {
|
|||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dune-configurator ]
|
||||
++ lib.optionals stdenv.isDarwin [ AppKit AudioToolbox Cocoa CoreImage ForceFeedback OpenGL VideoToolbox ];
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
AppKit
|
||||
AudioToolbox
|
||||
AVFoundation
|
||||
Cocoa
|
||||
CoreImage
|
||||
ForceFeedback
|
||||
OpenGL
|
||||
VideoToolbox
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ ffmpeg-av ffmpeg.dev ];
|
||||
|
||||
doCheck = true;
|
||||
|
|
|
@ -483,7 +483,7 @@ let
|
|||
};
|
||||
ffmpeg-avdevice = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-avdevice.nix {
|
||||
inherit (pkgs) ffmpeg;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) AppKit AudioToolbox Cocoa CoreImage ForceFeedback OpenGL VideoToolbox;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) AppKit AudioToolbox AVFoundation Cocoa CoreImage ForceFeedback OpenGL VideoToolbox;
|
||||
};
|
||||
|
||||
fiber = callPackage ../development/ocaml-modules/fiber { };
|
||||
|
|
Loading…
Reference in a new issue