git.iko.soy/typeable/nixpkgs
on master help sign in
darwin: ffmpeg-full: add some missing darwin deps
a2bf64aStéphane Jourdois
pkgs/development/libraries/ffmpeg-full/default.nix+6−1
@@ -138,6 +138,10 @@
138, optimizationsDeveloper ? true
138, optimizationsDeveloper ? true
139, extraWarningsDeveloper ? false
139, extraWarningsDeveloper ? false
140, strippingDeveloper ? false
140, strippingDeveloper ? false
141+/*
142+ * Darwin frameworks
143+ */
144+, Cocoa, CoreServices
141}:
145}:
142
146
143/* Maintainer notes:
147/* Maintainer notes:
@@ -405,7 +409,8 @@ stdenv.mkDerivation rec {
405 ++ optionals x11grabExtlib [ libXext libXfixes ]
409 ++ optionals x11grabExtlib [ libXext libXfixes ]
406 ++ optionals nonfreeLicensing [ faac fdk_aac openssl ]
410 ++ optionals nonfreeLicensing [ faac fdk_aac openssl ]
407 ++ optional ((isLinux || isFreeBSD) && libva != null) libva
411 ++ optional ((isLinux || isFreeBSD) && libva != null) libva
408− ++ optionals isLinux [ alsaLib libraw1394 libv4l ];
412+ ++ optionals isLinux [ alsaLib libraw1394 libv4l ]
413+ ++ optionals stdenv.isDarwin [ Cocoa CoreServices ];
409
414
410 # Build qt-faststart executable
415 # Build qt-faststart executable
411 buildPhase = optional qtFaststartProgram ''make tools/qt-faststart'';
416 buildPhase = optional qtFaststartProgram ''make tools/qt-faststart'';
pkgs/top-level/all-packages.nix+1−3
@@ -6256,18 +6256,16 @@ let
6256 # The following need to be fixed on Darwin
6256 # The following need to be fixed on Darwin
6257 frei0r = if stdenv.isDarwin then null else frei0r;
6257 frei0r = if stdenv.isDarwin then null else frei0r;
6258 game-music-emu = if stdenv.isDarwin then null else game-music-emu;
6258 game-music-emu = if stdenv.isDarwin then null else game-music-emu;
6259− gsm = if stdenv.isDarwin then null else gsm;
6260 libjack2 = if stdenv.isDarwin then null else libjack2;
6259 libjack2 = if stdenv.isDarwin then null else libjack2;
6261 libmodplug = if stdenv.isDarwin then null else libmodplug;
6260 libmodplug = if stdenv.isDarwin then null else libmodplug;
6262− libssh = if stdenv.isDarwin then null else libssh;
6263 libvpx = if stdenv.isDarwin then null else libvpx;
6261 libvpx = if stdenv.isDarwin then null else libvpx;
6264 openal = if stdenv.isDarwin then null else openal;
6262 openal = if stdenv.isDarwin then null else openal;
6265− openjpeg_1 = if stdenv.isDarwin then null else openjpeg_1;
6266 libpulseaudio = if stdenv.isDarwin then null else libpulseaudio;
6263 libpulseaudio = if stdenv.isDarwin then null else libpulseaudio;
6267 samba = if stdenv.isDarwin then null else samba;
6264 samba = if stdenv.isDarwin then null else samba;
6268 vid-stab = if stdenv.isDarwin then null else vid-stab;
6265 vid-stab = if stdenv.isDarwin then null else vid-stab;
6269 x265 = if stdenv.isDarwin then null else x265;
6266 x265 = if stdenv.isDarwin then null else x265;
6270 xavs = if stdenv.isDarwin then null else xavs;
6267 xavs = if stdenv.isDarwin then null else xavs;
6268+ inherit (darwin.apple_sdk.frameworks) Cocoa CoreServices;
6271 };
6269 };
6272
6270
6273 ffmpegthumbnailer = callPackage ../development/libraries/ffmpegthumbnailer { };
6271 ffmpegthumbnailer = callPackage ../development/libraries/ffmpegthumbnailer { };