gst-plugins-good 1.x: fix Darwin build
This commit is contained in:
parent
a9644c2ddd
commit
f4873eff16
@ -3,9 +3,12 @@
|
|||||||
, libv4l, libdv, libavc1394, libiec61883
|
, libv4l, libdv, libavc1394, libiec61883
|
||||||
, libvpx, speex, flac, taglib
|
, libvpx, speex, flac, taglib
|
||||||
, cairo, gdk_pixbuf, aalib, libcaca
|
, cairo, gdk_pixbuf, aalib, libcaca
|
||||||
, libsoup, pulseaudio
|
, libsoup, pulseaudio, libintlOrEmpty
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (stdenv.lib) optionals optionalString;
|
||||||
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gst-plugins-good-1.4.5";
|
name = "gst-plugins-good-1.4.5";
|
||||||
|
|
||||||
@ -18,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
code, LGPL or LGPL-compatible for the supporting library).
|
code, LGPL or LGPL-compatible for the supporting library).
|
||||||
'';
|
'';
|
||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ iyzsong ];
|
maintainers = with maintainers; [ iyzsong ];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -31,9 +34,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gst-plugins-base orc bzip2
|
gst-plugins-base orc bzip2
|
||||||
libv4l libdv libavc1394 libiec61883
|
libdv libvpx speex flac taglib
|
||||||
libvpx speex flac taglib
|
|
||||||
cairo gdk_pixbuf aalib libcaca
|
cairo gdk_pixbuf aalib libcaca
|
||||||
libsoup pulseaudio
|
libsoup
|
||||||
];
|
]
|
||||||
|
++ libintlOrEmpty
|
||||||
|
++ optionals stdenv.isLinux [ libv4l pulseaudio libavc1394 libiec61883 ];
|
||||||
|
|
||||||
|
LDFLAGS = optionalString stdenv.isDarwin "-lintl";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user