From b55dfb5313f1df702a3637efbd372b90cd12a300 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 27 Jul 2018 18:59:23 +0530 Subject: Add feature options for almost all plugins The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107 --- ext/faad/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/faad') diff --git a/ext/faad/meson.build b/ext/faad/meson.build index 9bd8e2dd3..533c11c15 100644 --- a/ext/faad/meson.build +++ b/ext/faad/meson.build @@ -2,11 +2,11 @@ faad_args = [ ] have_faad = cc.has_header_symbol('neaacdec.h', 'NeAACDecOpen') have_faad_2_7 = have_faad and cc.has_header_symbol('neaacdec.h', 'LATM') -if have_faad and not have_faad_2_7 +if have_faad and not have_faad_2_7 and get_option('faad').enabled() message('Found faad2, but too old (< v2.7.0)') endif -faad_dep = cc.find_library('faad', required : false) +faad_dep = cc.find_library('faad', required : get_option('faad')) if faad_dep.found() and have_faad_2_7 gstfaad = library('gstfaad', -- cgit v1.2.1