gst-plugins-base: enable orc support

This commit is contained in:
Mathijs Kwik 2013-12-14 09:15:15 +01:00
parent f1be397249
commit eb51293c30

View File

@ -1,5 +1,5 @@
{ fetchurl, stdenv, pkgconfig, python, gstreamer, xlibs, alsaLib, cdparanoia { fetchurl, stdenv, pkgconfig, python, gstreamer, xlibs, alsaLib, cdparanoia
, libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo , libogg, libtheora, libvorbis, freetype, pango, liboil, glib, cairo, orc
, libintlOrEmpty , libintlOrEmpty
, # 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).
@ -18,13 +18,14 @@ stdenv.mkDerivation rec {
}; };
patchPhase = '' patchPhase = ''
sed -i 's@/bin/echo@echo@g' configure sed -i 's@/bin/echo@echo@g' configure
sed -i -e 's/^ /\t/' docs/{libs,plugins}/Makefile.in sed -i -e 's/^ /\t/' docs/{libs,plugins}/Makefile.in
''; '';
# TODO : v4l, libvisual # TODO : v4l, libvisual
buildInputs = buildInputs =
[ pkgconfig glib cairo ] [ pkgconfig glib cairo orc ]
# can't build alsaLib on darwin # can't build alsaLib on darwin
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib
++ stdenv.lib.optionals (!minimalDeps) ++ stdenv.lib.optionals (!minimalDeps)
@ -48,4 +49,3 @@ stdenv.mkDerivation rec {
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }