all-packages.nix: use mesaPlatforms list to determine whether wxGTX should be built with OpenGL support or not

svn path=/nixpkgs/trunk/; revision=33070
This commit is contained in:
Peter Simons 2012-03-14 17:45:13 +00:00
parent f59e3b6bfb
commit 45e9207c4c

View file

@ -4795,19 +4795,21 @@ let
inherit (gtkLibs) gtk;
inherit (gst_all) gstreamer gstPluginsBase;
inherit (gnome) GConf;
withMesa = stdenv.isLinux;
withMesa = lib.elem system lib.platforms.mesaPlatforms;
};
wxGTK290 = callPackage ../development/libraries/wxGTK-2.9/2.9.0.nix {
inherit (gtkLibs) gtk;
inherit (gst_all) gstreamer gstPluginsBase;
inherit (gnome) GConf;
withMesa = lib.elem system lib.platforms.mesaPlatforms;
};
wxGTK291 = callPackage ../development/libraries/wxGTK-2.9/2.9.1.nix {
inherit (gtkLibs) gtk;
inherit (gst_all) gstreamer gstPluginsBase;
inherit (gnome) GConf;
withMesa = lib.elem system lib.platforms.mesaPlatforms;
};
wtk = callPackage ../development/libraries/wtk { };