gstreamer/subprojects/gst-plugins-bad/ext/faac/meson.build

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
570 B
Meson
Raw Normal View History

faac_dep = cc.find_library('faac', required : get_option('faac'))
have_faac_h = cc.has_header_symbol('faac.h', 'faacEncOpen')
if not have_faac_h and get_option('faac').enabled()
error('faac plugin enabled: found libfaac, but not faac.h')
endif
if faac_dep.found() and have_faac_h
gstfaac = library('gstfaac',
'gstfaac.c',
c_args : gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstaudio_dep, gstpbutils_dep, gsttag_dep, faac_dep],
install : true,
install_dir : plugins_install_dir,
)
2018-10-22 09:30:45 +00:00
plugins += [gstfaac]
endif