Default to reel number 1 in SubtitleContent.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index beb3168605eee993f992a6a90f01c0d4e1910a82..6242957ac8d5a853464636c533da80c60116a48b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,16 +1,18 @@
 import os
 
 def dependencies(target):
-    return (('libcxml', '27780878701f85ad597addacd541f2e897719978'), ('openjpeg-cdist', '56dd236'))
+    return (('libcxml', None), ('openjpeg-cdist', '5d8bffd'))
 
 def build(target, options):
-    cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
+    cmd = './waf configure --disable-examples --prefix=%s' % target.directory
     if target.platform == 'linux':
         cmd += ' --static'
+        if target.distro == 'centos':
+            cmd += ' --disable-tests'
     elif target.platform == 'windows':
         cmd += ' --target-windows'
     elif target.platform == 'osx':
-        cmd += ' --osx'
+        cmd += ' --target-osx'
 
     if target.debug:
         cmd += ' --enable-debug'