2016-08-12 15:51:45 +00:00
|
|
|
rsvg_sources = [
|
|
|
|
'gstrsvg.c',
|
|
|
|
'gstrsvgdec.c',
|
|
|
|
'gstrsvgoverlay.c',
|
|
|
|
]
|
|
|
|
|
2018-07-27 13:29:23 +00:00
|
|
|
rsvg_dep = dependency('librsvg-2.0', version : '>= 2.36.2', required : get_option('rsvg'))
|
2016-08-12 15:51:45 +00:00
|
|
|
if 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, rsvg_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstrsvg, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstrsvg]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|