gst-plugins-ugly 1.x: fix Darwin build
This commit is contained in:
parent
0115d512fe
commit
a936dd0011
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, python
|
{ stdenv, fetchurl, pkgconfig, python
|
||||||
, gst-plugins-base, orc
|
, gst-plugins-base, orc
|
||||||
, a52dec, libcdio, libdvdread
|
, a52dec, libcdio, libdvdread
|
||||||
, lame, libmad, libmpeg2, x264
|
, lame, libmad, libmpeg2, x264, libintlOrEmpty
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
like. The code might be widely known to present patent problems.
|
like. The code might be widely known to present patent problems.
|
||||||
'';
|
'';
|
||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ iyzsong ];
|
maintainers = with maintainers; [ iyzsong ];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -32,5 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
gst-plugins-base orc
|
gst-plugins-base orc
|
||||||
a52dec libcdio libdvdread
|
a52dec libcdio libdvdread
|
||||||
lame libmad libmpeg2 x264
|
lame libmad libmpeg2 x264
|
||||||
];
|
] ++ libintlOrEmpty;
|
||||||
|
|
||||||
|
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user