From 87b09a180a3ba0136286559be60629ccc7612cac Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 20 Feb 2016 21:39:04 +0000 Subject: =?UTF-8?q?wscript:=20don=E2=80=99t=20install=20the=20encoding=20p?= =?UTF-8?q?rofiles=20with=20encoding=20disabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wscript_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript_build.py b/wscript_build.py index f0771a448a..b04a449e21 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -573,7 +573,8 @@ def build(ctx): ctx.env.DATADIR + '/applications', ['etc/mpv.desktop'] ) - ctx.install_files(ctx.env.CONFDIR, ['etc/encoding-profiles.conf'] ) + if ctx.dependency_satisfied('encoding'): + ctx.install_files(ctx.env.CONFDIR, ['etc/encoding-profiles.conf'] ) for size in '16x16 32x32 64x64'.split(): ctx.install_as( -- cgit v1.2.3