Fix parsing of SSA colour tags which have their leading zeros omitted.
[libsub.git] / cscript
diff --git a/cscript b/cscript
index 64eb4e962d0d96f19432e470b3f44fd7c5636e36..c4205e84443b85f3e03aa8ac80e3ee81dba0a1b8 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,5 +1,5 @@
 #
-#    Copyright (C) 2012-2020 Carl Hetherington <cth@carlh.net>
+#    Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
 #
 #    This file is part of libsub.
 #
@@ -22,9 +22,7 @@ import os
 option_defaults = { 'force-cpp11': False }
 
 def dependencies(target, options):
-    libdcp =  ('libdcp', 'd39880e')
-    libcxml = ('libcxml', 'c336f86')
-    return (('asdcplib', 'carl'), libcxml, libdcp)
+    return (('asdcplib', 'a276ed1c5a43a92dd2b9ca93072ce8d024329e82'), ('libdcp', 'v1.8.24'))
 
 def build(target, options):
     cmd = './waf configure --prefix=%s' % target.directory
@@ -35,7 +33,7 @@ def build(target, options):
     if target.debug:
         cmd += ' --enable-debug'
     if target.platform == 'windows':
-        cmd += ' --target-windows --disable-tests'
+        cmd += f' --target-windows-{target.bits} --disable-tests'
 
     target.command(cmd)
     target.command('./waf build install')