summaryrefslogtreecommitdiff
path: root/ext/faac/meson.build
blob: e23edaf8d1b19bf91f188180693915f5d6afdff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
faac_dep = cc.find_library('faac', required : false)

if faac_dep.found() and cc.has_header_symbol('faac.h', 'faacEncOpen')
  gstfaac = library('gstfaac',
    'gstfaac.c',
    c_args : gst_plugins_bad_args,
    include_directories : [configinc],
    dependencies : [gstaudio_dep, gstpbutils_dep, gsttag_dep, faac_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
  pkgconfig.generate(gstfaac, install_dir : plugins_pkgconfig_install_dir)
endif