qt48, gstreamer: attempt to fix on non-Linux
This commit is contained in:
parent
3adf8e6429
commit
92ecf99373
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, perl, bison, flex, pkgconfig, glib, libxml2 }:
|
{ fetchurl, stdenv, perl, bison, flex, pkgconfig, glib, libxml2, libintlOrEmpty }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gstreamer-0.10.36";
|
name = "gstreamer-0.10.36";
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl bison flex pkgconfig ];
|
buildInputs = [ perl bison flex pkgconfig ];
|
||||||
propagatedBuildInputs = [ glib libxml2 ];
|
propagatedBuildInputs = [ glib libxml2 ] ++ libintlOrEmpty;
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e 's/^ /\t/' docs/gst/Makefile.in docs/libs/Makefile.in docs/plugins/Makefile.in
|
sed -i -e 's/^ /\t/' docs/gst/Makefile.in docs/libs/Makefile.in docs/plugins/Makefile.in
|
||||||
|
@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
|
|||||||
libXv libXi libSM
|
libXv libXi libSM
|
||||||
]
|
]
|
||||||
++ optional (stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms) mesa
|
++ optional (stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms) mesa
|
||||||
++ optional (buildWebkit || buildMultimedia) alsaLib
|
++ optional ((buildWebkit || buildMultimedia) && stdenv.isLinux ) alsaLib
|
||||||
++ [ zlib libpng openssl dbus.libs freetype fontconfig glib ]
|
++ [ zlib libpng openssl dbus.libs freetype fontconfig glib ]
|
||||||
++ optionals (buildWebkit || buildMultimedia) [ gstreamer gst_plugins_base ];
|
++ optionals (buildWebkit || buildMultimedia) [ gstreamer gst_plugins_base ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user