git.iko.soy/typeable/nixpkgs
on master help sign in
darwin: ffmpeg-full: add some missing darwin deps
commita2bf64a3810a2624c125b95153fea429f898cf4d authorStéphane Jourdois <sjourdois@gmail.com> dateWed 11 Nov 2015, 22:56 (11 years ago) parentb096a86
2 files changed+7−4
pkgs/development/libraries/ffmpeg-full/default.nix+6−1 pkgs/top-level/all-packages.nix+1−3
pkgs/development/libraries/ffmpeg-full/default.nix+6−1
@@ -138,6 +138,10 @@
138138, optimizationsDeveloper ? true
139139, extraWarningsDeveloper ? false
140140, strippingDeveloper ? false
141+/*
142+ * Darwin frameworks
143+ */
144+, Cocoa, CoreServices
141145}:
142146
143147/* Maintainer notes:
@@ -405,7 +409,8 @@ stdenv.mkDerivation rec {
405409 ++ optionals x11grabExtlib [ libXext libXfixes ]
406410 ++ optionals nonfreeLicensing [ faac fdk_aac openssl ]
407411 ++ optional ((isLinux || isFreeBSD) && libva != null) libva
408− ++ optionals isLinux [ alsaLib libraw1394 libv4l ];
412+ ++ optionals isLinux [ alsaLib libraw1394 libv4l ]
413+ ++ optionals stdenv.isDarwin [ Cocoa CoreServices ];
409414
410415 # Build qt-faststart executable
411416 buildPhase = optional qtFaststartProgram ''make tools/qt-faststart'';
pkgs/top-level/all-packages.nix+1−3
@@ -6256,18 +6256,16 @@ let
62566256 # The following need to be fixed on Darwin
62576257 frei0r = if stdenv.isDarwin then null else frei0r;
62586258 game-music-emu = if stdenv.isDarwin then null else game-music-emu;
6259− gsm = if stdenv.isDarwin then null else gsm;
62606259 libjack2 = if stdenv.isDarwin then null else libjack2;
62616260 libmodplug = if stdenv.isDarwin then null else libmodplug;
6262− libssh = if stdenv.isDarwin then null else libssh;
62636261 libvpx = if stdenv.isDarwin then null else libvpx;
62646262 openal = if stdenv.isDarwin then null else openal;
6265− openjpeg_1 = if stdenv.isDarwin then null else openjpeg_1;
62666263 libpulseaudio = if stdenv.isDarwin then null else libpulseaudio;
62676264 samba = if stdenv.isDarwin then null else samba;
62686265 vid-stab = if stdenv.isDarwin then null else vid-stab;
62696266 x265 = if stdenv.isDarwin then null else x265;
62706267 xavs = if stdenv.isDarwin then null else xavs;
6268+ inherit (darwin.apple_sdk.frameworks) Cocoa CoreServices;
62716269 };
62726270
62736271 ffmpegthumbnailer = callPackage ../development/libraries/ffmpegthumbnailer { };