mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
7853700b50
Makes sure their path gets added to the uninstalled environment and makes sure they get included in the docs.
17 lines
721 B
Meson
17 lines
721 B
Meson
mpcdec_dep = cc.find_library('mpcdec', required: get_option('musepack'))
|
|
|
|
if mpcdec_dep.found() and cc.has_header_symbol('mpc/mpcdec.h', 'mpc_demux_init', dependencies: mpcdec_dep)
|
|
gstmusepack = library('gstmusepack',
|
|
'gstmusepackdec.c', 'gstmusepackreader.c',
|
|
c_args : gst_plugins_bad_args,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstaudio_dep, mpcdec_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstmusepack, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstmusepack]
|
|
elif get_option('musepack').enabled()
|
|
error('Could not find libmpcdec header files, but Musepack was enabled via options')
|
|
endif
|