mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
a417a761fd
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>
19 lines
480 B
Meson
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
|