Merge pull request #10977 from sjourdois/ffmpeg
darwin: ffmpeg-full and deps: darwin fixes
This commit is contained in:
@@ -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'';
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl, libraw1394, libusb1 }:
|
||||
{ stdenv, fetchurl, libraw1394, libusb1
|
||||
, CoreServices
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libdc1394-2.2.3";
|
||||
@@ -9,7 +11,8 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ libusb1 ]
|
||||
++ stdenv.lib.optional stdenv.isLinux [ libraw1394 ];
|
||||
++ stdenv.lib.optional stdenv.isLinux libraw1394
|
||||
++ stdenv.lib.optional stdenv.isDarwin CoreServices;
|
||||
|
||||
meta = {
|
||||
homepage = http://sourceforge.net/projects/libdc1394/;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig }:
|
||||
{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig
|
||||
, Carbon
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libsndfile-1.0.25";
|
||||
@@ -8,7 +10,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "10j8mbb65xkyl0kfy0hpzpmrp0jkr12c7mfycqipxgka6ayns0ar";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig flac libogg libvorbis ];
|
||||
buildInputs = [ pkgconfig flac libogg libvorbis ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Carbon;
|
||||
|
||||
# need headers from the Carbon.framework in /System/Library/Frameworks to
|
||||
# compile this on darwin -- not sure how to handle
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wavpack-${version}";
|
||||
@@ -6,6 +6,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
patches = [
|
||||
# backported from
|
||||
# https://github.com/dbry/WavPack/commit/12867b33e2de3e95b88d7cb6f449ce0c5c87cdd5
|
||||
|
||||
Reference in New Issue
Block a user