def dependencies(target):
return (('ffmpeg-cdist', '67dc770'),
- ('libdcp', 'v0.95.0'))
+ ('libdcp', '563c7fd'))
def build(target, options):
cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
elif target.platform == 'linux':
if target.distro == 'debian' or target.distro == 'ubuntu':
cmd += ' --target-debian'
+ if target.version == 'unstable':
+ cmd += ' --debian-unstable'
elif target.distro == 'centos':
- cmd += ' --target-centos'
+ if target.version == '6.5':
+ cmd += ' --target-centos-6'
+ elif target.version == '7':
+ cmd += ' --target-centos-7'
target.command(cmd)
target.command('./waf')
target.set('CDIST_LINKFLAGS', target.get('LINKFLAGS'))
target.set('CDIST_CXXFLAGS', target.get('CXXFLAGS'))
target.set('CDIST_PKG_CONFIG_PATH', target.get('PKG_CONFIG_PATH'))
+ if target.version == 'unstable':
+ target.set('CDIST_EXTRA_CONFIGURE', '--debian-unstable')
target.command('dpkg-buildpackage')
debs = []