Scale subtitle times with frame rate change if they are part of a piece of video...
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index b7f2d191be9ad00098181504b9b519117684c4d9..5f36d9622e454c77615c11ff3ba98788de41625c 100644 (file)
--- a/cscript
+++ b/cscript
@@ -114,10 +114,10 @@ def make_control(version, bits, filename):
     print >>f,'  digital projectors.'
 
 def dependencies(target):
-    return (('ffmpeg-cdist', '0b7ef017aca8b572914518c759db1e234d8fc505'),
-            ('libdcp', 'v0.85'))
+    return (('ffmpeg-cdist', '5ac3a6af077c10f07c31954c372a8f29e4e18e2a'),
+            ('libdcp', '8803a19c6901ab3c3ff85c964343f08458e0824e'))
 
-def build(target):
+def build(target, options):
     cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
     if target.platform == 'windows':
         cmd += ' --target-windows'
@@ -183,3 +183,8 @@ def make_manual(target):
     target.command('make')
     target.command('pdflatex colour.tex')
     return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
+
+def test(target):
+    if target.platform != 'windows':
+        target.set('LC_ALL', 'C')
+        target.command('run/tests')