X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=cscript;h=f162c80a52129f5ba3a93feeed3abe555876cac6;hp=965d42180e2717e2bf0ec0c3997488bc66a91d4d;hb=4cc334f6f96876944933a4308842ab0a9b6a0fa7;hpb=1fdc2991cbe0c7a03567e69b36632dca6ab8b8ef diff --git a/cscript b/cscript index 965d42180..f162c80a5 100644 --- a/cscript +++ b/cscript @@ -208,15 +208,15 @@ def can_build_disk(target): if target.platform == 'osx': return True if target.platform == 'linux': - if target.distro == 'ubuntu' and target.version in ['18.04', '20.04', '20.10', '21.04']: + if target.distro == 'ubuntu' and target.version != '16.04': return True - if target.distro == 'debian' and target.version == '10': + if target.distro == 'debian' and target.version != '9': return True if target.detail == 'appimage': return True if target.distro == 'fedora' and int(target.version) >= 31: return True - if target.distro == 'centos' and target.version == '8': + if target.distro == 'centos' and target.version != '7': return True if target.distro == 'mageia': return True @@ -388,8 +388,8 @@ def dependencies(target, options): # Use distro-provided FFmpeg on Arch deps = [] - deps.append(('libdcp', '6384002')) - deps.append(('libsub', '55ebde1')) + deps.append(('libdcp', 'cc4445c')) + deps.append(('libsub', 'e3b6fe8')) deps.append(('leqm-nrt', '93ae9e6')) deps.append(('rtaudio', 'f619b76')) # We get our OpenSSL libraries from the environment, but we @@ -398,7 +398,7 @@ def dependencies(target, options): # the appropriate place later deps.append(('openssl', '7f29dd5')) if can_build_disk(target): - deps.append(('lwext4', '9d20ec5')) + deps.append(('lwext4', 'cce3730')) deps.append(('ffcmp', '6259cd4')) return deps @@ -586,7 +586,7 @@ def package_debian(target, cpu, version, options): with open('debian/postinst', 'w') as f: print('#!/bin/sh', file=f) # Get the required capability to write to disks - print('setcap cap_dac_override+ep /usr/bin/dcpomatic2_disk_writer', file=f) + print('setcap "cap_dac_override+ep cap_sys_admin+ep" /usr/bin/dcpomatic2_disk_writer', file=f) target.command('./waf dist') f = open('debian/files', 'w') print('dcpomatic_%s-1_%s.deb video extra' % (version, cpu), file=f)