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

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

35 lines
854 B
Meson
Raw Normal View History

rsvg_sources = [
'gstrsvg.c',
'gstrsvgdec.c',
'gstrsvgoverlay.c',
]
rsvg_headers = [
'gstrsvgdec.h',
'gstrsvgoverlay.h',
]
doc_sources = []
foreach s: rsvg_sources + rsvg_headers
doc_sources += meson.current_source_dir() / s
endforeach
plugin_sources += {
'rsvg': pathsep.join(doc_sources)
}
cairo_dep = dependency('cairo', version: '>= 1.16.0', allow_fallback: true, required : get_option('rsvg'))
rsvg_dep = dependency('librsvg-2.0', version : '>= 2.36.2', required : get_option('rsvg'))
if cairo_dep.found() and rsvg_dep.found()
gstrsvg = library('gstrsvg',
rsvg_sources,
c_args : gst_plugins_bad_args,
link_args : noseh_link_args,
include_directories : [configinc],
dependencies : [gstvideo_dep, cairo_dep, rsvg_dep],
install : true,
install_dir : plugins_install_dir,
)
2018-10-22 09:30:45 +00:00
plugins += [gstrsvg]
endif