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

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

31 lines
702 B
Meson
Raw Normal View History

chromaprint_dep = dependency('libchromaprint', required : get_option('chromaprint'))
chromaprint_sources = [
'gstchromaprint.c',
]
chromaprint_headers = [
'gstchromaprint.h',
]
doc_sources = []
foreach s: chromaprint_sources + chromaprint_headers
doc_sources += meson.current_source_dir() / s
endforeach
plugin_sources += {
'chromaprint': pathsep.join(doc_sources)
}
if chromaprint_dep.found()
gstchromaprint = library('gstchromaprint',
chromaprint_sources,
c_args : gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstaudio_dep, chromaprint_dep],
install : true,
install_dir : plugins_install_dir,
)
2018-10-22 09:30:45 +00:00
plugins += [gstchromaprint]
endif