mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
1233b8a027
There's a mismatch between the pkg-config file ('lc3') and the subproject/wrap which meant an installed liblc3 wasn't picked up. Fixes #2883 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5151>
20 lines
471 B
Meson
20 lines
471 B
Meson
lc3_sources = [
|
|
'lc3-plugin.c',
|
|
'gstlc3dec.c',
|
|
'gstlc3enc.c',
|
|
]
|
|
|
|
lc3_dep = dependency('lc3', required:get_option ('lc3'))
|
|
|
|
if lc3_dep.found()
|
|
gstlc3 = library('gstlc3',
|
|
lc3_sources,
|
|
c_args: gst_plugins_bad_args,
|
|
include_directories: [configinc],
|
|
dependencies: [gstaudio_dep, lc3_dep],
|
|
install: true,
|
|
install_dir: plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstlc3, install_dir: plugins_pkgconfig_install_dir)
|
|
plugins += [gstlc3]
|
|
endif
|