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
|
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
|
||||||
, AppKit
|
, AppKit
|
||||||
, AudioToolbox
|
, AudioToolbox
|
||||||
|
, AVFoundation
|
||||||
, Cocoa
|
, Cocoa
|
||||||
, CoreImage
|
, CoreImage
|
||||||
, ForceFeedback
|
, ForceFeedback
|
||||||
|
@ -20,7 +21,17 @@ buildDunePackage {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ dune-configurator ]
|
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 ];
|
propagatedBuildInputs = [ ffmpeg-av ffmpeg.dev ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
|
@ -483,7 +483,7 @@ let
|
||||||
};
|
};
|
||||||
ffmpeg-avdevice = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-avdevice.nix {
|
ffmpeg-avdevice = callPackage ../development/ocaml-modules/ffmpeg/ffmpeg-avdevice.nix {
|
||||||
inherit (pkgs) ffmpeg;
|
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 { };
|
fiber = callPackage ../development/ocaml-modules/fiber { };
|
||||||
|
|
Loading…
Reference in a new issue