mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
24 lines
688 B
Meson
24 lines
688 B
Meson
wavpack_sources = [
|
|
'gstwavpackelement.c',
|
|
'gstwavpack.c',
|
|
'gstwavpackcommon.c',
|
|
'gstwavpackdec.c',
|
|
'gstwavpackenc.c',
|
|
'gstwavpackstreamreader.c',
|
|
]
|
|
|
|
wavpack_dep = dependency('wavpack', version : '>= 4.60.0', required : get_option('wavpack'))
|
|
|
|
if wavpack_dep.found()
|
|
gstwavpack = library('gstwavpack',
|
|
wavpack_sources,
|
|
c_args : gst_plugins_good_args,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gstbase_dep, gstaudio_dep, wavpack_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstwavpack, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstwavpack]
|
|
endif
|