Improve approximate time reporting a bit (#383).
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index f699e8089bd4ad04c9ace41c03be5b3b146f6756..5ea5a4cfd22e6cccccedb6ef923d7841d6754473 100644 (file)
--- a/cscript
+++ b/cscript
@@ -157,7 +157,7 @@ def make_control(debian_version, bits, filename, debug):
 
 def dependencies(target):
     return (('ffmpeg-cdist', '67dc770'),
-            ('libdcp', 'v0.95.0'))
+            ('libdcp', '009e07f'))
 
 def build(target, options):
     cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
@@ -166,11 +166,13 @@ def build(target, options):
     elif target.platform == 'linux':
         if target.distro == 'debian' or target.distro == 'ubuntu':
             cmd += ' --target-debian'
+            if target.version == 'unstable':
+                cmd += ' --debian-unstable'
         elif target.distro == 'centos':
-            cmd += ' --target-centos'
-
-    if target.distro == 'debian' and target.version == 'unstable':
-        cmd += ' --debian-unstable'
+            if target.version == '6.5':
+                cmd += ' --target-centos-6 --disable-tests'
+            elif target.version == '7':
+                cmd += ' --target-centos-7'
 
     target.command(cmd)
     target.command('./waf')