mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
2a5d564de3
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1876>
20 lines
571 B
Meson
20 lines
571 B
Meson
openaptx_sources = [
|
|
'openaptx-plugin.c',
|
|
'gstopenaptxdec.c',
|
|
'gstopenaptxenc.c',
|
|
]
|
|
|
|
openaptx_dep = dependency('libopenaptx', version : '>= 0.2', required : get_option('openaptx'))
|
|
|
|
if openaptx_dep.found()
|
|
gstopenaptx = library('gstopenaptx',
|
|
openaptx_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstaudio_dep, openaptx_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstopenaptx, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstopenaptx]
|
|
endif
|