gst_plugins_good: fix minimalDeps build
This commit is contained in:
parent
1d08316220
commit
c9bcec2e88
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, pkgconfig, gst_plugins_base, aalib, cairo
|
||||
{ fetchurl, stdenv, lib, pkgconfig, gst_plugins_base, aalib, cairo
|
||||
, flac, libjpeg, zlib, speex, libpng, libdv, libcaca, libvpx
|
||||
, libiec61883, libavc1394, taglib, libpulseaudio, gdk_pixbuf, orc
|
||||
, glib, gstreamer, bzip2, libsoup, libshout, ncurses, libintlOrEmpty
|
||||
@ -20,13 +20,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./v4l.patch ./linux-headers-3.9.patch ];
|
||||
|
||||
configureFlags = "--enable-experimental --disable-oss";
|
||||
configureFlags = [ "--enable-experimental" "--disable-oss" ];
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig glib gstreamer gst_plugins_base ]
|
||||
++ stdenv.lib.optional stdenv.isLinux [ libpulseaudio ]
|
||||
++ lib.optional stdenv.isLinux [ libpulseaudio ]
|
||||
++ libintlOrEmpty
|
||||
++ stdenv.lib.optionals (!minimalDeps)
|
||||
++ lib.optionals (!minimalDeps)
|
||||
[ aalib libcaca cairo libdv flac libjpeg libpng speex
|
||||
taglib bzip2 libvpx gdk_pixbuf orc libsoup libshout ];
|
||||
|
||||
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
postInstall = lib.optionalString (!minimalDeps) ''
|
||||
substituteInPlace $out/lib/gstreamer-0.10/libgstaasink.la \
|
||||
--replace "${ncurses.dev}/lib" "${ncurses.out}/lib"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user