Copy debian-8 dependencies from master cscript.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 7c297d19dcfbf22796b6f51ba90d9990b954e4bb..186ed215f0918011ad49ed2d1b87ef7b2a891df4 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,3 +1,4 @@
+# -*- mode: python -*-
 #
 #    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
 #
@@ -86,6 +87,23 @@ deb_depends['7'] = {'libc6': '2.13',
                     'libcurl3': '7.26.0',
                     'libzip2': '0.10.1'}
 
+deb_depends['8'] = {'libc6': '2.19-18',
+                    'libssh-4': '0.6.3-4',
+                    'libboost-filesystem1.55.0': '1.55.0',
+                    'libboost-thread1.55.0': '1.55.0',
+                    'libboost-date-time1.55.0': '1.55.0',
+                    'libsndfile1': '1.0.25-9.1',
+                    'libmagick++-6.q16-5': '8:6.8.9.9-5',
+                    'libxml++2.6-2': '2.36.0',
+                    'libgtk2.0-0': '2.24.25',
+                    'libxmlsec1': '1.2.20',
+                    'libxmlsec1-openssl': '1.2.20',
+                    'libcurl3': '7.38.0',
+                    'libzip2': '0.11.2',
+                    'libwxgtk3.0-0': '3.0.2',
+                    'libxcb-xfixes0': '1.10',
+                    'libxcb-shape0': '1.10'}
+
 deb_depends['unstable'] = {'libc6': '2.13',
                     'libssh-4': '0.5.4',
                     'libboost-filesystem1.55.0': '1.55.0',
@@ -175,7 +193,7 @@ def make_spec(filename, version, target):
     print >>f,'%{_datadir}/dcpomatic/taskbar_icon.png'
     for r in ['128x128', '22x22', '32x32', '48x48', '64x64']:
         print >>f,'%%{_datadir}/icons/hicolor/%s/apps/dcpomatic2.png' % r
-    for l in ['de_DE', 'es_ES', 'fr_FR', 'it_IT', 'sv_SE', 'nl_NL', 'ru_RU']:
+    for l in ['de_DE', 'es_ES', 'fr_FR', 'it_IT', 'sv_SE', 'nl_NL']:
         print >>f,'%%{_datadir}/locale/%s/LC_MESSAGES/dcpomatic2.mo' % l
         print >>f,'%%{_datadir}/locale/%s/LC_MESSAGES/libdcpomatic2-wx.mo' % l
         print >>f,'%%{_datadir}/locale/%s/LC_MESSAGES/libdcpomatic2.mo' % l
@@ -205,8 +223,8 @@ def make_spec(filename, version, target):
     print >>f,'/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :'
 
 def dependencies(target):
-    return (('ffmpeg-cdist', 'f69bb08'),
-            ('libdcp', '8e7f9e4'),
+    return (('ffmpeg-cdist', '0492ad2'),
+            ('libdcp', 'e4b8bed'),
             ('libsub', 'f66b11f'))
 
 def configure_options(target):
@@ -287,7 +305,7 @@ def package_centos(target, cpu, version):
 
     target.command('./waf dist')
     shutil.copyfile(
-        "%s/src/dcpomatic/dcpomatic-%s.tar.bz2" % (target.directory, version),
+        "%s/src/dcpomatic2/dcpomatic-%s.tar.bz2" % (target.directory, version),
         "%s/SOURCES/dcpomatic-%s.tar.bz2" % (topdir, version)
         )