summaryrefslogtreecommitdiff
path: root/subprojects/gst-plugins-bad/ext/rsvg/meson.build
blob: da7030e2a13e6fef194285f93310a924e71e26d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
rsvg_sources = [
  'gstrsvg.c',
  'gstrsvgdec.c',
  'gstrsvgoverlay.c',
]

rsvg_dep = dependency('librsvg-2.0', version : '>= 2.36.2', required : get_option('rsvg'))
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,
  )
  plugins += [gstrsvg]
endif