return True
if target.distro == 'centos' and target.version == '8':
return True
+ if target.distro == 'mageia':
+ return True
return False
def packages(name, packages, f):
requires = None
if target.distro == 'mageia':
- requires = "lib64xmlsec1-devel"
+ requires = "lib64xmlsec1-devel lib64canberra-gtk0"
make_spec('build/platform/linux/dcpomatic2.spec', version, target, options, requires)
cmd = 'rpmbuild --define "_topdir %s" -bb build/platform/linux/dcpomatic2.spec' % topdir
elif target.distro == 'centos' or target.distro == 'fedora' or target.distro == 'mageia':
return package_rpm(target, cpu, version, options)
elif target.platform == 'osx':
- target.command('bash platform/osx/make_dmg.sh %s %s %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password))
+ archs = ' '.join(f'{t.arch}/{t.deployment}' for t in target.sub_targets)
+ target.command('bash platform/osx/make_dmg.sh %s %s %s %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password, archs))
packages = []
for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg'):
a = os.path.abspath(x)