gstreamer/ext/ldac/meson.build
Arun Raghavan a417a761fd ldac: Use pkg-config instead of raw lib/header search
The ldacBT library includes pkg-config files for the standard and ABR
libraries, so let's just use that instead of doing a header/library
search.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1990>
2021-01-27 17:16:57 -05:00

19 lines
480 B
Meson

ldac_sources = [
'ldac-plugin.c',
'gstldacenc.c',
]
ldac_dep = dependency('ldacBT-enc', required : get_option('ldac'))
if ldac_dep.found()
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