mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
16 lines
445 B
Meson
16 lines
445 B
Meson
|
mad_dep = dependency('mad', version : '>= 0.15', required : false)
|
||
|
if not mad_dep.found() and cc.has_header_symbol('mad.h', 'mad_decoder_finish')
|
||
|
mad_dep = cc.find_library('mad', required : false)
|
||
|
endif
|
||
|
|
||
|
if mad_dep.found()
|
||
|
mad = library('gstmad',
|
||
|
['gstmad.c'],
|
||
|
c_args : ugly_args,
|
||
|
include_directories : [configinc],
|
||
|
dependencies : [gstaudio_dep, mad_dep],
|
||
|
install : true,
|
||
|
install_dir : plugins_install_dir,
|
||
|
)
|
||
|
endif
|