X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=3bc8dff5ef457043bb462e7a5f63c72ce4ae2f05;hb=92dfe9454ef49363f49c19a7c7c4825c4a18771b;hp=d0cbf211e98d9c2142e4d6d9be606283515d6049;hpb=22745fd3831b94ace2ca80909fee6fae937a0d09;p=dcpomatic.git diff --git a/cscript b/cscript index d0cbf211e..3bc8dff5e 100644 --- a/cscript +++ b/cscript @@ -66,6 +66,18 @@ deb_depends['16.04'].extend(['libboost-filesystem1.58.0', 'libicu55', 'libnettle6']) +deb_depends['16.10'] = copy.deepcopy(deb_depends_base) +deb_depends['16.10'].extend(['libboost-filesystem1.61.0', + 'libboost-thread1.61.0', + 'libboost-regex1.61.0', + 'libmagick++-6.q16-5v5', + 'libxml++2.6-2v5', + 'libboost-date-time1.61.0', + 'libzip4', + 'libwxgtk3.0-0v5', + 'libicu57', + 'libnettle6']) + deb_depends['7'] = copy.deepcopy(deb_depends_base) deb_depends['7'].extend(['libboost-filesystem1.49.0', 'libboost-thread1.49.0', @@ -233,8 +245,8 @@ def dependencies(target): ffmpeg_options = {} return (('ffmpeg-cdist', '1d4a1a4', ffmpeg_options), - ('libdcp', '599af58'), - ('libsub', '067c21c')) + ('libdcp', 'v1.4.0'), + ('libsub', 'v1.2.0')) def configure_options(target): opt = '' @@ -251,6 +263,10 @@ def configure_options(target): elif target.version == '7': opt += ' --workaround-gssapi --static-xmlpp' + # Build Windows debug versions with static linking as I think gdb works better then + if target.debug and target.platform == 'windows': + opt += ' --static-dcpomatic' + return opt def build(target, options): @@ -296,7 +312,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 in ['15.04', '15.10', '16.04', '8']: + if target.version in ['15.04', '15.10', '16.04', '16.10', '8']: target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale') else: target.set('CDIST_LOCALE_PREFIX', '/usr/local/share/locale') @@ -360,7 +376,7 @@ def package(target, version): return package_rpm(target, cpu, version) elif target.platform == 'osx': target.command('bash platform/osx/make_dmg.sh %s' % target.directory) - return os.path.abspath(glob.glob('build/platform/osx/DCP-o-matic*.dmg')[0]) + return [os.path.abspath(x) for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg')] def make_pot(target): target.command('./waf pot')