From 0b9ed9c2744ada1eefc1f254c5f3ade6c626ed72 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 18 Mar 2020 22:45:59 +0100 Subject: build: make libass non-optional Using mpv without libass isn't really supported, since it's not only used to display ASS subtitles, but all text subtitles, and even OSD. At least 1 user complained that the player printed a warning if built without libass. Avoid trying to create the impression that using this software without libass is in any way supported or desirable, and make it fully mandatory. (As far as making dependencies optional goes, I'd rather make ffmpeg optional, which is an oversized and bloated library, rather than something tiny like libass.) --- wscript | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 1dda323f67..55f97d29b1 100644 --- a/wscript +++ b/wscript @@ -336,24 +336,13 @@ iconv support use --disable-iconv.", 'desc' : 'Javascript (MuJS backend)', 'func': check_pkg_config('mujs', '>= 1.0.0'), }, { - 'name': '--libass', + 'name': 'libass', 'desc': 'SSA/ASS support', 'func': check_pkg_config('libass', '>= 0.12.1'), 'req': True, 'fmsg': "Unable to find development files for libass, or the version " + - "found is too old. Aborting. If you really mean to compile " + - "without libass support use --disable-libass." + "found is too old. Aborting." }, { - 'name': '--libass-osd', - 'desc': 'libass OSD support', - 'deps': 'libass', - 'func': check_true, - }, { - 'name': 'dummy-osd', - 'desc': 'dummy OSD support', - 'deps': '!libass-osd', - 'func': check_true, - } , { 'name': '--zlib', 'desc': 'zlib', 'func': check_libs(['z'], -- cgit v1.2.3