X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=571e3895c374b22f3ea1a7945978eb8e8927fa62;hb=d71b3fffa09263a2116b3f91981c1999b4ae873c;hp=cdf060210da049f7d5371cae9ee6af8ab4999f6b;hpb=0cc6788f4a66b3b70d8791950fabc1ab8dab8361;p=dcpomatic.git diff --git a/cscript b/cscript index cdf060210..571e3895c 100644 --- a/cscript +++ b/cscript @@ -1,3 +1,4 @@ +# -*- mode: python -*- # # Copyright (C) 2012-2015 Carl Hetherington # @@ -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']: + 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 @@ -206,8 +224,8 @@ def make_spec(filename, version, target): def dependencies(target): return (('ffmpeg-cdist', '0492ad2'), - ('libdcp', 'b386248'), - ('libsub', 'f66b11f')) + ('libdcp', 'v1.1.0'), + ('libsub', 'a002558')) def configure_options(target): opt = '' @@ -264,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') @@ -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) )