diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-06 11:06:37 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-06 11:06:37 +0000 |
| commit | c55877926307d7018942beb5fd65a39f278e05de (patch) | |
| tree | 32b35ad6fd0330d74323bb9f86d517d5958ae880 /wscript | |
| parent | de752b7e2917563469414871f7fd1a064db01822 (diff) | |
| parent | 5d3c57b08d3064df908d8a497d9616ffb6eb44cd (diff) | |
Merge.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -26,7 +26,7 @@ import distutils.spawn from waflib import Logs, Context APPNAME = 'dcpomatic' -VERSION = '2.6.8devel' +VERSION = '2.6.10devel' def options(opt): opt.load('compiler_cxx') @@ -299,6 +299,20 @@ def configure(conf): conf.check_cfg(package='libswscale', args='--cflags --libs', uselib_store='SWSCALE', mandatory=True) conf.check_cfg(package='libpostproc', args='--cflags --libs', uselib_store='POSTPROC', mandatory=True) + # Check to see if we have our version of FFmpeg that allows us to get at EBUR128 results + conf.check_cxx(fragment=""" + extern "C" {\n + #include <libavfilter/f_ebur128.h>\n + }\n + int main () { av_ebur128_get_true_peaks (0); }\n + """, + msg='Checking for patched FFmpeg', + libpath='/usr/local/lib', + lib=['avfilter'], + uselib_store='PATCHED_FFMPEG', + defines_name='DCPOMATIC_HAVE_PATCHED_FFMPEG', + mandatory=False) + # Boost if conf.options.static_boost: conf.env.STLIB_BOOST_THREAD = ['boost_thread'] |
