def dependencies(target):
return (('ffmpeg-cdist', '67dc770'),
- ('libdcp', 'v0.95.0'))
+ ('libdcp', '7103135'))
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.distro == 'debian' and target.version == 'unstable':
- cmd += ' --debian-unstable'
-
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 = []