From fd4e3af740fc00804e3f1b932462b44f795b1095 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 28 Dec 2013 16:32:49 +0100 Subject: Install encoding-profiles.conf by default This is probably useful. Note that this includes a small, stupid hack to prevent loading of the config file if vf_lavfi is not available. The profile by default uses vf_lavfi, and the config parser will output errors if vf_lavfi is not available. As another caveat, we install the example profile even if encoding is disabled (though we don't load it, since this would print errors). --- wscript_build.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index f34f304f3a..cf3ccbfe45 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -473,6 +473,8 @@ def build(ctx): ctx.env.DATADIR + '/applications', ['etc/mpv.desktop'] ) + ctx.install_files(ctx.env.CONFDIR, ['etc/encoding-profiles.conf'] ) + for size in '16x16 32x32 64x64'.split(): ctx.install_as( ctx.env.DATADIR + '/icons/hicolor/' + size + '/apps/mpv.png', -- cgit v1.2.3