Add dependencies() and build() to script.
authorCarl Hetherington <cth@carlh.net>
Wed, 17 Apr 2013 10:08:17 +0000 (11:08 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 17 Apr 2013 10:08:17 +0000 (11:08 +0100)
cscript

diff --git a/cscript b/cscript
index 2e09d2bcda7b77cdc75fd67e15ad9fe74fcd72d4..f2b898d52045286c5b1b3679a62046e51148d6d2 100644 (file)
--- a/cscript
+++ b/cscript
@@ -47,3 +47,13 @@ def make_manual():
     os.chdir('doc/manual')
     command('make')
     return [os.path.abspath('pdf'), os.path.abspath('html')]
+
+def dependencies():
+    return (('libdcp', 'v0.43',
+            ('ffmpeg', '8d0757e1079f588ed69f629e2d1a4d5f232dc298')
+            ('openjpeg', ''))
+
+def build(prefix):
+    depends('libdcp', 'v0.43')
+    depends('ffmpeg', '
+    depends('openjpeg')