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 changed files with 14 additions and 13 deletions
|
@ -1,7 +1,5 @@
|
|||
{ fetchurl, stdenv, pkgconfig, python, gstreamer
|
||||
, xlibs, alsaLib, cdparanoia, libogg
|
||||
, libtheora, libvorbis, freetype, pango
|
||||
, liboil, glib
|
||||
{ fetchurl, stdenv, pkgconfig, python, gstreamer, xlibs, alsaLib, cdparanoia
|
||||
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo
|
||||
, # Whether to build no plugins that have external dependencies
|
||||
# (except the ALSA plugin).
|
||||
minimalDeps ? false
|
||||
|
@ -25,22 +23,25 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# TODO : v4l, libvisual
|
||||
buildInputs =
|
||||
[ pkgconfig glib alsaLib ]
|
||||
[ pkgconfig glib cairo ]
|
||||
# can't build alsaLib on darwin
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib
|
||||
++ stdenv.lib.optionals (!minimalDeps)
|
||||
[ xlibs.xlibs xlibs.libXv cdparanoia libogg libtheora libvorbis
|
||||
freetype pango liboil
|
||||
];
|
||||
[ xlibs.xlibs xlibs.libXv libogg libtheora libvorbis freetype pango
|
||||
liboil ]
|
||||
# can't build cdparanoia on darwin
|
||||
++ stdenv.lib.optional (!minimalDeps && !stdenv.isDarwin) cdparanoia;
|
||||
|
||||
propagatedBuildInputs = [ gstreamer ];
|
||||
|
||||
postInstall = "rm -rf $out/share/gtk-doc";
|
||||
|
||||
meta = {
|
||||
homepage = http://gstreamer.freedesktop.org;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://gstreamer.freedesktop.org;
|
||||
description = "Base plug-ins for GStreamer";
|
||||
|
||||
license = "LGPLv2+";
|
||||
license = licences.lgpl2Plus;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue