mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-05 16:06:43 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
17 lines
473 B
Meson
17 lines
473 B
Meson
if not add_languages('cpp', native: false, 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,
|
|
)
|
|
plugins += [gstmodplug]
|
|
endif
|