summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-09 23:33:45 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-09 23:33:45 +0000
commite3e01d8c9772b34bf35191197d77e31bee5c9882 (patch)
tree319d4413eca1b70cb7ca48848cb1691b82825828 /cscript
parent02c400669a490617969a8f3924dd0bce0840a7b8 (diff)
Try to fix centos 32-bit build; bump libdcp for better OOM-handling in openjpeg.
Diffstat (limited to 'cscript')
-rw-r--r--cscript8
1 files changed, 6 insertions, 2 deletions
diff --git a/cscript b/cscript
index 569b8a3da..e6738250c 100644
--- a/cscript
+++ b/cscript
@@ -130,7 +130,7 @@ def make_control(debian_version, bits, filename, debug):
def dependencies(target):
return (('ffmpeg-cdist', '5ac3a6af077c10f07c31954c372a8f29e4e18e2a'),
- ('libdcp', 'a7dac85'))
+ ('libdcp', 'a6bc997'))
def build(target, options):
cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
@@ -201,7 +201,11 @@ def package_centos(target, cpu, version):
target.command('rpmbuild -bb build/platform/linux/dcpomatic.spec')
rpms = []
- for p in glob.glob('%s/rpmbuild/RPMS/x86_64/*.rpm' % target.work_dir_cdist()):
+
+ if cpu == "amd64":
+ cpu = "x86_64"
+
+ for p in glob.glob('%s/rpmbuild/RPMS/%s/*.rpm' % (target.work_dir_cdist(), cpu)):
rpms.append(os.path.abspath(p))
return rpms