Revision: 46021
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46021
Author:   jesterking
Date:     2012-04-28 08:45:55 +0000 (Sat, 28 Apr 2012)
Log Message:
-----------
Add MingW as "platform"

Modified Paths:
--------------
    trunk/blender/build_files/buildbot/master_unpack.py
    trunk/blender/build_files/scons/tools/btools.py

Modified: trunk/blender/build_files/buildbot/master_unpack.py
===================================================================
--- trunk/blender/build_files/buildbot/master_unpack.py 2012-04-28 08:43:24 UTC 
(rev 46020)
+++ trunk/blender/build_files/buildbot/master_unpack.py 2012-04-28 08:45:55 UTC 
(rev 46021)
@@ -48,7 +48,8 @@
     tokens = filename.split("-")
     platforms = ('osx', 'mac', 'bsd',
                  'win', 'linux', 'source',
-                 'solaris')
+                 'solaris',
+                 'mingw')
     platform_tokens = []
     found = False
 

Modified: trunk/blender/build_files/scons/tools/btools.py
===================================================================
--- trunk/blender/build_files/scons/tools/btools.py     2012-04-28 08:43:24 UTC 
(rev 46020)
+++ trunk/blender/build_files/scons/tools/btools.py     2012-04-28 08:45:55 UTC 
(rev 46021)
@@ -622,7 +622,13 @@
     else:
         extension = '.tar.bz2'
 
-    platform = env['OURPLATFORM'].split('-')[0]
+    if env['OURPLATFORM'] == 'win32-mingw':
+        platform = 'mingw32'
+    elif env['OURPLATFORM'] == 'win32-mingw':
+        platform = 'mingw64'
+    else:
+        platform = env['OURPLATFORM'].split('-')[0]
+
     if platform == 'linux':
         import platform
 

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to