'libx264-155',
'libcurl4'])
-def build_disk(target):
+def can_build_disk(target):
# We can build dcpomatic2_disk on platforms that have Boost process and can build the lwext4
# library. For now, just whitelist good ones here.
#
# This dependency is to get that binary, which is added into
# the appropriate place later
deps.append(('openssl', 'carl'))
- if build_dist(target):
+ if can_build_disk(target):
deps.append(('lwext4', 'carl2'))
return deps
def option_defaults():
- return { "gui": True, "variant": None }
+ return { "gui": True, "variant": None, "disk": False }
def configure_options(target, options):
opt = ''
if target.debug and target.platform == 'windows':
opt += ' --static-dcpomatic'
- if build_disk(target):
+ if can_build_disk(target) and options['disk']:
opt += ' --enable-disk'
return opt