gst-plugins-good: fix build on darwin

This commit is contained in:
Vincent Laporte 2017-07-13 17:40:21 +00:00
parent 247e772f35
commit 68ee2c6c30

View File

@ -4,6 +4,7 @@
, libvpx, speex, flac, taglib, libshout
, cairo, gdk_pixbuf, aalib, libcaca
, libsoup, libpulseaudio, libintlOrEmpty
, darwin
}:
let
@ -40,6 +41,7 @@ stdenv.mkDerivation rec {
libsoup libshout
]
++ libintlOrEmpty
++ optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ]
++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 ];
preFixup = ''