gst-plugins-base: fix build on darwin
* remove alsaLib and cdparanoia from build inputs * add cairo to build inputs
This commit is contained in:
parent
a42133a102
commit
3e14bb6fdf
|
@ -1,7 +1,5 @@
|
||||||
{ fetchurl, stdenv, pkgconfig, python, gstreamer
|
{ fetchurl, stdenv, pkgconfig, python, gstreamer, xlibs, alsaLib, cdparanoia
|
||||||
, xlibs, alsaLib, cdparanoia, libogg
|
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo
|
||||||
, libtheora, libvorbis, freetype, pango
|
|
||||||
, liboil, glib
|
|
||||||
, # 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
|
||||||
|
@ -25,22 +23,25 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# TODO : v4l, libvisual
|
# TODO : v4l, libvisual
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig glib alsaLib ]
|
[ pkgconfig glib cairo ]
|
||||||
|
# can't build alsaLib on darwin
|
||||||
|
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib
|
||||||
++ stdenv.lib.optionals (!minimalDeps)
|
++ stdenv.lib.optionals (!minimalDeps)
|
||||||
[ xlibs.xlibs xlibs.libXv cdparanoia libogg libtheora libvorbis
|
[ xlibs.xlibs xlibs.libXv libogg libtheora libvorbis freetype pango
|
||||||
freetype pango liboil
|
liboil ]
|
||||||
];
|
# can't build cdparanoia on darwin
|
||||||
|
++ stdenv.lib.optional (!minimalDeps && !stdenv.isDarwin) cdparanoia;
|
||||||
|
|
||||||
propagatedBuildInputs = [ gstreamer ];
|
propagatedBuildInputs = [ gstreamer ];
|
||||||
|
|
||||||
postInstall = "rm -rf $out/share/gtk-doc";
|
postInstall = "rm -rf $out/share/gtk-doc";
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://gstreamer.freedesktop.org;
|
homepage = http://gstreamer.freedesktop.org;
|
||||||
|
|
||||||
description = "Base plug-ins for GStreamer";
|
description = "Base plug-ins for GStreamer";
|
||||||
|
license = licences.lgpl2Plus;
|
||||||
license = "LGPLv2+";
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue