X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=183f57bedce2386af22137e274308346bd61f499;hb=d4c08424fb84da0bec20e9d008d2a70998130ba0;hp=543a843a5dba03d0cb8482f26a3868619dca323b;hpb=a0b90c6e9e92fb196703cca015427f0bf1f92ba0;p=dcpomatic.git diff --git a/wscript b/wscript index 543a843a5..183f57bed 100644 --- a/wscript +++ b/wscript @@ -3,7 +3,7 @@ import os import sys APPNAME = 'dcpomatic' -VERSION = '1.73.5' +VERSION = '1.75.1' def options(opt): opt.load('compiler_cxx') @@ -28,8 +28,9 @@ def static_ffmpeg(conf): conf.check_cfg(package='libavfilter', args='--cflags', uselib_store='AVFILTER', mandatory=True) conf.env.STLIB_AVFILTER = ['avfilter', 'swresample'] conf.check_cfg(package='libavcodec', args='--cflags', uselib_store='AVCODEC', mandatory=True) + # lzma link is needed by Centos 7, at least conf.env.STLIB_AVCODEC = ['avcodec'] - conf.env.LIB_AVCODEC = ['z'] + conf.env.LIB_AVCODEC = ['z', 'lzma'] conf.check_cfg(package='libavutil', args='--cflags', uselib_store='AVUTIL', mandatory=True) conf.env.STLIB_AVUTIL = ['avutil'] conf.check_cfg(package='libswscale', args='--cflags', uselib_store='SWSCALE', mandatory=True) @@ -58,7 +59,7 @@ def dynamic_openjpeg(conf): conf.check_cfg(package='libopenjpeg', args='--cflags --libs', max_version='1.5.2', mandatory=True) def static_dcp(conf, static_boost, static_xmlpp, static_xmlsec, static_ssh): - conf.check_cfg(package='libdcp', atleast_version='0.96', args='--cflags', uselib_store='DCP', mandatory=True) + conf.check_cfg(package='libdcp', atleast_version='0.98', args='--cflags', uselib_store='DCP', mandatory=True) conf.env.DEFINES_DCP = [f.replace('\\', '') for f in conf.env.DEFINES_DCP] conf.env.STLIB_DCP = ['dcp', 'asdcp-libdcp', 'kumu-libdcp'] conf.env.LIB_DCP = ['glibmm-2.4', 'ssl', 'crypto', 'bz2', 'xslt'] @@ -182,7 +183,7 @@ def configure(conf): # Common CXXFLAGS conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-D__STDC_LIMIT_MACROS', '-msse', '-ffast-math', '-fno-strict-aliasing', - '-Wall', '-Wno-attributes', '-Wextra', '-D_FILE_OFFSET_BITS=64']) + '-Wall', '-Wno-attributes', '-Wextra', '-Wno-unused-result', '-D_FILE_OFFSET_BITS=64']) if conf.options.enable_debug: conf.env.append_value('CXXFLAGS', ['-g', '-DDCPOMATIC_DEBUG'])