Disable colour conversion choice in the appropriate circumstances.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 186ed215f0918011ad49ed2d1b87ef7b2a891df4..94ddd08f13bd95a92083f6eea659072d99520e75 100644 (file)
--- a/cscript
+++ b/cscript
@@ -193,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']:
+    for l in ['de_DE', 'es_ES', 'fr_FR', 'it_IT', 'sv_SE', 'nl_NL', 'ru_RU']:
         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
@@ -224,8 +224,8 @@ def make_spec(filename, version, target):
 
 def dependencies(target):
     return (('ffmpeg-cdist', '0492ad2'),
-            ('libdcp', 'e4b8bed'),
-            ('libsub', 'f66b11f'))
+            ('libdcp', '1.0'),
+            ('libsub', '1.0'))
 
 def configure_options(target):
     opt = ''
@@ -282,7 +282,7 @@ def package_debian(target, cpu, version):
     target.set('CDIST_CONFIGURE', '"' + configure_options(target) + '"')
     if target.debug:
         target.set('CDIST_DEBUG_PACKAGE', '--dbg-package=dcpomatic-dbg')
-    if target.version == '15.04':
+    if target.version == '15.04' or target.version == '8':
         target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
     else:
         target.set('CDIST_LOCALE_PREFIX', '/usr/local/share/locale')