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
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
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";

View File

@ -7386,7 +7386,9 @@ in
bison = bison2;
};
gst_plugins_base = callPackage ../development/libraries/gstreamer/legacy/gst-plugins-base {};
gst_plugins_base = callPackage ../development/libraries/gstreamer/legacy/gst-plugins-base {
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
};
gst_plugins_good = callPackage ../development/libraries/gstreamer/legacy/gst-plugins-good {};