X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=18b9b71ae9c1ee44738f57e6eda1559b56b2c635;hb=14a9755762cf1d1e33877dec4a02b627dfa400cb;hp=3ad6e3f6c8f2eeda60d84122bd93f4e8cb79f277;hpb=ba152e6c12018f6ff21d760b065b552f09246752;p=dcpomatic.git diff --git a/cscript b/cscript index 3ad6e3f6c..18b9b71ae 100644 --- a/cscript +++ b/cscript @@ -365,28 +365,23 @@ def dependencies(target, options): ffmpeg_options = {} if target.platform != 'linux' or target.distro != 'arch': - deps = [('ffmpeg-cdist', 'd798b45', ffmpeg_options)] + deps = [('ffmpeg-cdist', 'e89aa4a', ffmpeg_options)] else: # Use distro-provided FFmpeg on Arch deps = [] - # Let's use C++11 mode if we can - cpp_lib_options = {'force-cpp11': True} if ( - (target.platform == 'osx') or - (target.platform == 'windows')) else {} - - deps.append(('libdcp', 'c6665c1', cpp_lib_options)) - deps.append(('libsub', '64eb116', cpp_lib_options)) - deps.append(('leqm-nrt', 'carl')) - deps.append(('rtaudio', 'carl')) + deps.append(('libdcp', '9b6997a')) + deps.append(('libsub', '3d2a513')) + deps.append(('leqm-nrt', '131f971')) + deps.append(('rtaudio', 'f619b76')) # We get our OpenSSL libraries from the environment, but we # also need a patched openssl binary to make certificates. # This dependency is to get that binary, which is added into # the appropriate place later - deps.append(('openssl', 'carl')) + deps.append(('openssl', '7f29dd5')) if can_build_disk(target): - deps.append(('lwext4', '370b3de6')) - deps.append(('ffcmp', None)) + deps.append(('lwext4', '3601ea5')) + deps.append(('ffcmp', 'a915540')) return deps @@ -412,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' @@ -431,7 +419,10 @@ def configure_options(target, options): opt += ' --static-dcpomatic' if can_build_disk(target): - opt += ' --enable-disk' + opt += ' --enable-disk' + + if target.platform == 'osx' and target.arch == 'arm64': + opt += ' --target-macos-arm64 --wx-config=%s/wx-config' % target.bin return opt @@ -685,11 +676,8 @@ def package(target, version, options): return package_debian(target, cpu, version, options) elif target.distro == 'centos' or target.distro == 'fedora' or target.distro == 'mageia': return package_rpm(target, cpu, version, options) - elif target.platform == 'osx' and target.bits is None: - target.command('bash platform/osx/make_dmg.sh %s %s universal no %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password)) - return [os.path.abspath(x) for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg')] - elif target.platform == 'osx' and target.bits == 64: - target.command('bash platform/osx/make_dmg.sh %s %s thin %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password)) + elif target.platform == 'osx': + target.command('bash platform/osx/make_dmg.sh %s %s %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password)) packages = [] for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg'): a = os.path.abspath(x)