summaryrefslogtreecommitdiff
path: root/ext/openaptx/meson.build
blob: 68be112c50470346a77cc9c5f9cca522bdd5fc8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
openaptx_sources = [
  'openaptx-plugin.c',
  'gstopenaptxdec.c',
  'gstopenaptxenc.c',
]

openaptx_dep = dependency('libopenaptx', version : '>= 0.2', required : get_option('libopenaptx'))

if openaptx_dep.found()
  gstopenaptx = library('gstopenaptx',
    openaptx_sources,
    c_args : gst_plugins_bad_args,
    include_directories : [configinc],
    dependencies : [gstaudio_dep, openaptx_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
  pkgconfig.generate(gstopenaptx, install_dir : plugins_pkgconfig_install_dir)
  plugins += [gstopenaptx]
endif