print('%{_datadir}/dcpomatic2/zoom_all.png', file=f)
print('%{_datadir}/dcpomatic2/tick.png', file=f)
print('%{_datadir}/dcpomatic2/no_tick.png', file=f)
+ print('%{_datadir}/dcpomatic2/link.png', file=f)
print('%{_datadir}/dcpomatic2/me.jpg', file=f)
print('%{_datadir}/dcpomatic2/LiberationSans-Regular.ttf', file=f)
print('%{_datadir}/dcpomatic2/LiberationSans-Italic.ttf', file=f)
if target.platform == 'windows' and target.version == 'xp':
deps = [('ffmpeg-cdist', '5783efa', ffmpeg_options)]
elif target.platform != 'linux' or target.distro != 'arch':
- deps = [('ffmpeg-cdist', '20d3ddf', ffmpeg_options)]
+ deps = [('ffmpeg-cdist', 'd798b45', ffmpeg_options)]
else:
# Use distro-provided FFmpeg on Arch
deps = []
(target.platform == 'osx' and target.bits == 64) or
(target.platform == 'windows')) else {}
- deps.append(('libdcp', None, cpp_lib_options))
- deps.append(('libsub', None, cpp_lib_options))
+ deps.append(('libdcp', 'a8d652b', cpp_lib_options))
+ deps.append(('libsub', 'bb87e0e', cpp_lib_options))
deps.append(('leqm-nrt', 'carl'))
deps.append(('rtaudio', 'carl'))
# We get our OpenSSL libraries from the environment, but we
# the appropriate place later
deps.append(('openssl', 'carl'))
if can_build_disk(target):
- deps.append(('lwext4', 'carl2'))
+ deps.append(('lwext4', '370b3de6'))
return deps
-option_defaults = { "gui": True, "variant": None }
+option_defaults = { "gui": True, "variant": None, "xml": False }
def configure_options(target, options):
opt = ''
else:
target.command('./waf configure --prefix=%s %s' % (target.directory, configure_options(target, options)))
target.command('./waf')
-
- if target.platform == 'linux' or target.platform == 'osx':
- target.command('./waf install')
+ target.command('./waf install')
def package_windows(target):
identifier = ''
target.command('pdflatex colour.tex')
return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
-def test(target, test):
+def test(target, options, test):
if target.platform != 'windows':
target.set('LC_ALL', 'C')
- cmd = 'run/tests '
+ cmd = 'run/tests'
+ if options['xml']:
+ cmd += '--xml '
if target.debug:
cmd += '--backtrace '
if test is not None: