2020-09-18 12:05:24 +00:00
|
|
|
ldac_sources = [
|
|
|
|
'ldac-plugin.c',
|
|
|
|
'gstldacenc.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
ldac_dep = cc.find_library('ldacBT_enc', required : get_option('ldac'))
|
2021-01-22 08:26:18 +00:00
|
|
|
ldac_hdr = cc.has_header('ldac/ldacBT.h', required: get_option('ldac'))
|
2020-09-18 12:05:24 +00:00
|
|
|
|
2021-01-22 08:26:18 +00:00
|
|
|
if ldac_dep.found() and ldac_hdr
|
2020-09-18 12:05:24 +00:00
|
|
|
gstldac = library('gstldac',
|
|
|
|
ldac_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstaudio_dep, ldac_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
|
|
|
pkgconfig.generate(gstldac, install_dir : plugins_pkgconfig_install_dir)
|
|
|
|
plugins += [gstldac]
|
|
|
|
endif
|