X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=41f98b135226a74ec90b5486656c17832c915cd5;hb=f09a7994fb374d4a6dde0224eb1dfb5cbb83bc0b;hp=854c75287fc803e93d57ef30b97320bcd95e1806;hpb=1776f46fd988b4a61ed9dfa64e5b4dd2196cdd66;p=dcpomatic.git diff --git a/cscript b/cscript index 854c75287..41f98b135 100644 --- a/cscript +++ b/cscript @@ -370,8 +370,8 @@ def dependencies(target, options): # Use distro-provided FFmpeg on Arch deps = [] - deps.append(('libdcp', 'b221efe')) - deps.append(('libsub', '4cd1518')) + deps.append(('libdcp', 'bed820d')) + deps.append(('libsub', '2ac27e6')) deps.append(('leqm-nrt', '131f971')) deps.append(('rtaudio', 'f619b76')) # We get our OpenSSL libraries from the environment, but we @@ -390,10 +390,10 @@ option_defaults = { "gui": True, "variant": None } def configure_options(target, options): opt = ' --warnings-are-errors' - if not ((target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04') or + if not ((target.platform == 'linux' and target.distro == 'ubuntu' and target.version in ('16.04', '18.04')) or (target.platform == 'osx') or (target.platform == 'windows')): - # Currently we only build tests on Ubuntu 18.04, macOS and Windows + # Currently we only build tests on Ubuntu {16,18}.04, macOS and Windows opt += ' --disable-tests' if target.debug: @@ -407,13 +407,6 @@ def configure_options(target, options): opt += ' --static-boost --static-xmlpp' elif target.version == '7': opt += ' --workaround-gssapi' - # Centos 7 ships with glibmm 2.50.0 which requires C++11 - # but its compiler (gcc 4.8.5) defaults to C++97. Go figure. - # I worry that this will cause ABI problems but I don't have - # a better solution. - opt += ' --force-cpp11' - elif target.platform == 'osx': - opt += ' --force-cpp11' if not options['gui']: opt += ' --disable-gui'