gstreamer/ext/modplug/meson.build
2018-12-17 09:12:53 +00:00

17 lines
509 B
Meson

if not add_languages('cpp', required: get_option('modplug'))
subdir_done()
endif
modplug_dep = dependency('libmodplug', required: get_option('modplug'))
if modplug_dep.found()
gstmodplug = library('gstmodplug',
'gstmodplug.cc',
cpp_args: gst_plugins_bad_args,
include_directories: [configinc],
dependencies: [gstaudio_dep, modplug_dep, libm],
install: true,
install_dir: plugins_install_dir,
)
pkgconfig.generate(gstmodplug, install_dir: plugins_pkgconfig_install_dir)
endif