mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
b55dfb5313
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
17 lines
622 B
Meson
17 lines
622 B
Meson
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,
|
|
)
|
|
pkgconfig.generate(gstfaac, install_dir : plugins_pkgconfig_install_dir)
|
|
endif
|