Qt 4.8: Disable dependency on MESA when the platform doesn't support it.
svn path=/nixpkgs/trunk/; revision=34450
This commit is contained in:
parent
cc54e3e695
commit
22da1866a7
@ -79,8 +79,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ libXrender libXrandr libXinerama libXcursor libXext libXfixes
|
[ libXrender libXrandr libXinerama libXcursor libXext libXfixes
|
||||||
libXv libXi libSM mesa
|
libXv libXi libSM
|
||||||
] ++ (stdenv.lib.optional (buildWebkit || buildMultimedia) alsaLib)
|
]
|
||||||
|
++ (stdenv.lib.optional (stdenv.lib.lists.elem stdenv.system
|
||||||
|
stdenv.lib.platforms.mesaPlatforms)
|
||||||
|
mesa)
|
||||||
|
++ (stdenv.lib.optional (buildWebkit || buildMultimedia) alsaLib)
|
||||||
++ [ zlib libpng openssl dbus.libs freetype fontconfig glib ]
|
++ [ zlib libpng openssl dbus.libs freetype fontconfig glib ]
|
||||||
++ (stdenv.lib.optionals (buildWebkit || buildMultimedia)
|
++ (stdenv.lib.optionals (buildWebkit || buildMultimedia)
|
||||||
[ gstreamer gst_plugins_base ]);
|
[ gstreamer gst_plugins_base ]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user