gstreamer/subprojects/gst-plugins-bad/ext/lc3/meson.build
Tim-Philipp Müller 1233b8a027 lc3: fix pkg-config file lookup
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>
2023-08-08 22:12:29 +00:00

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