summaryrefslogtreecommitdiff
path: root/ext/svthevcenc/meson.build
blob: 9efe54b00542e6ed187e6adfaa238529939b32ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
svthevcenc_sources = [
  'gstsvthevcenc.c',
]

svthevcenc_dep = dependency('SvtHevcEnc', version : '>= 1.4.1', required: get_option('svthevcenc'))

if svthevcenc_dep.found()
  gstsvthevcenc = library('gstsvthevcenc',
    svthevcenc_sources,
    c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
    include_directories : [configinc],
    dependencies : [gstbase_dep, gstpbutils_dep, gstvideo_dep, gstcodecparsers_dep, svthevcenc_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
  pkgconfig.generate(gstsvthevcenc, install_dir : plugins_pkgconfig_install_dir)
  plugins += [gstsvthevcenc]
endif