X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=5f5942d117d43f2c92959f538a8fc1d1dbb42931;hb=167ba8a342c1b51c4b04c90f00a5dc95b41e385e;hp=59d9b0aa28d836fe13aee0f5bf90dfeea93aceaa;hpb=48cd1336041248936cbf56d6964c75e5388214dd;p=dcpomatic.git diff --git a/wscript b/wscript index 59d9b0aa2..5f5942d11 100644 --- a/wscript +++ b/wscript @@ -26,7 +26,7 @@ import distutils.spawn from waflib import Logs, Context APPNAME = 'dcpomatic' -VERSION = '2.6.7' +VERSION = '2.6.14devel' 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 \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']