[tools] testbot/build: Add support for Wine Mono 5.0.0.

Francois Gouget fgouget at codeweavers.com
Tue Apr 21 12:09:43 CDT 2020


The MSI filename now contains an architecture suffix and the checksum is
per-architecture (so support for other architectures like arm64 can be
added one day).

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/lib/Build/Utils.pm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testbot/lib/Build/Utils.pm b/testbot/lib/Build/Utils.pm
index df236faf19..8c263275e5 100644
--- a/testbot/lib/Build/Utils.pm
+++ b/testbot/lib/Build/Utils.pm
@@ -425,6 +425,10 @@ sub UpdateAddOns()
       {
         $Arch = $1;
       }
+      elsif ($Line =~ /^\s*#\s*define\s+(?:GECKO|MONO)_ARCH\s+"([^"]+)"/)
+      {
+        $Arch = $1;
+      }
       elsif ($Line =~ /^\s*#\s*define\s*(GECKO|MONO)_VERSION\s*"([^"]+)"/)
       {
         my ($AddOn, $Version) = ($1, $2);
@@ -450,7 +454,7 @@ sub UpdateAddOns()
 
   return _UpdateAddOn($AddOns{gecko}, "gecko", "x86") &&
          _UpdateAddOn($AddOns{gecko}, "gecko", "x86_64") &&
-         _UpdateAddOn($AddOns{mono},  "mono",  "");
+         _UpdateAddOn($AddOns{mono},  "mono",  "x86");
 }
 
 
-- 
2.20.1



More information about the wine-devel mailing list