summaryrefslogtreecommitdiff
path: root/ext/rtmp/meson.build
blob: 1c2622829e6f1a04c50b36cf8d96549491acf7c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
rtmp_sources = [
  'gstrtmp.c',
  'gstrtmpsink.c',
  'gstrtmpsrc.c',
]

rtmp_dep = dependency('librtmp', required : get_option('rtmp'))

if rtmp_dep.found()
  gstrtmp = library('gstrtmp',
    rtmp_sources,
    c_args : gst_plugins_bad_args,
    include_directories : [configinc],
    dependencies : [gstbase_dep, rtmp_dep] + winsock2,
    install : true,
    install_dir : plugins_install_dir,
  )
  pkgconfig.generate(gstrtmp, install_dir : plugins_pkgconfig_install_dir)
  plugins += [gstrtmp]
endif