print('', file=f)
print('%post', file=f)
print('/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :', file=f)
+ print('setcap "cap_dac_override+ep cap_sys_admin+ep" /usr/bin/dcpomatic2_disk_writer', file=f)
print('', file=f)
print('%postun', file=f)
print('if [ $1 -eq 0 ] ; then', file=f)
# Use distro-provided FFmpeg on Arch
deps = []
- deps.append(('libdcp', 'v1.8.1'))
- deps.append(('libsub', 'v1.6.1'))
+ deps.append(('libdcp', 'v1.8.5'))
+ deps.append(('libsub', 'v1.6.5'))
deps.append(('leqm-nrt', '93ae9e6'))
deps.append(('rtaudio', 'f619b76'))
# We get our OpenSSL libraries from the environment, but we
if target.debug:
opt += ' --enable-debug'
if target.platform == 'windows':
- opt += ' --target-windows'
+ opt += ' --target-windows --fastvideo-sdk /opt/fastvideo'
elif target.platform == 'linux':
opt += ' --static-dcpomatic --static-wxwidgets --static-ffmpeg --static-dcp --static-sub --static-cxml'
if target.distro == 'centos':
os.path.abspath('build/src/tools/dcpomatic.pot')]
def make_manual(target):
+ target.command('make -C doc/manual LIBDCP=../../../libdcp')
os.chdir('doc/manual')
- target.command('make')
target.command('pdflatex colour.tex')
return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]