gst-plugins-ugly 1.x: fix Darwin build

This commit is contained in:
Spencer Whitt 2015-04-08 21:55:19 -04:00
parent 0115d512fe
commit a936dd0011

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, python
, gst-plugins-base, orc
, a52dec, libcdio, libdvdread
, lame, libmad, libmpeg2, x264
, lame, libmad, libmpeg2, x264, libintlOrEmpty
}:
stdenv.mkDerivation rec {
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
like. The code might be widely known to present patent problems.
'';
license = licenses.lgpl2Plus;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ iyzsong ];
};
@ -32,5 +32,7 @@ stdenv.mkDerivation rec {
gst-plugins-base orc
a52dec libcdio libdvdread
lame libmad libmpeg2 x264
];
] ++ libintlOrEmpty;
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
}