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:
Ludovic Courtès 2012-06-11 09:31:43 +00:00
parent cc54e3e695
commit 22da1866a7

View File

@ -79,8 +79,12 @@ stdenv.mkDerivation rec {
propagatedBuildInputs =
[ libXrender libXrandr libXinerama libXcursor libXext libXfixes
libXv libXi libSM mesa
] ++ (stdenv.lib.optional (buildWebkit || buildMultimedia) alsaLib)
libXv libXi libSM
]
++ (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 ]
++ (stdenv.lib.optionals (buildWebkit || buildMultimedia)
[ gstreamer gst_plugins_base ]);