# Use distro-provided FFmpeg on Arch
deps = []
- deps.append(('libdcp', 'b221efe'))
- deps.append(('libsub', '14d422b'))
+ deps.append(('libdcp', '8344c1c'))
+ deps.append(('libsub', '8990c30'))
deps.append(('leqm-nrt', '131f971'))
deps.append(('rtaudio', 'f619b76'))
# We get our OpenSSL libraries from the environment, but we
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'
target.command('cp -r %s/share/libdcp/xsd build/%s.AppDir/usr/share/libdcp/' % (target.directory, nice_filename))
with open('build/%s.AppDir/AppRun' % nice_filename, 'w') as f:
print('#!/bin/bash', file=f)
- print('export APPDIR="$(dirname "$(readlink -f "$0")")"', file=f)
print('export PATH=$APPDIR/usr/bin:$PATH', file=f)
print('export XDG_DATA_DIRS="$APPDIR/usr/share/:/usr/share/:$XDG_DATA_DIRS"', file=f)
print('"$APPDIR"/usr/bin/%s $@' % internal_name, file=f)