mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
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 {
|
||||
name = "gstreamer-0.10.36";
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ perl bison flex pkgconfig ];
|
||||
propagatedBuildInputs = [ glib libxml2 ];
|
||||
propagatedBuildInputs = [ glib libxml2 ] ++ libintlOrEmpty;
|
||||
|
||||
patchPhase = ''
|
||||
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
|
||||
]
|
||||
++ 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 ]
|
||||
++ optionals (buildWebkit || buildMultimedia) [ gstreamer gst_plugins_base ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user