summaryrefslogtreecommitdiff
path: root/ext/libpng/meson.build
blob: 7e01e9f63c412f24c54bd572bd64a09d2514d028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
png_sources = [
  'gstpng.c',
  'gstpngenc.c',
  'gstpngdec.c',
]

libpng_dep = dependency('libpng', version : '>=1.2', required : false)

if libpng_dep.found()
  gstpng = library('gstpng',
    png_sources,
    c_args : gst_plugins_good_args,
    link_args : noseh_link_args,
    include_directories : [configinc, libsinc],
    dependencies : [gstbase_dep, gstvideo_dep, libpng_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
endif