about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStéphane Jourdois <sjourdois@gmail.com>2015-11-11 22:56:38 +0100
committerStéphane Jourdois <sjourdois@gmail.com>2015-11-11 23:00:11 +0100
commita2bf64a3810a2624c125b95153fea429f898cf4d (patch)
treee7da80c2e70bcdd351cff471181df05a8620d2f7
parentb096a863a906abd8db2ec0ba1ee390c9fbaee2f9 (diff)
downloadnixlib-a2bf64a3810a2624c125b95153fea429f898cf4d.tar
nixlib-a2bf64a3810a2624c125b95153fea429f898cf4d.tar.gz
nixlib-a2bf64a3810a2624c125b95153fea429f898cf4d.tar.bz2
nixlib-a2bf64a3810a2624c125b95153fea429f898cf4d.tar.lz
nixlib-a2bf64a3810a2624c125b95153fea429f898cf4d.tar.xz
nixlib-a2bf64a3810a2624c125b95153fea429f898cf4d.tar.zst
nixlib-a2bf64a3810a2624c125b95153fea429f898cf4d.zip
darwin: ffmpeg-full: add some missing darwin deps
-rw-r--r--pkgs/development/libraries/ffmpeg-full/default.nix7
-rw-r--r--pkgs/top-level/all-packages.nix4
2 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/libraries/ffmpeg-full/default.nix b/pkgs/development/libraries/ffmpeg-full/default.nix
index 654741283f95..a7d081c565dd 100644
--- a/pkgs/development/libraries/ffmpeg-full/default.nix
+++ b/pkgs/development/libraries/ffmpeg-full/default.nix
@@ -138,6 +138,10 @@
 , optimizationsDeveloper ? true
 , extraWarningsDeveloper ? false
 , strippingDeveloper ? false
+/*
+ *  Darwin frameworks
+ */
+, Cocoa, CoreServices
 }:
 
 /* Maintainer notes:
@@ -405,7 +409,8 @@ stdenv.mkDerivation rec {
     ++ optionals x11grabExtlib [ libXext libXfixes ]
     ++ optionals nonfreeLicensing [ faac fdk_aac openssl ]
     ++ optional ((isLinux || isFreeBSD) && libva != null) libva
-    ++ optionals isLinux [ alsaLib libraw1394 libv4l ];
+    ++ optionals isLinux [ alsaLib libraw1394 libv4l ]
+    ++ optionals stdenv.isDarwin [ Cocoa CoreServices ];
 
   # Build qt-faststart executable
   buildPhase = optional qtFaststartProgram ''make tools/qt-faststart'';
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 1545405af9f0..3005bca8844f 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6256,18 +6256,16 @@ let
     # The following need to be fixed on Darwin
     frei0r = if stdenv.isDarwin then null else frei0r;
     game-music-emu = if stdenv.isDarwin then null else game-music-emu;
-    gsm = if stdenv.isDarwin then null else gsm;
     libjack2 = if stdenv.isDarwin then null else libjack2;
     libmodplug = if stdenv.isDarwin then null else libmodplug;
-    libssh = if stdenv.isDarwin then null else libssh;
     libvpx = if stdenv.isDarwin then null else libvpx;
     openal = if stdenv.isDarwin then null else openal;
-    openjpeg_1 = if stdenv.isDarwin then null else openjpeg_1;
     libpulseaudio = if stdenv.isDarwin then null else libpulseaudio;
     samba = if stdenv.isDarwin then null else samba;
     vid-stab = if stdenv.isDarwin then null else vid-stab;
     x265 = if stdenv.isDarwin then null else x265;
     xavs = if stdenv.isDarwin then null else xavs;
+    inherit (darwin.apple_sdk.frameworks) Cocoa CoreServices;
   };
 
   ffmpegthumbnailer = callPackage ../development/libraries/ffmpegthumbnailer { };