wscript: don’t install the encoding profiles with encoding disabled
This commit is contained in:
1 parent
f3549ff76a
commit
87b09a180a
1 file changed
+2
-1
+2
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user