gst_plugins_base: add darwin frameworks

This commit is contained in:
Daiderd Jordan
2017-01-10 23:15:05 +01:00
parent 581a5aec88
commit cb061ef4f2
2 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
{ fetchurl, stdenv, pkgconfig, python, gstreamer, xorg, alsaLib, cdparanoia
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo, orc
, libintlOrEmpty
, ApplicationServices
, # Whether to build no plugins that have external dependencies
# (except the ALSA plugin).
minimalDeps ? false
@@ -36,7 +37,8 @@ stdenv.mkDerivation rec {
liboil ]
# can't build cdparanoia on darwin
++ stdenv.lib.optional (!minimalDeps && !stdenv.isDarwin) cdparanoia
++ libintlOrEmpty;
++ libintlOrEmpty
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";