X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=ae748ac07df3cb8ee220d6d59e2aabbf474ce862;hb=5e2596f26da5ab13f2386de1c0a3f67cd2f24776;hp=ce775aabc90947f6539891ed9ae846e2c0840af7;hpb=a87adce1d0f9528c981572260bb71772f908e840;p=dcpomatic.git diff --git a/cscript b/cscript index ce775aabc..ae748ac07 100644 --- a/cscript +++ b/cscript @@ -93,7 +93,6 @@ deb_depends['20.04'].extend(['libboost-filesystem1.71.0', 'libpangomm-1.4-1v5', 'libxml++2.6-2v5', 'libzip5', - 'libwxgtk3.0-gtk3-0v5', 'libicu66', 'libnettle7', 'libssh-4', @@ -112,11 +111,10 @@ deb_depends['20.10'].extend(['libboost-filesystem1.71.0', 'libpangomm-1.4-1v5', 'libxml++2.6-2v5', 'libzip5', - 'libwxgtk3.0-gtk3-0v5', - 'libicu66', - 'libnettle7', + 'libicu67', + 'libnettle8', 'libssh-4', - 'libx264-155', + 'libx264-160', 'libcurl4', 'libpulse0', 'libxerces-c3.2', @@ -375,8 +373,8 @@ def dependencies(target, options): (target.platform == 'osx' and target.bits == 64) or (target.platform == 'windows')) else {} - deps.append(('libdcp', 'b4e1d9f', cpp_lib_options)) - deps.append(('libsub', 'b6377ae', cpp_lib_options)) + deps.append(('libdcp', 'c81a5f9', cpp_lib_options)) + deps.append(('libsub', 'ca2b17d', cpp_lib_options)) deps.append(('leqm-nrt', 'carl')) deps.append(('rtaudio', 'carl')) # We get our OpenSSL libraries from the environment, but we @@ -386,6 +384,7 @@ def dependencies(target, options): deps.append(('openssl', 'carl')) if can_build_disk(target): deps.append(('lwext4', '370b3de6')) + deps.append(('ffcmp', None)) return deps @@ -738,12 +737,14 @@ def make_manual(target): target.command('pdflatex colour.tex') return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')] -def test(target, test): - if target.platform != 'windows': - target.set('LC_ALL', 'C') +def test(target, options, test): + target.set('LC_ALL', 'C') + if target.platform == 'windows': + cmd = 'run\\tests' + else: cmd = 'run/tests ' - if target.debug: - cmd += '--backtrace ' - if test is not None: - cmd += '--run_test=%s' % test - target.command(cmd) + if target.debug: + cmd += '--backtrace ' + if test is not None: + cmd += '--run_test=%s' % test + target.command(cmd)