Write player debug logs from tests on -- --log=debug-player
[dcpomatic.git] / wscript
diff --git a/wscript b/wscript
index e30727c8cfceba81d7e9a4b4ce99faf0562c7caf..5e53b2c0e354fb0a5588504ceca9cc24d650a45e 100644 (file)
--- a/wscript
+++ b/wscript
@@ -422,7 +422,7 @@ def configure(conf):
                             int main () { av_ebur128_get_true_peaks (0); }\n
                             """,
                    msg='Checking for EBUR128-patched FFmpeg',
-                   uselib='AVCODEC AVFILTER',
+                   uselib='AVCODEC AVFILTER AVUTIL SWRESAMPLE',
                    define_name='DCPOMATIC_HAVE_EBUR128_PATCHED_FFMPEG',
                    mandatory=False)
 
@@ -680,6 +680,9 @@ def create_version_cc(version, cxx_flags):
 def post(ctx):
     if ctx.cmd == 'install' and ctx.env.TARGET_LINUX:
         ctx.exec_command('/sbin/ldconfig')
+        exe = os.path.join(ctx.env['INSTALL_PREFIX'], 'bin/dcpomatic2_disk_writer')
+        if os.path.exists(exe):
+            os.system('setcap "cap_dac_override+ep cap_sys_admin+ep" %s' % exe)
 
 def pot(bld):
     bld.recurse('src')