3
0
Fork 0
forked from mirrors/nixpkgs

gst-plugins-base: fix build on darwin

* add libintl
This commit is contained in:
Jason "Don" O'Conal 2013-07-14 08:06:01 +10:00
parent e193a4f898
commit 291e0a111a

View file

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