gst_plugins_base: add darwin frameworks
This commit is contained in:
parent
581a5aec88
commit
cb061ef4f2
@ -1,6 +1,7 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, python, gstreamer, xorg, alsaLib, cdparanoia
|
{ fetchurl, stdenv, pkgconfig, python, gstreamer, xorg, alsaLib, cdparanoia
|
||||||
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo, orc
|
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo, orc
|
||||||
, libintlOrEmpty
|
, libintlOrEmpty
|
||||||
|
, ApplicationServices
|
||||||
, # Whether to build no plugins that have external dependencies
|
, # Whether to build no plugins that have external dependencies
|
||||||
# (except the ALSA plugin).
|
# (except the ALSA plugin).
|
||||||
minimalDeps ? false
|
minimalDeps ? false
|
||||||
@ -36,7 +37,8 @@ stdenv.mkDerivation rec {
|
|||||||
liboil ]
|
liboil ]
|
||||||
# can't build cdparanoia on darwin
|
# can't build cdparanoia on darwin
|
||||||
++ stdenv.lib.optional (!minimalDeps && !stdenv.isDarwin) cdparanoia
|
++ stdenv.lib.optional (!minimalDeps && !stdenv.isDarwin) cdparanoia
|
||||||
++ libintlOrEmpty;
|
++ libintlOrEmpty
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||||
|
|
||||||
|
@ -7386,7 +7386,9 @@ in
|
|||||||
bison = bison2;
|
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 {};
|
gst_plugins_good = callPackage ../development/libraries/gstreamer/legacy/gst-plugins-good {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user