summaryrefslogtreecommitdiff
path: root/ext/webp/meson.build
blob: fab742c3fc6b0632eaf785f33ce35d0b98be5068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
webp_sources = [
  'gstwebp.c',
  'gstwebpdec.c',
  'gstwebpenc.c',
]

webp_dep = dependency('libwebp', version : '>= 0.2.1', required : false)

if webp_dep.found()
  gstwebp = library('gstwebp',
    webp_sources,
    c_args : gst_plugins_bad_args,
    include_directories : [configinc],
    dependencies : [gstvideo_dep, webp_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
  pkgconfig.generate(gstwebp, install_dir : plugins_pkgconfig_install_dir)
endif