summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-28 16:32:49 +0100
committerwm4 <wm4@nowhere>2013-12-28 16:33:21 +0100
commitfd4e3af740fc00804e3f1b932462b44f795b1095 (patch)
treec3dfbb67dc09e76a3126c693033194d3fd71834e /wscript_build.py
parenta473739fbfcba5fded59eaa35342127728774490 (diff)
downloadmpv-fd4e3af740fc00804e3f1b932462b44f795b1095.tar.bz2
mpv-fd4e3af740fc00804e3f1b932462b44f795b1095.tar.xz
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).
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py2
1 files changed, 2 insertions, 0 deletions
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',